private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); About splash = new About(); splash.Show(); Application.Run(new GenusIDE(splash)); }
public GenusIDE(About splash) { _splash = splash; InitializeComponent(); //LoadFonts(); // dangerous. Causes AccessViolationException most of the times. var renderer = new ToolStripProfessionalRenderer(); renderer.ColorTable.UseSystemColors = true; renderer.RoundedEdges = false; ToolStripManager.Renderer = renderer; // Set the application title Text = Program.Title; aboutToolStripMenuItem.Text = String.Format(CultureInfo.CurrentCulture, "&About {0}", Program.Title); }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { using (About about = new About()) { about.ShowDialog(this); } }