private void MenuDeliveryCompare_Click(object sender, EventArgs e) { FrmDeliveryCompare frm = FrmDeliveryCompare.GetSingleton(); frm.MdiParent = this; frm.Show(); frm.Activate(); }
public static FrmDeliveryCompare GetSingleton() { if (frm == null || frm.IsDisposed) { frm = new FrmDeliveryCompare(); } return(frm); }