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");
        }
예제 #2
0
        private void LoadIcons()
        {
            M_File_New.Image                   = GUITools.GetImageFromResource("Icons.New.png");
            M_File_Open.Image                  = GUITools.GetImageFromResource("Icons.Open.png");
            M_File_SaveAs.Image                = GUITools.GetImageFromResource("Icons.Save.png");
            M_File_Exit.Image                  = GUITools.GetImageFromResource("Icons.Exit.png");
            M_Mission_Generate.Image           = GUITools.GetImageFromResource("Icons.Update.png");
            M_Mission_Export.Image             = GUITools.GetImageFromResource("Icons.ExportToMiz.png");
            M_Mission_ExportBriefing.Image     = GUITools.GetImageFromResource("Icons.ExportBriefing.png");
            M_Mission_ExportBriefingHTML.Image = GUITools.GetImageFromResource("Icons.FileHTML.png");
            M_Mission_DebugExport.Image        = GUITools.GetImageFromResource("Icons.DebugExport.png");
            M_Tools_CampaignCreator.Image      = GUITools.GetImageFromResource("Icons.Campaign.png");

            T_File_New.Image                   = M_File_New.Image;
            T_File_Open.Image                  = M_File_Open.Image;
            T_File_SaveAs.Image                = M_File_SaveAs.Image;
            T_Mission_Generate.Image           = M_Mission_Generate.Image;
            T_Mission_Export.Image             = M_Mission_Export.Image;
            T_Mission_ExportBriefing.Image     = M_Mission_ExportBriefing.Image;
            T_Mission_ExportBriefingHTML.Image = M_Mission_ExportBriefingHTML.Image;
        }