public QuickStartDialog(MainForm parent, StringCollection recentList) { InitializeComponent(); this.parent = parent; foreach (string s in recentList) listRecentFiles.Items.Add(s); }
static void Main(string[] args) { Program.args = args; AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); primaryForm = new MainForm(); Application.Run(primaryForm); }