private void CampaignCreatorForm_Load(object sender, EventArgs e) { TemplatePropertyGrid.SelectedObject = Template; Icon = GUITools.GetIconFromResource("CampaignIcon.ico"); T_New.Image = GUITools.GetImageFromResource("Icons.New.png"); T_Open.Image = GUITools.GetImageFromResource("Icons.Open.png"); T_SaveAs.Image = GUITools.GetImageFromResource("Icons.SaveAs.png"); T_ExportCampaign.Image = GUITools.GetImageFromResource("Icons.ExportCampaign.png"); T_Close.Image = GUITools.GetImageFromResource("Icons.Exit.png"); }
private void MainForm_Load(object sender, EventArgs e) { Text = $"BriefingRoom {BriefingRoom.BRIEFINGROOM_VERSION} for DCS World {BriefingRoom.TARGETED_DCS_WORLD_VERSION}"; #if DEBUG Text += " [DEBUG BUILD]"; M_Mission_DebugExport.Visible = true; #endif Icon = GUITools.GetIconFromResource("Icon.ico"); LoadIcons(); TemplatePropertyGrid.SelectedObject = Template; GenerateMission(); }