private void EnableDisableTabs() { if (_domain == null) tabControl.TabPages[1].Enabled = false; else tabControl.TabPages[1].Enabled = true; }