Пример #1
0
        private void buttonModify_Click(object sender, EventArgs e)
        {
            frmProductTypeAdd frmsub = new frmProductTypeAdd(TypedataGridView1.CurrentRow);

            frmsub.Show();
            frmsub.buttonSave.Enabled    = true;
            frmsub.buttonSaveNew.Enabled = false;
        }
Пример #2
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            frmProductTypeAdd frmProductTypeAdd = new frmProductTypeAdd();

            frmProductTypeAdd.Show();
            frmProductTypeAdd.buttonSave.Enabled    = false;
            frmProductTypeAdd.buttonSaveNew.Enabled = true;
        }
Пример #3
0
        private void TypedataGridView1_DoubleClick(object sender, EventArgs e)
        {
            frmProductTypeAdd frmsub = new frmProductTypeAdd(TypedataGridView1.CurrentRow);

            frmsub.Show();
        }