c# - Task update on Windows Forms -


i trying design application creates new employee data organization. requirement when new employee record being created existing user there main form of application on need show existing user has created new user. example, if existing user , new user b message on main form should mentioned below:

a has created new user b.

i stuck in place not able understand how display message on main form.

for need keep listening database , in case new row created, display message accordingly or there other way not want application keep hitting database unnecessarily.

i new c# , stuck here , need help.

regards vineet more

if want pass data 1 form another, can either:

1) use dependency injection pass mainform createform , populate mainform createform (not idea).

2) show createform dialog form , return dialogresult when closing createform.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -