Exemplo n.º 1
0
        void 领用出库ToolStripMenuItemClick(object sender, EventArgs e)
        {
            //新增出库单
            FormOutBill tF = new FormOutBill();

            tF.Text = "出库单-新增";
            tF.ShowDialog();
        }
Exemplo n.º 2
0
        void ButtonAddClick(object sender, EventArgs e)
        {
            //新增出库单
            FormOutBill tF = new FormOutBill();

            tF.Text = "出库单-新增";
            tF.ShowDialog();
            RefreshDataGridView1();
        }
Exemplo n.º 3
0
 void ButtonModifyClick(object sender, EventArgs e)
 {
     //修改出库单
     if (dataGridView1.CurrentRow != null)
     {
         FormOutBill tF = new FormOutBill();
         tF.Text         = "出库单-修改";
         tF.i_OutStockID = Convert.ToInt32(dataGridView1.CurrentRow.Cells["OutStockID"].Value.ToString());
         tF.ShowDialog();
         RefreshDataGridView1();
     }
 }