private void testCaseToolStripLabel_Click(object sender, EventArgs e) { if (!AppSetting.Current.Contract.IsProxyServer) { ShowSettingForm(SettingTabType.Contract); return; } var test = new TestCaseForm(); test.ShowDialog(); }