public Frm_Prodects() { InitializeComponent(); if (farm == null) { farm = this; } dataGridView2.DataSource = p.SelectProdec(); btn_update.Enabled = false; btn_save.Enabled = true; }
private void Btn_addItem_Click(object sender, EventArgs e) { Frm_Prodects p = new Frm_Prodects(); p.ShowDialog(); }
static void STATUESCllosed(object sender, FormClosedEventArgs e) { farm = null; }