コード例 #1
0
ファイル: Attendance.cs プロジェクト: Ambitiont109/icon_proj
        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();
        }
コード例 #2
0
 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;
 }
コード例 #3
0
ファイル: LoginForm.cs プロジェクト: Ambitiont109/icon_proj
 public LoginForm(StartForm parent)
 {
     this.parent = parent;
     InitializeComponent();
     //parent.Visible = false;
 }