private void txtLoanNo_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            int iFocusRowIndex = grdViewLoanInfo.FocusedRowHandle;
            DevExpress.XtraEditors.TextEdit txt = (DevExpress.XtraEditors.TextEdit)sender;

            LoanApplication oForm = new LoanApplication();

            oForm.ConnectionString = this.ConnectionString;
            oForm.ActiveUserID = this.ActiveUserID;
            oForm.Stopper = true;
            oForm.OpenDocument(txt.Text);
            oForm.MdiParent = this.MdiParent;
            oForm.Show();
        }
        private void barNewApplication_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            LoanApplication oForm = new LoanApplication();

            oForm.ConnectionString = this.ConnectionString;
            oForm.ActiveUserID = this.ActiveUserID;

            oForm.MdiParent = this.MdiParent;

            oForm.Show();
        }
Beispiel #3
0
        private void barButtonItem17_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            LoanApplication oForm = new LoanApplication();

            oForm.ActiveUserID = this.ActiveUserID;
            oForm.ConnectionString = this.ConnectionString;
            oForm.ShowDialog();
            BindLoans();
        }