예제 #1
0
        private void barEmployerCompany_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            EmployerInfo oForm = new EmployerInfo();

            oForm.MainMenu = this;
            oForm.ConnectionString = this.ConnectionString;
            oForm.ShowDialog();
        }
예제 #2
0
        private void txtCardCode_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            EmployerInfo oForm = new EmployerInfo();
            DevExpress.XtraEditors.TextEdit txt1 = (DevExpress.XtraEditors.TextEdit)sender;

            oForm.MainMenu = this;
            oForm.ConnectionString = this.ConnectionString;
            oForm.OpenEmployerInfo(txt1.Text);

            oForm.ShowDialog();
            RefreshMainMenu();
        }
예제 #3
0
        private void barNewEmployer_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            EmployerInfo oForm = new EmployerInfo();

            oForm.MdiParent = this;
            oForm.ConnectionString = this.ConnectionString;
            oForm.Show();
        }