示例#1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmReturnToWH frm = new frmReturnToWH();

            frm.Edit_Flage = false;
            frm.ShowDialog();
            dgvList.Rows.Clear();
            this.loadReturnToWH();
        }
示例#2
0
 private void btnView_Click(object sender, EventArgs e)
 {
     if (rowIndex >= 0)
     {
         frmReturnToWH frm = new frmReturnToWH();
         frm.Id         = this.id;
         frm.Edit_Flage = true;
         frm.ShowDialog();
         dgvList.Rows.Clear();
         this.loadReturnToWH();
         rowIndex = -1;
     }
 }