Beispiel #1
0
 public static FestivalInsert GetInstance()
 {
     if (wtiform == null || wtiform.IsDisposed)
     {
         wtiform = new FestivalInsert();
     }
     return(wtiform);
 }
Beispiel #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            FestivalInsert Frm = FestivalInsert.GetInstance();

            Frm.TopLevel = false;
            Frm.Parent   = this;
            Frm.Show();
            //Frm.MdiParent = this.ParentForm;
            Frm.BringToFront();
        }