Exemplo n.º 1
0
        public override void btn_Edit_Click(object sender, EventArgs e)
        {
            int productGroupID = 0;

            if (dgrid_Result.SelectedRows[0].Cells["AdjustStockID"].Value != null)
            {
                productGroupID = Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["AdjustStockID"].Value);
            }
            else
            {
                MessageBox.Show("لابد من اختيار مجموعة");
            }
            FrmAdjustStockAddEdit frm = new FrmAdjustStockAddEdit(productGroupID, this);

            frm.ShowDialog();
        }
Exemplo n.º 2
0
 public override void btn_Edit_Click(object sender, EventArgs e)
 {
     int productGroupID = 0;
     if (dgrid_Result.SelectedRows[0].Cells["AdjustStockID"].Value != null)
     {
         productGroupID = Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["AdjustStockID"].Value);
     }
     else
     {
         MessageBox.Show("لابد من اختيار مجموعة");
     }
     FrmAdjustStockAddEdit frm = new FrmAdjustStockAddEdit(productGroupID, this);
     frm.ShowDialog();
 
 
 }
Exemplo n.º 3
0
 /// <summary>
 /// Events Override
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public override void btn_Add_Click(object sender, EventArgs e)
 {
     FrmAdjustStockAddEdit frm = new FrmAdjustStockAddEdit(this);
     frm.ShowDialog();
 }
Exemplo n.º 4
0
        /// <summary>
        /// Events Override
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public override void btn_Add_Click(object sender, EventArgs e)
        {
            FrmAdjustStockAddEdit frm = new FrmAdjustStockAddEdit(this);

            frm.ShowDialog();
        }