private void btnLayer_Click(object sender, System.EventArgs e) { EEEP_LayerManaging lm = new EEEP_LayerManaging(); lm.Show(); }
private void btnLayerManaging_Click(object sender, System.EventArgs e) { if(ewCheck.CheckOpenForm(ActiveForm, "EEEP_LayerManaging")) { EEEP_LayerManaging lm = new EEEP_LayerManaging(); lm.MdiParent = ActiveForm; lm.Show(); } }