Exemplo n.º 1
0
 public FrmTransferLineAddEdit(FrmAddEditTransferOrder _frmAddEditTransferOrder)
 {
     InitializeComponent();
     _bDProductGroupWrapper       = new BDProductGroupWrapper();
     _bDProductWrapper            = new BDProductWrapper();
     this.frmAddEditTransferOrder = _frmAddEditTransferOrder;
     FillProductGroupCBX();
 }
Exemplo n.º 2
0
 public FrmTransferLineAddEdit(int inventoryID, FrmAddEditTransferOrder _frmAddEditTransferOrder)
 {
     InitializeComponent();
     _bDProductGroupWrapper = new BDProductGroupWrapper();
     _bDProductWrapper = new BDProductWrapper();
     _inventoryID = inventoryID;
     this.frmAddEditTransferOrder = _frmAddEditTransferOrder;
     FillProductGroupCBX();
 }
Exemplo n.º 3
0
 public override void btn_Edit_Click(object sender, EventArgs e)
 {
     if (dgrid_Result.SelectedRows.Count != 0)
         if (!Convert.ToBoolean(dgrid_Result.SelectedRows[0].Cells["IsClosed"].Value))
         {
             FrmAddEditTransferOrder frm = new FrmAddEditTransferOrder(this, Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["INVTransferHeaderID"].Value));
             frm.ShowDialog();
         }
         else
             MessageBox.Show("لا يمكنك تعديل هذه الفاتوره حيث انها مغلقه");
 }
Exemplo n.º 4
0
 public override void btn_Edit_Click(object sender, EventArgs e)
 {
     if (dgrid_Result.SelectedRows.Count != 0)
     {
         if (!Convert.ToBoolean(dgrid_Result.SelectedRows[0].Cells["IsClosed"].Value))
         {
             FrmAddEditTransferOrder frm = new FrmAddEditTransferOrder(this, Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["INVTransferHeaderID"].Value));
             frm.ShowDialog();
         }
         else
         {
             MessageBox.Show("لا يمكنك تعديل هذه الفاتوره حيث انها مغلقه");
         }
     }
 }
Exemplo n.º 5
0
        public override void btn_Add_Click(object sender, EventArgs e)
        {
            FrmAddEditTransferOrder frm = new FrmAddEditTransferOrder(this, 0);

            frm.ShowDialog();
        }
Exemplo n.º 6
0
 public override void btn_Add_Click(object sender, EventArgs e)
 {
     FrmAddEditTransferOrder frm = new FrmAddEditTransferOrder(this, 0);
     frm.ShowDialog();
 }