public MainWindow() { IntegrityCheck.Run(); Icon = MediaConverter.ImageSourceFromBitmap(Properties.Resources.Fire.ToBitmap()); InitializeComponent(); nvFrom.OnFormSubmit += NvFrom_OnFormSubmit; core.RunWorkerCompleted += Core_RunWorkerCompleted; Loaded += MainWindow_Loaded; SetupLog(); }