Пример #1
0
 public static LineTypeInsert GetInstance()
 {
     if (ltiform == null || ltiform.IsDisposed)
     {
         ltiform = new LineTypeInsert();
     }
     return(ltiform);
 }
Пример #2
0
        private void barButtonItem新增_ItemClick(object sender, ItemClickEventArgs e)
        {
            LineTypeInsert Frm = LineTypeInsert.GetInstance();

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