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; }
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; }