private void consoelClick(object sender, EventArgs e) { ConsoleForm con = new ConsoleForm(); ApplicationData.Instance.registerConsoleForm(con); con.ShowDialog(); }