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

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