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()); }
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()); }