public static void Main() { FormSettings frm = new FormSettings(); if (frm.ShowDialog() == DialogResult.OK) { } }
public void ShowPlugin() { var frm = new FormSettings(); frm.ShowDialog(); }