Пример #1
0
        private void Load()
        {
            IScriptPaths              scriptPaths              = new ScriptPaths();
            IExecutePowerShellScript  executePowerShellScript  = new ExecutePowerShellScript();
            ITaskbarIconConfiguration taskbarIconConfiguration = new TaskbarIconConfiguration(this, PowerShellRunnerTaskbarIcon, executePowerShellScript, scriptPaths);

            taskbarIconConfiguration.StartMinimized();
            taskbarIconConfiguration.Run();

            //MessageBox.Show(stringBuilder.ToString());
        }
Пример #2
0
        private void Load()
        {
            IRoundCorners     roundCorners = new RoundCorners();
            IApplicationStyle style        = new ApplicationStyle(roundCorners, true, true);

            style.Run();

            IScriptPaths              scriptPaths              = new ScriptPaths();
            IExecutePowerShellScript  executePowerShellScript  = new ExecutePowerShellScript();
            ITaskBarIconConfiguration taskBarIconConfiguration =
                new TaskBarIconConfiguration(this, PowerShellRunnerTaskBarIcon, executePowerShellScript, scriptPaths);

            taskBarIconConfiguration.StartMinimized();
            taskBarIconConfiguration.Run();

            //MessageBox.Show(stringBuilder.ToString());
        }