Пример #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmReturnToSupplier frm = new frmReturnToSupplier();

            frm.Edit_Flage = false;
            frm.ShowDialog();
            dgvList.Rows.Clear();
            this.loadReturnToSupplier();
        }
Пример #2
0
 private void btnView_Click(object sender, EventArgs e)
 {
     if (rowIndex >= 0)
     {
         frmReturnToSupplier frm = new frmReturnToSupplier();
         frm.Id         = this.id;
         frm.Edit_Flage = true;
         frm.ShowDialog();
         dgvList.Rows.Clear();
         this.loadReturnToSupplier();
         rowIndex = -1;
     }
 }