Пример #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();
        }