public Attendance(StartForm parent) { InitializeComponent(); this.parent = parent; verificationUserControl.VerificationStatusChanged += new StatusChangedEventHandler(on_status_changed); host_text = parent.host_text; port_text = parent.port_text; db_user_text = parent.db_user_text; db_pass_text = parent.db_pass_text; db_name_text = parent.db_name_text; ValidateUser(); }
public AdminForm(string admin_name, StartForm parent) { this.parent = parent; InitializeComponent(); this.adminname = admin_name; host_text = parent.host_text; port_text = parent.port_text; db_user_text = parent.db_user_text; db_pass_text = parent.db_pass_text; db_name_text = parent.db_name_text; load_table(); Capturer = new DPFP.Capture.Capture(); Capturer.EventHandler = this; }
public LoginForm(StartForm parent) { this.parent = parent; InitializeComponent(); //parent.Visible = false; }