示例#1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            CreateEditStock EditStockForm = new CreateEditStock(1, grdStock.Rows[grdStock.CurrentCell.RowIndex].Cells[0].Value.ToString());

            EditStockForm.ShowDialog();
            stocksGridLoad();
        }
示例#2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            CreateEditStock CreateStockForm = new CreateEditStock(0);

            CreateStockForm.ShowDialog();
            stocksGridLoad();
        }