private void buttonTestForm_Click(object sender, EventArgs e) { try { TestForm form = new TestForm(); form.ShowDialog(); } catch (Exception) { throw; } }
private void buttonTestForm_Click(object sender, EventArgs e) { var form = new TestForm(); form.ShowDialog(); }