private void elPenjatToolStripMenuItem_Click(object sender, EventArgs e) { if (fpenjat == null) { fpenjat = new FrmPenjat(); fpenjat.esticTancant += new EventHandler(tancarFormPenjat); fpenjat.MdiParent = this; } fpenjat.Show(); fpenjat.Focus(); }
private void tancarFormPedra(object sender, EventArgs e) { fpenjat = null; }