示例#1
0
 internal void CloseForm()
 {
     if (fForm != null)
     {
         fForm = null;
     }
 }
示例#2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (fForm != null)
         {
             fForm.Dispose();
             fForm = null;
         }
     }
     base.Dispose(disposing);
 }
示例#3
0
 public override void Execute()
 {
     if (!Host.IsWidgetActive(this))
     {
         fForm = new NavigatorWidget(this);
         fForm.Show();
     }
     else
     {
         fForm.Close();
         fForm = null;
     }
 }