Exemplo n.º 1
0
        private void pbxSave_Click(object sender, EventArgs e)
        {
            FormStockEdition formStockEdition = new FormStockEdition();

            formStockEdition.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idStock = Int32.Parse(dgvStock.SelectedRows[0].Cells[0].Value.ToString());
            FormStockEdition formStockEdition = new FormStockEdition(idStock);

            formStockEdition.Show();

            this.Close();
        }