Example #1
0
 /// <summary>
 /// Show the window.
 /// </summary>
 public void show()
 {
     if (_form != null)
     {
         _form.Dispose();
     }
     _form    = new FloatingForm(this);
     _visible = true;
 }
Example #2
0
 //窗口关闭的时候
 private void onFormClosed(object sender, FormClosedEventArgs e)
 {
     if (isMainForm)
     {
         MainForm.Instance.autoHideOn();
         MainForm.Instance.refreshCategoryItemList(null);
     }
     if (reminder != null)
     {
         reminder.Dispose();
     }
 }