Beispiel #1
0
        private void btnFinanceRegisterAdd_Click(object sender, EventArgs e)
        {
            frmFinanceRegisterOperate myfrmFinanceDetailOperate = new frmFinanceRegisterOperate();

            if (myfrmFinanceDetailOperate.ShowDialog() == DialogResult.OK)
            {
                BindGridControl();
            }
        }
Beispiel #2
0
 private void btnFinanceRegisterAlter_Click(object sender, EventArgs e)
 {
     if (this.gridViewFinanceRegister.SelectedRowsCount <= 0)
     {
         XtraMessageBox.Show("请先选择要修改(&U)的项", "操作违规",
                             MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return;
     }
     tempInfo = ClassAssist.CommonOperator.GetGVSelectRowInfo(this.gridViewFinanceRegister);
     if (tempInfo != null)
     {
         frmFinanceRegisterOperate myfrmFinanceDetailOperate = new frmFinanceRegisterOperate(tempInfo);
         if (myfrmFinanceDetailOperate.ShowDialog() == DialogResult.OK)
         {
             BindGridControl();
         }
     }
 }