Exemple #1
0
        private void btneInOutItemAdd_Click(object sender, EventArgs e)
        {
            frmFinaceOperate myfrmFinaceOperate = new frmFinaceOperate();

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