public SettingsViewFRM(MainViewFRM caller = null) { InitializeComponent(); if (caller != null) { Caller = caller; } }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); MainViewFRM main; if (args.Length > 0) { main = new MainViewFRM(args); } else { main = new MainViewFRM(); } Application.Run(main); }