private void txtBorrowerCode_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { DevExpress.XtraEditors.TextEdit txt1 = (DevExpress.XtraEditors.TextEdit)sender; BorrowerInfo oForm = new BorrowerInfo(); oForm.MainMenuForm = this; oForm.ConnectionString = this.ConnectionString; oForm.OpenDocument(txt1.Text); oForm.ShowDialog(); }
private void barNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BorrowerInfo oForm = new BorrowerInfo(); oForm.ConnectionString = this.ConnectionString; oForm.MdiParent = this.MdiParent; oForm.Show(); }
private void barNewBorrower_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BorrowerInfo oForm = new BorrowerInfo(); oForm.ConnectionString = this.ConnectionString; oForm.MainMenuForm = this; oForm.ShowDialog(); }
private void barNewBorrower_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { BorrowerInfo oForm = new BorrowerInfo(); oForm.WindowState = FormWindowState.Maximized; oForm.ConnectionString = this.ConnectionString; oForm.MdiParent = this; oForm.Show(); }