Ejemplo n.º 1
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            StockDetailsForm stockForm = new StockDetailsForm();

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

            StockDetailsForm stockDetailsForm = new StockDetailsForm(idUser);

            stockDetailsForm.Show();

            this.Close();
        }