public FrmMain(Core dipCore_in) { InitializeComponent(); dipCore = dipCore_in; ChangeOutputSlot(); InitFileDialogs(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Core dipCore = new Core(); dipCore.Initialize(); FrmMain mainWindow = new FrmMain(dipCore); Application.Run(mainWindow); }