コード例 #1
0
        public void SetView(ILauncherForm launcherForm)
        {
            if (launcherForm == null) throw new ArgumentNullException("launcherForm");
            view = launcherForm;

            settings.PathSettings = @"FSB_Launcher.xml";
            settings.SetDefaults();
            settings.LoadSettings();

            view.SetColors(settings.BackColor, settings.ForeColor);
        }
コード例 #2
0
        public void SetView(ILauncherForm launcherForm)
        {
            if (launcherForm == null)
            {
                throw new ArgumentNullException("launcherForm");
            }
            view = launcherForm;

            settings.PathSettings = @"FST_Launcher.xml";
            settings.SetDefaults();
            settings.LoadSettings();

            view.SetColors(settings.BackColor, settings.ForeColor);
        }