예제 #1
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            CategoryDetailsForm details = new CategoryDetailsForm(aux);

            details.Show();

            this.Close();
        }
예제 #2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idCategory = Int32.Parse(dgvCategory.SelectedRows[0].Cells[0].Value.ToString());

            CategoryDetailsForm categoryDetails = new CategoryDetailsForm(idCategory, aux);

            categoryDetails.Show();

            this.Close();
        }