Exemplo n.º 1
0
 /// <summary>
 /// 新增一个显示的弹出窗口
 /// </summary>
 /// <param name="form"></param>
 private static void AddNewForm(FormPopup form)
 {
     try
     {
         foreach (var m in FormsPopup)
         {
             m.LocationUpMove();
         }
         FormsPopup.Add(form);
     }
     catch
     {
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 新增一个显示的弹出窗口
 /// </summary>
 /// <param name="form"></param>
 private static void AddNewForm(FormPopup form)
 {
     try
     {
         foreach (var m in FormsPopup)
         {
             m.LocationUpMove();
         }
         FormsPopup.Add(form);
     }
     catch (Exception ex)
     {
         Console.WriteLine(SoftBasic.GetExceptionMessage(ex));
     }
 }