private void btnUrunYonetimi_Click(object sender, EventArgs e) { urunlerForm = new FormUrunler(); urunlerForm.Text = "Ürünler"; urunlerForm.Show(); }
private void ürünlerToolStripMenuItem_Click(object sender, EventArgs e) { if (urunlerForm == null || urunlerForm.IsDisposed) { urunlerForm = new FormUrunler(); urunlerForm.MdiParent = this; urunlerForm.WindowState = FormWindowState.Maximized; urunlerForm.Text = "Ürünler"; urunlerForm.Show(); } else { urunlerForm.Select(); } }
private void button1_Click(object sender, EventArgs e) { FormUrunler urunlerForm = new FormUrunler(); urunlerForm.Show(); }