示例#1
0
 private void btnItems_Click(object sender, EventArgs e)
 {
     if (this.fItems?.Visible ?? false)
     {
         this.fItems.Activate();
     }
     else
     {
         if (this.fItems == null || this.fItems.IsDisposed)
         {
             this.fItems = new formItems();
         }
         this.fItems.Show(this);
     }
     return;
 }
示例#2
0
 private void btnItems_Click(object sender, EventArgs e)
 {
     if (this.fItems?.Visible ?? false)
         this.fItems.Activate();
     else
     {
         if (this.fItems == null || this.fItems.IsDisposed)
             this.fItems = new formItems();
         this.fItems.Show(this);
     }
     return;
 }