Пример #1
0
        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();
        }
Пример #2
0
        private void barNewBorrower_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            BorrowerInfo oForm = new BorrowerInfo();

            oForm.ConnectionString = this.ConnectionString;
            oForm.MainMenuForm = this;
            oForm.ShowDialog();
        }