Auto Start should work.
authorsl
Sun, 18 Jan 2015 12:35:22 +0100
changeset 92787dee27fc0a
parent 91 61e2e2d41c0a
child 93 f0015e909f41
Auto Start should work.
Server/MainForm.Designer.cs
Server/MainForm.cs
Server/Program.cs
Server/SharpDisplayManager.csproj
Server/StartupManager.cs
Server/TaskScheduler.cs
     1.1 --- a/Server/MainForm.Designer.cs	Sat Jan 17 18:26:41 2015 +0100
     1.2 +++ b/Server/MainForm.Designer.cs	Sun Jan 18 12:35:22 2015 +0100
     1.3 @@ -28,671 +28,686 @@
     1.4          /// </summary>
     1.5          private void InitializeComponent()
     1.6          {
     1.7 -            this.components = new System.ComponentModel.Container();
     1.8 -            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     1.9 -            this.panelDisplay = new System.Windows.Forms.Panel();
    1.10 -            this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
    1.11 -            this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
    1.12 -            this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
    1.13 -            this.fontDialog = new System.Windows.Forms.FontDialog();
    1.14 -            this.timer = new System.Windows.Forms.Timer(this.components);
    1.15 -            this.statusStrip = new System.Windows.Forms.StatusStrip();
    1.16 -            this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
    1.17 -            this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
    1.18 -            this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
    1.19 -            this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
    1.20 -            this.tabPageClients = new System.Windows.Forms.TabPage();
    1.21 -            this.buttonCloseClients = new System.Windows.Forms.Button();
    1.22 -            this.buttonStartClient = new System.Windows.Forms.Button();
    1.23 -            this.treeViewClients = new System.Windows.Forms.TreeView();
    1.24 -            this.tabPageDisplay = new System.Windows.Forms.TabPage();
    1.25 -            this.buttonShowClock = new System.Windows.Forms.Button();
    1.26 -            this.buttonHideClock = new System.Windows.Forms.Button();
    1.27 -            this.buttonPowerOff = new System.Windows.Forms.Button();
    1.28 -            this.buttonPowerOn = new System.Windows.Forms.Button();
    1.29 -            this.labelTimerInterval = new System.Windows.Forms.Label();
    1.30 -            this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
    1.31 -            this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
    1.32 -            this.buttonSuspend = new System.Windows.Forms.Button();
    1.33 -            this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
    1.34 -            this.trackBarBrightness = new System.Windows.Forms.TrackBar();
    1.35 -            this.buttonFill = new System.Windows.Forms.Button();
    1.36 -            this.buttonClear = new System.Windows.Forms.Button();
    1.37 -            this.buttonClose = new System.Windows.Forms.Button();
    1.38 -            this.buttonOpen = new System.Windows.Forms.Button();
    1.39 -            this.buttonCapture = new System.Windows.Forms.Button();
    1.40 -            this.labelWarning = new System.Windows.Forms.Label();
    1.41 -            this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
    1.42 -            this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
    1.43 -            this.buttonFont = new System.Windows.Forms.Button();
    1.44 -            this.tabControl = new System.Windows.Forms.TabControl();
    1.45 -            this.tabPageDesign = new System.Windows.Forms.TabPage();
    1.46 -            this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
    1.47 -            this.buttonAlignRight = new System.Windows.Forms.Button();
    1.48 -            this.buttonAlignCenter = new System.Windows.Forms.Button();
    1.49 -            this.buttonAlignLeft = new System.Windows.Forms.Button();
    1.50 -            this.buttonRemoveColumn = new System.Windows.Forms.Button();
    1.51 -            this.buttonAddColumn = new System.Windows.Forms.Button();
    1.52 -            this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
    1.53 -            this.buttonRemoveRow = new System.Windows.Forms.Button();
    1.54 -            this.buttonAddRow = new System.Windows.Forms.Button();
    1.55 -            this.labelFontWidth = new System.Windows.Forms.Label();
    1.56 -            this.labelFontHeight = new System.Windows.Forms.Label();
    1.57 -            this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
    1.58 -            this.tabPageApp = new System.Windows.Forms.TabPage();
    1.59 -            this.buttonUpdate = new System.Windows.Forms.Button();
    1.60 -            this.panelDisplay.SuspendLayout();
    1.61 -            this.tableLayoutPanel.SuspendLayout();
    1.62 -            this.statusStrip.SuspendLayout();
    1.63 -            this.tabPageClients.SuspendLayout();
    1.64 -            this.tabPageDisplay.SuspendLayout();
    1.65 -            ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
    1.66 -            this.tabControl.SuspendLayout();
    1.67 -            this.tabPageDesign.SuspendLayout();
    1.68 -            ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
    1.69 -            this.tabPageApp.SuspendLayout();
    1.70 -            this.SuspendLayout();
    1.71 -            // 
    1.72 -            // panelDisplay
    1.73 -            // 
    1.74 -            this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    1.75 -            this.panelDisplay.Controls.Add(this.tableLayoutPanel);
    1.76 -            this.panelDisplay.Location = new System.Drawing.Point(173, 40);
    1.77 -            this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
    1.78 -            this.panelDisplay.Name = "panelDisplay";
    1.79 -            this.panelDisplay.Size = new System.Drawing.Size(258, 66);
    1.80 -            this.panelDisplay.TabIndex = 12;
    1.81 -            // 
    1.82 -            // tableLayoutPanel
    1.83 -            // 
    1.84 -            this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    1.85 +			this.components = new System.ComponentModel.Container();
    1.86 +			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
    1.87 +			this.panelDisplay = new System.Windows.Forms.Panel();
    1.88 +			this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
    1.89 +			this.marqueeLabelTop = new SharpDisplayManager.MarqueeLabel();
    1.90 +			this.marqueeLabelBottom = new SharpDisplayManager.MarqueeLabel();
    1.91 +			this.fontDialog = new System.Windows.Forms.FontDialog();
    1.92 +			this.timer = new System.Windows.Forms.Timer(this.components);
    1.93 +			this.statusStrip = new System.Windows.Forms.StatusStrip();
    1.94 +			this.toolStripStatusLabelConnect = new System.Windows.Forms.ToolStripStatusLabel();
    1.95 +			this.toolStripStatusLabelSpring = new System.Windows.Forms.ToolStripStatusLabel();
    1.96 +			this.toolStripStatusLabelPower = new System.Windows.Forms.ToolStripStatusLabel();
    1.97 +			this.toolStripStatusLabelFps = new System.Windows.Forms.ToolStripStatusLabel();
    1.98 +			this.tabPageClients = new System.Windows.Forms.TabPage();
    1.99 +			this.buttonCloseClients = new System.Windows.Forms.Button();
   1.100 +			this.buttonStartClient = new System.Windows.Forms.Button();
   1.101 +			this.treeViewClients = new System.Windows.Forms.TreeView();
   1.102 +			this.tabPageDisplay = new System.Windows.Forms.TabPage();
   1.103 +			this.buttonShowClock = new System.Windows.Forms.Button();
   1.104 +			this.buttonHideClock = new System.Windows.Forms.Button();
   1.105 +			this.buttonPowerOff = new System.Windows.Forms.Button();
   1.106 +			this.buttonPowerOn = new System.Windows.Forms.Button();
   1.107 +			this.labelTimerInterval = new System.Windows.Forms.Label();
   1.108 +			this.maskedTextBoxTimerInterval = new System.Windows.Forms.MaskedTextBox();
   1.109 +			this.comboBoxDisplayType = new System.Windows.Forms.ComboBox();
   1.110 +			this.buttonSuspend = new System.Windows.Forms.Button();
   1.111 +			this.checkBoxConnectOnStartup = new System.Windows.Forms.CheckBox();
   1.112 +			this.trackBarBrightness = new System.Windows.Forms.TrackBar();
   1.113 +			this.buttonFill = new System.Windows.Forms.Button();
   1.114 +			this.buttonClear = new System.Windows.Forms.Button();
   1.115 +			this.buttonClose = new System.Windows.Forms.Button();
   1.116 +			this.buttonOpen = new System.Windows.Forms.Button();
   1.117 +			this.buttonCapture = new System.Windows.Forms.Button();
   1.118 +			this.labelWarning = new System.Windows.Forms.Label();
   1.119 +			this.checkBoxFixedPitchFontOnly = new System.Windows.Forms.CheckBox();
   1.120 +			this.checkBoxShowBorders = new System.Windows.Forms.CheckBox();
   1.121 +			this.buttonFont = new System.Windows.Forms.Button();
   1.122 +			this.tabControl = new System.Windows.Forms.TabControl();
   1.123 +			this.tabPageDesign = new System.Windows.Forms.TabPage();
   1.124 +			this.checkBoxInverseColors = new System.Windows.Forms.CheckBox();
   1.125 +			this.buttonAlignRight = new System.Windows.Forms.Button();
   1.126 +			this.buttonAlignCenter = new System.Windows.Forms.Button();
   1.127 +			this.buttonAlignLeft = new System.Windows.Forms.Button();
   1.128 +			this.buttonRemoveColumn = new System.Windows.Forms.Button();
   1.129 +			this.buttonAddColumn = new System.Windows.Forms.Button();
   1.130 +			this.checkBoxReverseScreen = new System.Windows.Forms.CheckBox();
   1.131 +			this.buttonRemoveRow = new System.Windows.Forms.Button();
   1.132 +			this.buttonAddRow = new System.Windows.Forms.Button();
   1.133 +			this.tabPageApp = new System.Windows.Forms.TabPage();
   1.134 +			this.checkBoxAutoStart = new System.Windows.Forms.CheckBox();
   1.135 +			this.buttonUpdate = new System.Windows.Forms.Button();
   1.136 +			this.labelFontWidth = new System.Windows.Forms.Label();
   1.137 +			this.labelFontHeight = new System.Windows.Forms.Label();
   1.138 +			this.pictureBoxDemo = new System.Windows.Forms.PictureBox();
   1.139 +			this.panelDisplay.SuspendLayout();
   1.140 +			this.tableLayoutPanel.SuspendLayout();
   1.141 +			this.statusStrip.SuspendLayout();
   1.142 +			this.tabPageClients.SuspendLayout();
   1.143 +			this.tabPageDisplay.SuspendLayout();
   1.144 +			((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).BeginInit();
   1.145 +			this.tabControl.SuspendLayout();
   1.146 +			this.tabPageDesign.SuspendLayout();
   1.147 +			this.tabPageApp.SuspendLayout();
   1.148 +			((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).BeginInit();
   1.149 +			this.SuspendLayout();
   1.150 +			// 
   1.151 +			// panelDisplay
   1.152 +			// 
   1.153 +			this.panelDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   1.154 +			this.panelDisplay.Controls.Add(this.tableLayoutPanel);
   1.155 +			this.panelDisplay.Location = new System.Drawing.Point(173, 40);
   1.156 +			this.panelDisplay.Margin = new System.Windows.Forms.Padding(0);
   1.157 +			this.panelDisplay.Name = "panelDisplay";
   1.158 +			this.panelDisplay.Size = new System.Drawing.Size(258, 66);
   1.159 +			this.panelDisplay.TabIndex = 12;
   1.160 +			// 
   1.161 +			// tableLayoutPanel
   1.162 +			// 
   1.163 +			this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.164              | System.Windows.Forms.AnchorStyles.Left) 
   1.165              | System.Windows.Forms.AnchorStyles.Right)));
   1.166 -            this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
   1.167 -            this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
   1.168 -            this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
   1.169 -            this.tableLayoutPanel.ColumnCount = 1;
   1.170 -            this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
   1.171 -            this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
   1.172 -            this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
   1.173 -            this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
   1.174 -            this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
   1.175 -            this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
   1.176 -            this.tableLayoutPanel.Name = "tableLayoutPanel";
   1.177 -            this.tableLayoutPanel.RowCount = 2;
   1.178 -            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
   1.179 -            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
   1.180 -            this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
   1.181 -            this.tableLayoutPanel.TabIndex = 5;
   1.182 -            // 
   1.183 -            // marqueeLabelTop
   1.184 -            // 
   1.185 -            this.marqueeLabelTop.AutoEllipsis = true;
   1.186 -            this.marqueeLabelTop.AutoSize = true;
   1.187 -            this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
   1.188 -            this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
   1.189 -            this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
   1.190 -            this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
   1.191 -            this.marqueeLabelTop.Name = "marqueeLabelTop";
   1.192 -            this.marqueeLabelTop.OwnTimer = false;
   1.193 -            this.marqueeLabelTop.PixelsPerSecond = 64;
   1.194 -            this.marqueeLabelTop.Separator = "|";
   1.195 -            this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
   1.196 -            this.marqueeLabelTop.TabIndex = 2;
   1.197 -            this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
   1.198 -            this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.199 -            this.marqueeLabelTop.UseCompatibleTextRendering = true;
   1.200 -            // 
   1.201 -            // marqueeLabelBottom
   1.202 -            // 
   1.203 -            this.marqueeLabelBottom.AutoEllipsis = true;
   1.204 -            this.marqueeLabelBottom.AutoSize = true;
   1.205 -            this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
   1.206 -            this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
   1.207 -            this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
   1.208 -            this.marqueeLabelBottom.Name = "marqueeLabelBottom";
   1.209 -            this.marqueeLabelBottom.OwnTimer = false;
   1.210 -            this.marqueeLabelBottom.PixelsPerSecond = 64;
   1.211 -            this.marqueeLabelBottom.Separator = "|";
   1.212 -            this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
   1.213 -            this.marqueeLabelBottom.TabIndex = 3;
   1.214 -            this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
   1.215 -            this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.216 -            this.marqueeLabelBottom.UseCompatibleTextRendering = true;
   1.217 -            // 
   1.218 -            // timer
   1.219 -            // 
   1.220 -            this.timer.Enabled = true;
   1.221 -            this.timer.Interval = 50;
   1.222 -            this.timer.Tick += new System.EventHandler(this.timer_Tick);
   1.223 -            // 
   1.224 -            // statusStrip
   1.225 -            // 
   1.226 -            this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
   1.227 +			this.tableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
   1.228 +			this.tableLayoutPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
   1.229 +			this.tableLayoutPanel.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
   1.230 +			this.tableLayoutPanel.ColumnCount = 1;
   1.231 +			this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
   1.232 +			this.tableLayoutPanel.Controls.Add(this.marqueeLabelTop, 0, 0);
   1.233 +			this.tableLayoutPanel.Controls.Add(this.marqueeLabelBottom, 0, 1);
   1.234 +			this.tableLayoutPanel.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
   1.235 +			this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0);
   1.236 +			this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(0);
   1.237 +			this.tableLayoutPanel.Name = "tableLayoutPanel";
   1.238 +			this.tableLayoutPanel.RowCount = 2;
   1.239 +			this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
   1.240 +			this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
   1.241 +			this.tableLayoutPanel.Size = new System.Drawing.Size(256, 64);
   1.242 +			this.tableLayoutPanel.TabIndex = 5;
   1.243 +			// 
   1.244 +			// marqueeLabelTop
   1.245 +			// 
   1.246 +			this.marqueeLabelTop.AutoEllipsis = true;
   1.247 +			this.marqueeLabelTop.AutoSize = true;
   1.248 +			this.marqueeLabelTop.BackColor = System.Drawing.Color.Transparent;
   1.249 +			this.marqueeLabelTop.Dock = System.Windows.Forms.DockStyle.Fill;
   1.250 +			this.marqueeLabelTop.Location = new System.Drawing.Point(1, 1);
   1.251 +			this.marqueeLabelTop.Margin = new System.Windows.Forms.Padding(0);
   1.252 +			this.marqueeLabelTop.Name = "marqueeLabelTop";
   1.253 +			this.marqueeLabelTop.OwnTimer = false;
   1.254 +			this.marqueeLabelTop.PixelsPerSecond = 64;
   1.255 +			this.marqueeLabelTop.Separator = "|";
   1.256 +			this.marqueeLabelTop.Size = new System.Drawing.Size(254, 30);
   1.257 +			this.marqueeLabelTop.TabIndex = 2;
   1.258 +			this.marqueeLabelTop.Text = "ABCDEFGHIJKLMNOPQRST-0123456789";
   1.259 +			this.marqueeLabelTop.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.260 +			this.marqueeLabelTop.UseCompatibleTextRendering = true;
   1.261 +			// 
   1.262 +			// marqueeLabelBottom
   1.263 +			// 
   1.264 +			this.marqueeLabelBottom.AutoEllipsis = true;
   1.265 +			this.marqueeLabelBottom.AutoSize = true;
   1.266 +			this.marqueeLabelBottom.Dock = System.Windows.Forms.DockStyle.Fill;
   1.267 +			this.marqueeLabelBottom.Location = new System.Drawing.Point(1, 32);
   1.268 +			this.marqueeLabelBottom.Margin = new System.Windows.Forms.Padding(0);
   1.269 +			this.marqueeLabelBottom.Name = "marqueeLabelBottom";
   1.270 +			this.marqueeLabelBottom.OwnTimer = false;
   1.271 +			this.marqueeLabelBottom.PixelsPerSecond = 64;
   1.272 +			this.marqueeLabelBottom.Separator = "|";
   1.273 +			this.marqueeLabelBottom.Size = new System.Drawing.Size(254, 31);
   1.274 +			this.marqueeLabelBottom.TabIndex = 3;
   1.275 +			this.marqueeLabelBottom.Text = "abcdefghijklmnopqrst-0123456789";
   1.276 +			this.marqueeLabelBottom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.277 +			this.marqueeLabelBottom.UseCompatibleTextRendering = true;
   1.278 +			// 
   1.279 +			// timer
   1.280 +			// 
   1.281 +			this.timer.Enabled = true;
   1.282 +			this.timer.Interval = 50;
   1.283 +			this.timer.Tick += new System.EventHandler(this.timer_Tick);
   1.284 +			// 
   1.285 +			// statusStrip
   1.286 +			// 
   1.287 +			this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
   1.288              this.toolStripStatusLabelConnect,
   1.289              this.toolStripStatusLabelSpring,
   1.290              this.toolStripStatusLabelPower,
   1.291              this.toolStripStatusLabelFps});
   1.292 -            this.statusStrip.Location = new System.Drawing.Point(0, 420);
   1.293 -            this.statusStrip.Name = "statusStrip";
   1.294 -            this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
   1.295 -            this.statusStrip.Size = new System.Drawing.Size(624, 22);
   1.296 -            this.statusStrip.TabIndex = 1;
   1.297 -            this.statusStrip.Text = "statusStrip";
   1.298 -            // 
   1.299 -            // toolStripStatusLabelConnect
   1.300 -            // 
   1.301 -            this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
   1.302 -            this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
   1.303 -            this.toolStripStatusLabelConnect.Text = "Not connected";
   1.304 -            // 
   1.305 -            // toolStripStatusLabelSpring
   1.306 -            // 
   1.307 -            this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
   1.308 -            this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
   1.309 -            this.toolStripStatusLabelSpring.Spring = true;
   1.310 -            // 
   1.311 -            // toolStripStatusLabelPower
   1.312 -            // 
   1.313 -            this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
   1.314 -            this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
   1.315 -            this.toolStripStatusLabelPower.Text = "NA";
   1.316 -            // 
   1.317 -            // toolStripStatusLabelFps
   1.318 -            // 
   1.319 -            this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
   1.320 -            this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
   1.321 -            this.toolStripStatusLabelFps.Text = "FPS";
   1.322 -            // 
   1.323 -            // tabPageClients
   1.324 -            // 
   1.325 -            this.tabPageClients.Controls.Add(this.buttonCloseClients);
   1.326 -            this.tabPageClients.Controls.Add(this.buttonStartClient);
   1.327 -            this.tabPageClients.Controls.Add(this.treeViewClients);
   1.328 -            this.tabPageClients.Location = new System.Drawing.Point(4, 22);
   1.329 -            this.tabPageClients.Name = "tabPageClients";
   1.330 -            this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
   1.331 -            this.tabPageClients.Size = new System.Drawing.Size(592, 242);
   1.332 -            this.tabPageClients.TabIndex = 2;
   1.333 -            this.tabPageClients.Text = "Clients";
   1.334 -            this.tabPageClients.UseVisualStyleBackColor = true;
   1.335 -            // 
   1.336 -            // buttonCloseClients
   1.337 -            // 
   1.338 -            this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
   1.339 -            this.buttonCloseClients.Name = "buttonCloseClients";
   1.340 -            this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
   1.341 -            this.buttonCloseClients.TabIndex = 20;
   1.342 -            this.buttonCloseClients.Text = "Close Clients";
   1.343 -            this.buttonCloseClients.UseVisualStyleBackColor = true;
   1.344 -            this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
   1.345 -            // 
   1.346 -            // buttonStartClient
   1.347 -            // 
   1.348 -            this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
   1.349 -            this.buttonStartClient.Name = "buttonStartClient";
   1.350 -            this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
   1.351 -            this.buttonStartClient.TabIndex = 19;
   1.352 -            this.buttonStartClient.Text = "Start Client";
   1.353 -            this.buttonStartClient.UseVisualStyleBackColor = true;
   1.354 -            this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
   1.355 -            // 
   1.356 -            // treeViewClients
   1.357 -            // 
   1.358 -            this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.359 +			this.statusStrip.Location = new System.Drawing.Point(0, 420);
   1.360 +			this.statusStrip.Name = "statusStrip";
   1.361 +			this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
   1.362 +			this.statusStrip.Size = new System.Drawing.Size(624, 22);
   1.363 +			this.statusStrip.TabIndex = 1;
   1.364 +			this.statusStrip.Text = "statusStrip";
   1.365 +			// 
   1.366 +			// toolStripStatusLabelConnect
   1.367 +			// 
   1.368 +			this.toolStripStatusLabelConnect.Name = "toolStripStatusLabelConnect";
   1.369 +			this.toolStripStatusLabelConnect.Size = new System.Drawing.Size(86, 17);
   1.370 +			this.toolStripStatusLabelConnect.Text = "Not connected";
   1.371 +			// 
   1.372 +			// toolStripStatusLabelSpring
   1.373 +			// 
   1.374 +			this.toolStripStatusLabelSpring.Name = "toolStripStatusLabelSpring";
   1.375 +			this.toolStripStatusLabelSpring.Size = new System.Drawing.Size(473, 17);
   1.376 +			this.toolStripStatusLabelSpring.Spring = true;
   1.377 +			// 
   1.378 +			// toolStripStatusLabelPower
   1.379 +			// 
   1.380 +			this.toolStripStatusLabelPower.Name = "toolStripStatusLabelPower";
   1.381 +			this.toolStripStatusLabelPower.Size = new System.Drawing.Size(24, 17);
   1.382 +			this.toolStripStatusLabelPower.Text = "NA";
   1.383 +			// 
   1.384 +			// toolStripStatusLabelFps
   1.385 +			// 
   1.386 +			this.toolStripStatusLabelFps.Name = "toolStripStatusLabelFps";
   1.387 +			this.toolStripStatusLabelFps.Size = new System.Drawing.Size(26, 17);
   1.388 +			this.toolStripStatusLabelFps.Text = "FPS";
   1.389 +			// 
   1.390 +			// tabPageClients
   1.391 +			// 
   1.392 +			this.tabPageClients.Controls.Add(this.buttonCloseClients);
   1.393 +			this.tabPageClients.Controls.Add(this.buttonStartClient);
   1.394 +			this.tabPageClients.Controls.Add(this.treeViewClients);
   1.395 +			this.tabPageClients.Location = new System.Drawing.Point(4, 22);
   1.396 +			this.tabPageClients.Name = "tabPageClients";
   1.397 +			this.tabPageClients.Padding = new System.Windows.Forms.Padding(3);
   1.398 +			this.tabPageClients.Size = new System.Drawing.Size(592, 242);
   1.399 +			this.tabPageClients.TabIndex = 2;
   1.400 +			this.tabPageClients.Text = "Clients";
   1.401 +			this.tabPageClients.UseVisualStyleBackColor = true;
   1.402 +			// 
   1.403 +			// buttonCloseClients
   1.404 +			// 
   1.405 +			this.buttonCloseClients.Location = new System.Drawing.Point(6, 35);
   1.406 +			this.buttonCloseClients.Name = "buttonCloseClients";
   1.407 +			this.buttonCloseClients.Size = new System.Drawing.Size(75, 23);
   1.408 +			this.buttonCloseClients.TabIndex = 20;
   1.409 +			this.buttonCloseClients.Text = "Close Clients";
   1.410 +			this.buttonCloseClients.UseVisualStyleBackColor = true;
   1.411 +			this.buttonCloseClients.Click += new System.EventHandler(this.buttonCloseClients_Click);
   1.412 +			// 
   1.413 +			// buttonStartClient
   1.414 +			// 
   1.415 +			this.buttonStartClient.Location = new System.Drawing.Point(6, 6);
   1.416 +			this.buttonStartClient.Name = "buttonStartClient";
   1.417 +			this.buttonStartClient.Size = new System.Drawing.Size(75, 23);
   1.418 +			this.buttonStartClient.TabIndex = 19;
   1.419 +			this.buttonStartClient.Text = "Start Client";
   1.420 +			this.buttonStartClient.UseVisualStyleBackColor = true;
   1.421 +			this.buttonStartClient.Click += new System.EventHandler(this.buttonStartClient_Click);
   1.422 +			// 
   1.423 +			// treeViewClients
   1.424 +			// 
   1.425 +			this.treeViewClients.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.426              | System.Windows.Forms.AnchorStyles.Left) 
   1.427              | System.Windows.Forms.AnchorStyles.Right)));
   1.428 -            this.treeViewClients.Location = new System.Drawing.Point(87, 6);
   1.429 -            this.treeViewClients.Name = "treeViewClients";
   1.430 -            this.treeViewClients.Size = new System.Drawing.Size(499, 233);
   1.431 -            this.treeViewClients.TabIndex = 0;
   1.432 -            this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
   1.433 -            // 
   1.434 -            // tabPageDisplay
   1.435 -            // 
   1.436 -            this.tabPageDisplay.Controls.Add(this.buttonShowClock);
   1.437 -            this.tabPageDisplay.Controls.Add(this.buttonHideClock);
   1.438 -            this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
   1.439 -            this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
   1.440 -            this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
   1.441 -            this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
   1.442 -            this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
   1.443 -            this.tabPageDisplay.Controls.Add(this.buttonSuspend);
   1.444 -            this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
   1.445 -            this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
   1.446 -            this.tabPageDisplay.Controls.Add(this.buttonFill);
   1.447 -            this.tabPageDisplay.Controls.Add(this.buttonClear);
   1.448 -            this.tabPageDisplay.Controls.Add(this.buttonClose);
   1.449 -            this.tabPageDisplay.Controls.Add(this.buttonOpen);
   1.450 -            this.tabPageDisplay.Controls.Add(this.buttonCapture);
   1.451 -            this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
   1.452 -            this.tabPageDisplay.Name = "tabPageDisplay";
   1.453 -            this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
   1.454 -            this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
   1.455 -            this.tabPageDisplay.TabIndex = 0;
   1.456 -            this.tabPageDisplay.Text = "Display";
   1.457 -            this.tabPageDisplay.UseVisualStyleBackColor = true;
   1.458 -            // 
   1.459 -            // buttonShowClock
   1.460 -            // 
   1.461 -            this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
   1.462 -            this.buttonShowClock.Name = "buttonShowClock";
   1.463 -            this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
   1.464 -            this.buttonShowClock.TabIndex = 23;
   1.465 -            this.buttonShowClock.Text = "Show Clock";
   1.466 -            this.buttonShowClock.UseVisualStyleBackColor = true;
   1.467 -            this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
   1.468 -            // 
   1.469 -            // buttonHideClock
   1.470 -            // 
   1.471 -            this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
   1.472 -            this.buttonHideClock.Name = "buttonHideClock";
   1.473 -            this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
   1.474 -            this.buttonHideClock.TabIndex = 22;
   1.475 -            this.buttonHideClock.Text = "Hide Clock";
   1.476 -            this.buttonHideClock.UseVisualStyleBackColor = true;
   1.477 -            this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
   1.478 -            // 
   1.479 -            // buttonPowerOff
   1.480 -            // 
   1.481 -            this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
   1.482 -            this.buttonPowerOff.Name = "buttonPowerOff";
   1.483 -            this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
   1.484 -            this.buttonPowerOff.TabIndex = 21;
   1.485 -            this.buttonPowerOff.Text = "OFF";
   1.486 -            this.buttonPowerOff.UseVisualStyleBackColor = true;
   1.487 -            this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
   1.488 -            // 
   1.489 -            // buttonPowerOn
   1.490 -            // 
   1.491 -            this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
   1.492 -            this.buttonPowerOn.Name = "buttonPowerOn";
   1.493 -            this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
   1.494 -            this.buttonPowerOn.TabIndex = 20;
   1.495 -            this.buttonPowerOn.Text = "ON";
   1.496 -            this.buttonPowerOn.UseVisualStyleBackColor = true;
   1.497 -            this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
   1.498 -            // 
   1.499 -            // labelTimerInterval
   1.500 -            // 
   1.501 -            this.labelTimerInterval.AutoSize = true;
   1.502 -            this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
   1.503 -            this.labelTimerInterval.Name = "labelTimerInterval";
   1.504 -            this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
   1.505 -            this.labelTimerInterval.TabIndex = 19;
   1.506 -            this.labelTimerInterval.Text = "Timer interval (ms) :";
   1.507 -            // 
   1.508 -            // maskedTextBoxTimerInterval
   1.509 -            // 
   1.510 -            this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
   1.511 -            this.maskedTextBoxTimerInterval.Mask = "000";
   1.512 -            this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
   1.513 -            this.maskedTextBoxTimerInterval.PromptChar = ' ';
   1.514 -            this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
   1.515 -            this.maskedTextBoxTimerInterval.TabIndex = 18;
   1.516 -            this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
   1.517 -            // 
   1.518 -            // comboBoxDisplayType
   1.519 -            // 
   1.520 -            this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
   1.521 -            this.comboBoxDisplayType.FormattingEnabled = true;
   1.522 -            this.comboBoxDisplayType.Items.AddRange(new object[] {
   1.523 +			this.treeViewClients.Location = new System.Drawing.Point(87, 6);
   1.524 +			this.treeViewClients.Name = "treeViewClients";
   1.525 +			this.treeViewClients.Size = new System.Drawing.Size(499, 233);
   1.526 +			this.treeViewClients.TabIndex = 0;
   1.527 +			this.treeViewClients.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewClients_AfterSelect);
   1.528 +			// 
   1.529 +			// tabPageDisplay
   1.530 +			// 
   1.531 +			this.tabPageDisplay.Controls.Add(this.buttonShowClock);
   1.532 +			this.tabPageDisplay.Controls.Add(this.buttonHideClock);
   1.533 +			this.tabPageDisplay.Controls.Add(this.buttonPowerOff);
   1.534 +			this.tabPageDisplay.Controls.Add(this.buttonPowerOn);
   1.535 +			this.tabPageDisplay.Controls.Add(this.labelTimerInterval);
   1.536 +			this.tabPageDisplay.Controls.Add(this.maskedTextBoxTimerInterval);
   1.537 +			this.tabPageDisplay.Controls.Add(this.comboBoxDisplayType);
   1.538 +			this.tabPageDisplay.Controls.Add(this.buttonSuspend);
   1.539 +			this.tabPageDisplay.Controls.Add(this.checkBoxConnectOnStartup);
   1.540 +			this.tabPageDisplay.Controls.Add(this.trackBarBrightness);
   1.541 +			this.tabPageDisplay.Controls.Add(this.buttonFill);
   1.542 +			this.tabPageDisplay.Controls.Add(this.buttonClear);
   1.543 +			this.tabPageDisplay.Controls.Add(this.buttonClose);
   1.544 +			this.tabPageDisplay.Controls.Add(this.buttonOpen);
   1.545 +			this.tabPageDisplay.Controls.Add(this.buttonCapture);
   1.546 +			this.tabPageDisplay.Location = new System.Drawing.Point(4, 22);
   1.547 +			this.tabPageDisplay.Name = "tabPageDisplay";
   1.548 +			this.tabPageDisplay.Padding = new System.Windows.Forms.Padding(3);
   1.549 +			this.tabPageDisplay.Size = new System.Drawing.Size(592, 242);
   1.550 +			this.tabPageDisplay.TabIndex = 0;
   1.551 +			this.tabPageDisplay.Text = "Display";
   1.552 +			this.tabPageDisplay.UseVisualStyleBackColor = true;
   1.553 +			// 
   1.554 +			// buttonShowClock
   1.555 +			// 
   1.556 +			this.buttonShowClock.Location = new System.Drawing.Point(293, 124);
   1.557 +			this.buttonShowClock.Name = "buttonShowClock";
   1.558 +			this.buttonShowClock.Size = new System.Drawing.Size(75, 23);
   1.559 +			this.buttonShowClock.TabIndex = 23;
   1.560 +			this.buttonShowClock.Text = "Show Clock";
   1.561 +			this.buttonShowClock.UseVisualStyleBackColor = true;
   1.562 +			this.buttonShowClock.Click += new System.EventHandler(this.buttonShowClock_Click);
   1.563 +			// 
   1.564 +			// buttonHideClock
   1.565 +			// 
   1.566 +			this.buttonHideClock.Location = new System.Drawing.Point(293, 153);
   1.567 +			this.buttonHideClock.Name = "buttonHideClock";
   1.568 +			this.buttonHideClock.Size = new System.Drawing.Size(75, 23);
   1.569 +			this.buttonHideClock.TabIndex = 22;
   1.570 +			this.buttonHideClock.Text = "Hide Clock";
   1.571 +			this.buttonHideClock.UseVisualStyleBackColor = true;
   1.572 +			this.buttonHideClock.Click += new System.EventHandler(this.buttonHideClock_Click);
   1.573 +			// 
   1.574 +			// buttonPowerOff
   1.575 +			// 
   1.576 +			this.buttonPowerOff.Location = new System.Drawing.Point(293, 211);
   1.577 +			this.buttonPowerOff.Name = "buttonPowerOff";
   1.578 +			this.buttonPowerOff.Size = new System.Drawing.Size(75, 23);
   1.579 +			this.buttonPowerOff.TabIndex = 21;
   1.580 +			this.buttonPowerOff.Text = "OFF";
   1.581 +			this.buttonPowerOff.UseVisualStyleBackColor = true;
   1.582 +			this.buttonPowerOff.Click += new System.EventHandler(this.buttonPowerOff_Click);
   1.583 +			// 
   1.584 +			// buttonPowerOn
   1.585 +			// 
   1.586 +			this.buttonPowerOn.Location = new System.Drawing.Point(293, 182);
   1.587 +			this.buttonPowerOn.Name = "buttonPowerOn";
   1.588 +			this.buttonPowerOn.Size = new System.Drawing.Size(75, 23);
   1.589 +			this.buttonPowerOn.TabIndex = 20;
   1.590 +			this.buttonPowerOn.Text = "ON";
   1.591 +			this.buttonPowerOn.UseVisualStyleBackColor = true;
   1.592 +			this.buttonPowerOn.Click += new System.EventHandler(this.buttonPowerOn_Click);
   1.593 +			// 
   1.594 +			// labelTimerInterval
   1.595 +			// 
   1.596 +			this.labelTimerInterval.AutoSize = true;
   1.597 +			this.labelTimerInterval.Location = new System.Drawing.Point(184, 45);
   1.598 +			this.labelTimerInterval.Name = "labelTimerInterval";
   1.599 +			this.labelTimerInterval.Size = new System.Drawing.Size(98, 13);
   1.600 +			this.labelTimerInterval.TabIndex = 19;
   1.601 +			this.labelTimerInterval.Text = "Timer interval (ms) :";
   1.602 +			// 
   1.603 +			// maskedTextBoxTimerInterval
   1.604 +			// 
   1.605 +			this.maskedTextBoxTimerInterval.Location = new System.Drawing.Point(288, 42);
   1.606 +			this.maskedTextBoxTimerInterval.Mask = "000";
   1.607 +			this.maskedTextBoxTimerInterval.Name = "maskedTextBoxTimerInterval";
   1.608 +			this.maskedTextBoxTimerInterval.PromptChar = ' ';
   1.609 +			this.maskedTextBoxTimerInterval.Size = new System.Drawing.Size(24, 20);
   1.610 +			this.maskedTextBoxTimerInterval.TabIndex = 18;
   1.611 +			this.maskedTextBoxTimerInterval.TextChanged += new System.EventHandler(this.maskedTextBoxTimerInterval_TextChanged);
   1.612 +			// 
   1.613 +			// comboBoxDisplayType
   1.614 +			// 
   1.615 +			this.comboBoxDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
   1.616 +			this.comboBoxDisplayType.FormattingEnabled = true;
   1.617 +			this.comboBoxDisplayType.Items.AddRange(new object[] {
   1.618              "Auto Detect",
   1.619              "Futaba GP1212A01A",
   1.620              "Futaba GP1212A02A"});
   1.621 -            this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
   1.622 -            this.comboBoxDisplayType.Name = "comboBoxDisplayType";
   1.623 -            this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
   1.624 -            this.comboBoxDisplayType.TabIndex = 17;
   1.625 -            this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
   1.626 -            // 
   1.627 -            // buttonSuspend
   1.628 -            // 
   1.629 -            this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.630 -            this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
   1.631 -            this.buttonSuspend.Name = "buttonSuspend";
   1.632 -            this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
   1.633 -            this.buttonSuspend.TabIndex = 16;
   1.634 -            this.buttonSuspend.Text = "Pause";
   1.635 -            this.buttonSuspend.UseVisualStyleBackColor = true;
   1.636 -            this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
   1.637 -            // 
   1.638 -            // checkBoxConnectOnStartup
   1.639 -            // 
   1.640 -            this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.641 -            this.checkBoxConnectOnStartup.AutoSize = true;
   1.642 -            this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
   1.643 -            this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
   1.644 -            this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
   1.645 -            this.checkBoxConnectOnStartup.TabIndex = 13;
   1.646 -            this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
   1.647 -            this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
   1.648 -            this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
   1.649 -            // 
   1.650 -            // trackBarBrightness
   1.651 -            // 
   1.652 -            this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.653 +			this.comboBoxDisplayType.Location = new System.Drawing.Point(187, 9);
   1.654 +			this.comboBoxDisplayType.Name = "comboBoxDisplayType";
   1.655 +			this.comboBoxDisplayType.Size = new System.Drawing.Size(181, 21);
   1.656 +			this.comboBoxDisplayType.TabIndex = 17;
   1.657 +			this.comboBoxDisplayType.SelectedIndexChanged += new System.EventHandler(this.comboBoxDisplayType_SelectedIndexChanged);
   1.658 +			// 
   1.659 +			// buttonSuspend
   1.660 +			// 
   1.661 +			this.buttonSuspend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.662 +			this.buttonSuspend.Location = new System.Drawing.Point(6, 184);
   1.663 +			this.buttonSuspend.Name = "buttonSuspend";
   1.664 +			this.buttonSuspend.Size = new System.Drawing.Size(75, 23);
   1.665 +			this.buttonSuspend.TabIndex = 16;
   1.666 +			this.buttonSuspend.Text = "Pause";
   1.667 +			this.buttonSuspend.UseVisualStyleBackColor = true;
   1.668 +			this.buttonSuspend.Click += new System.EventHandler(this.buttonSuspend_Click);
   1.669 +			// 
   1.670 +			// checkBoxConnectOnStartup
   1.671 +			// 
   1.672 +			this.checkBoxConnectOnStartup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.673 +			this.checkBoxConnectOnStartup.AutoSize = true;
   1.674 +			this.checkBoxConnectOnStartup.Location = new System.Drawing.Point(113, 217);
   1.675 +			this.checkBoxConnectOnStartup.Name = "checkBoxConnectOnStartup";
   1.676 +			this.checkBoxConnectOnStartup.Size = new System.Drawing.Size(119, 17);
   1.677 +			this.checkBoxConnectOnStartup.TabIndex = 13;
   1.678 +			this.checkBoxConnectOnStartup.Text = "Connect on stratup ";
   1.679 +			this.checkBoxConnectOnStartup.UseVisualStyleBackColor = true;
   1.680 +			this.checkBoxConnectOnStartup.CheckedChanged += new System.EventHandler(this.checkBoxConnectOnStartup_CheckedChanged);
   1.681 +			// 
   1.682 +			// trackBarBrightness
   1.683 +			// 
   1.684 +			this.trackBarBrightness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.685              | System.Windows.Forms.AnchorStyles.Right)));
   1.686 -            this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
   1.687 -            this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
   1.688 -            this.trackBarBrightness.Name = "trackBarBrightness";
   1.689 -            this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
   1.690 -            this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
   1.691 -            this.trackBarBrightness.TabIndex = 10;
   1.692 -            this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
   1.693 -            this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
   1.694 -            // 
   1.695 -            // buttonFill
   1.696 -            // 
   1.697 -            this.buttonFill.Location = new System.Drawing.Point(6, 93);
   1.698 -            this.buttonFill.Name = "buttonFill";
   1.699 -            this.buttonFill.Size = new System.Drawing.Size(75, 23);
   1.700 -            this.buttonFill.TabIndex = 9;
   1.701 -            this.buttonFill.Text = "Fill";
   1.702 -            this.buttonFill.UseVisualStyleBackColor = true;
   1.703 -            this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
   1.704 -            // 
   1.705 -            // buttonClear
   1.706 -            // 
   1.707 -            this.buttonClear.Location = new System.Drawing.Point(6, 64);
   1.708 -            this.buttonClear.Name = "buttonClear";
   1.709 -            this.buttonClear.Size = new System.Drawing.Size(75, 23);
   1.710 -            this.buttonClear.TabIndex = 8;
   1.711 -            this.buttonClear.Text = "Clear";
   1.712 -            this.buttonClear.UseVisualStyleBackColor = true;
   1.713 -            this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
   1.714 -            // 
   1.715 -            // buttonClose
   1.716 -            // 
   1.717 -            this.buttonClose.Location = new System.Drawing.Point(6, 35);
   1.718 -            this.buttonClose.Name = "buttonClose";
   1.719 -            this.buttonClose.Size = new System.Drawing.Size(75, 23);
   1.720 -            this.buttonClose.TabIndex = 7;
   1.721 -            this.buttonClose.Text = "Close";
   1.722 -            this.buttonClose.UseVisualStyleBackColor = true;
   1.723 -            this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
   1.724 -            // 
   1.725 -            // buttonOpen
   1.726 -            // 
   1.727 -            this.buttonOpen.Location = new System.Drawing.Point(6, 6);
   1.728 -            this.buttonOpen.Name = "buttonOpen";
   1.729 -            this.buttonOpen.Size = new System.Drawing.Size(75, 23);
   1.730 -            this.buttonOpen.TabIndex = 6;
   1.731 -            this.buttonOpen.Text = "Open";
   1.732 -            this.buttonOpen.UseVisualStyleBackColor = true;
   1.733 -            this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
   1.734 -            // 
   1.735 -            // buttonCapture
   1.736 -            // 
   1.737 -            this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.738 -            this.buttonCapture.Location = new System.Drawing.Point(6, 213);
   1.739 -            this.buttonCapture.Name = "buttonCapture";
   1.740 -            this.buttonCapture.Size = new System.Drawing.Size(75, 23);
   1.741 -            this.buttonCapture.TabIndex = 5;
   1.742 -            this.buttonCapture.Text = "Capture";
   1.743 -            this.buttonCapture.UseVisualStyleBackColor = true;
   1.744 -            this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
   1.745 -            // 
   1.746 -            // labelWarning
   1.747 -            // 
   1.748 -            this.labelWarning.AutoSize = true;
   1.749 -            this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.750 -            this.labelWarning.ForeColor = System.Drawing.Color.Red;
   1.751 -            this.labelWarning.Location = new System.Drawing.Point(9, 9);
   1.752 -            this.labelWarning.Name = "labelWarning";
   1.753 -            this.labelWarning.Size = new System.Drawing.Size(80, 16);
   1.754 -            this.labelWarning.TabIndex = 18;
   1.755 -            this.labelWarning.Text = "WARNING";
   1.756 -            this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.757 -            this.labelWarning.Visible = false;
   1.758 -            // 
   1.759 -            // checkBoxFixedPitchFontOnly
   1.760 -            // 
   1.761 -            this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.762 -            this.checkBoxFixedPitchFontOnly.AutoSize = true;
   1.763 -            this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
   1.764 -            this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
   1.765 -            this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
   1.766 -            this.checkBoxFixedPitchFontOnly.TabIndex = 17;
   1.767 -            this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
   1.768 -            this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
   1.769 -            // 
   1.770 -            // checkBoxShowBorders
   1.771 -            // 
   1.772 -            this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
   1.773 -            this.checkBoxShowBorders.AutoSize = true;
   1.774 -            this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
   1.775 -            this.checkBoxShowBorders.Name = "checkBoxShowBorders";
   1.776 -            this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
   1.777 -            this.checkBoxShowBorders.TabIndex = 11;
   1.778 -            this.checkBoxShowBorders.Text = "Show borders";
   1.779 -            this.checkBoxShowBorders.UseVisualStyleBackColor = true;
   1.780 -            this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
   1.781 -            // 
   1.782 -            // buttonFont
   1.783 -            // 
   1.784 -            this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.785 -            this.buttonFont.Location = new System.Drawing.Point(6, 213);
   1.786 -            this.buttonFont.Name = "buttonFont";
   1.787 -            this.buttonFont.Size = new System.Drawing.Size(75, 23);
   1.788 -            this.buttonFont.TabIndex = 0;
   1.789 -            this.buttonFont.Text = "Select Font";
   1.790 -            this.buttonFont.UseVisualStyleBackColor = true;
   1.791 -            this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
   1.792 -            // 
   1.793 -            // tabControl
   1.794 -            // 
   1.795 -            this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.796 +			this.trackBarBrightness.BackColor = System.Drawing.SystemColors.Window;
   1.797 +			this.trackBarBrightness.Location = new System.Drawing.Point(544, 9);
   1.798 +			this.trackBarBrightness.Name = "trackBarBrightness";
   1.799 +			this.trackBarBrightness.Orientation = System.Windows.Forms.Orientation.Vertical;
   1.800 +			this.trackBarBrightness.Size = new System.Drawing.Size(45, 225);
   1.801 +			this.trackBarBrightness.TabIndex = 10;
   1.802 +			this.trackBarBrightness.TickStyle = System.Windows.Forms.TickStyle.Both;
   1.803 +			this.trackBarBrightness.Scroll += new System.EventHandler(this.trackBarBrightness_Scroll);
   1.804 +			// 
   1.805 +			// buttonFill
   1.806 +			// 
   1.807 +			this.buttonFill.Location = new System.Drawing.Point(6, 93);
   1.808 +			this.buttonFill.Name = "buttonFill";
   1.809 +			this.buttonFill.Size = new System.Drawing.Size(75, 23);
   1.810 +			this.buttonFill.TabIndex = 9;
   1.811 +			this.buttonFill.Text = "Fill";
   1.812 +			this.buttonFill.UseVisualStyleBackColor = true;
   1.813 +			this.buttonFill.Click += new System.EventHandler(this.buttonFill_Click);
   1.814 +			// 
   1.815 +			// buttonClear
   1.816 +			// 
   1.817 +			this.buttonClear.Location = new System.Drawing.Point(6, 64);
   1.818 +			this.buttonClear.Name = "buttonClear";
   1.819 +			this.buttonClear.Size = new System.Drawing.Size(75, 23);
   1.820 +			this.buttonClear.TabIndex = 8;
   1.821 +			this.buttonClear.Text = "Clear";
   1.822 +			this.buttonClear.UseVisualStyleBackColor = true;
   1.823 +			this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
   1.824 +			// 
   1.825 +			// buttonClose
   1.826 +			// 
   1.827 +			this.buttonClose.Location = new System.Drawing.Point(6, 35);
   1.828 +			this.buttonClose.Name = "buttonClose";
   1.829 +			this.buttonClose.Size = new System.Drawing.Size(75, 23);
   1.830 +			this.buttonClose.TabIndex = 7;
   1.831 +			this.buttonClose.Text = "Close";
   1.832 +			this.buttonClose.UseVisualStyleBackColor = true;
   1.833 +			this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
   1.834 +			// 
   1.835 +			// buttonOpen
   1.836 +			// 
   1.837 +			this.buttonOpen.Location = new System.Drawing.Point(6, 6);
   1.838 +			this.buttonOpen.Name = "buttonOpen";
   1.839 +			this.buttonOpen.Size = new System.Drawing.Size(75, 23);
   1.840 +			this.buttonOpen.TabIndex = 6;
   1.841 +			this.buttonOpen.Text = "Open";
   1.842 +			this.buttonOpen.UseVisualStyleBackColor = true;
   1.843 +			this.buttonOpen.Click += new System.EventHandler(this.buttonOpen_Click);
   1.844 +			// 
   1.845 +			// buttonCapture
   1.846 +			// 
   1.847 +			this.buttonCapture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.848 +			this.buttonCapture.Location = new System.Drawing.Point(6, 213);
   1.849 +			this.buttonCapture.Name = "buttonCapture";
   1.850 +			this.buttonCapture.Size = new System.Drawing.Size(75, 23);
   1.851 +			this.buttonCapture.TabIndex = 5;
   1.852 +			this.buttonCapture.Text = "Capture";
   1.853 +			this.buttonCapture.UseVisualStyleBackColor = true;
   1.854 +			this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
   1.855 +			// 
   1.856 +			// labelWarning
   1.857 +			// 
   1.858 +			this.labelWarning.AutoSize = true;
   1.859 +			this.labelWarning.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   1.860 +			this.labelWarning.ForeColor = System.Drawing.Color.Red;
   1.861 +			this.labelWarning.Location = new System.Drawing.Point(9, 9);
   1.862 +			this.labelWarning.Name = "labelWarning";
   1.863 +			this.labelWarning.Size = new System.Drawing.Size(80, 16);
   1.864 +			this.labelWarning.TabIndex = 18;
   1.865 +			this.labelWarning.Text = "WARNING";
   1.866 +			this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
   1.867 +			this.labelWarning.Visible = false;
   1.868 +			// 
   1.869 +			// checkBoxFixedPitchFontOnly
   1.870 +			// 
   1.871 +			this.checkBoxFixedPitchFontOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.872 +			this.checkBoxFixedPitchFontOnly.AutoSize = true;
   1.873 +			this.checkBoxFixedPitchFontOnly.Location = new System.Drawing.Point(87, 217);
   1.874 +			this.checkBoxFixedPitchFontOnly.Name = "checkBoxFixedPitchFontOnly";
   1.875 +			this.checkBoxFixedPitchFontOnly.Size = new System.Drawing.Size(120, 17);
   1.876 +			this.checkBoxFixedPitchFontOnly.TabIndex = 17;
   1.877 +			this.checkBoxFixedPitchFontOnly.Text = "Fixed pitch font only";
   1.878 +			this.checkBoxFixedPitchFontOnly.UseVisualStyleBackColor = true;
   1.879 +			// 
   1.880 +			// checkBoxShowBorders
   1.881 +			// 
   1.882 +			this.checkBoxShowBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
   1.883 +			this.checkBoxShowBorders.AutoSize = true;
   1.884 +			this.checkBoxShowBorders.Location = new System.Drawing.Point(485, 29);
   1.885 +			this.checkBoxShowBorders.Name = "checkBoxShowBorders";
   1.886 +			this.checkBoxShowBorders.Size = new System.Drawing.Size(91, 17);
   1.887 +			this.checkBoxShowBorders.TabIndex = 11;
   1.888 +			this.checkBoxShowBorders.Text = "Show borders";
   1.889 +			this.checkBoxShowBorders.UseVisualStyleBackColor = true;
   1.890 +			this.checkBoxShowBorders.CheckedChanged += new System.EventHandler(this.checkBoxShowBorders_CheckedChanged);
   1.891 +			// 
   1.892 +			// buttonFont
   1.893 +			// 
   1.894 +			this.buttonFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
   1.895 +			this.buttonFont.Location = new System.Drawing.Point(6, 213);
   1.896 +			this.buttonFont.Name = "buttonFont";
   1.897 +			this.buttonFont.Size = new System.Drawing.Size(75, 23);
   1.898 +			this.buttonFont.TabIndex = 0;
   1.899 +			this.buttonFont.Text = "Select Font";
   1.900 +			this.buttonFont.UseVisualStyleBackColor = true;
   1.901 +			this.buttonFont.Click += new System.EventHandler(this.buttonFont_Click);
   1.902 +			// 
   1.903 +			// tabControl
   1.904 +			// 
   1.905 +			this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
   1.906              | System.Windows.Forms.AnchorStyles.Left) 
   1.907              | System.Windows.Forms.AnchorStyles.Right)));
   1.908 -            this.tabControl.Controls.Add(this.tabPageDisplay);
   1.909 -            this.tabControl.Controls.Add(this.tabPageClients);
   1.910 -            this.tabControl.Controls.Add(this.tabPageDesign);
   1.911 -            this.tabControl.Controls.Add(this.tabPageApp);
   1.912 -            this.tabControl.Location = new System.Drawing.Point(12, 139);
   1.913 -            this.tabControl.Name = "tabControl";
   1.914 -            this.tabControl.SelectedIndex = 0;
   1.915 -            this.tabControl.Size = new System.Drawing.Size(600, 268);
   1.916 -            this.tabControl.TabIndex = 0;
   1.917 -            // 
   1.918 -            // tabPageDesign
   1.919 -            // 
   1.920 -            this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
   1.921 -            this.tabPageDesign.Controls.Add(this.buttonAlignRight);
   1.922 -            this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
   1.923 -            this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
   1.924 -            this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
   1.925 -            this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
   1.926 -            this.tabPageDesign.Controls.Add(this.buttonAddColumn);
   1.927 -            this.tabPageDesign.Controls.Add(this.buttonFont);
   1.928 -            this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
   1.929 -            this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
   1.930 -            this.tabPageDesign.Controls.Add(this.buttonAddRow);
   1.931 -            this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
   1.932 -            this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
   1.933 -            this.tabPageDesign.Name = "tabPageDesign";
   1.934 -            this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
   1.935 -            this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
   1.936 -            this.tabPageDesign.TabIndex = 3;
   1.937 -            this.tabPageDesign.Text = "Design";
   1.938 -            this.tabPageDesign.UseVisualStyleBackColor = true;
   1.939 -            // 
   1.940 -            // checkBoxInverseColors
   1.941 -            // 
   1.942 -            this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
   1.943 -            this.checkBoxInverseColors.AutoSize = true;
   1.944 -            this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
   1.945 -            this.checkBoxInverseColors.Name = "checkBoxInverseColors";
   1.946 -            this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
   1.947 -            this.checkBoxInverseColors.TabIndex = 21;
   1.948 -            this.checkBoxInverseColors.Text = "Inverse colors";
   1.949 -            this.checkBoxInverseColors.UseVisualStyleBackColor = true;
   1.950 -            this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
   1.951 -            // 
   1.952 -            // buttonAlignRight
   1.953 -            // 
   1.954 -            this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
   1.955 -            this.buttonAlignRight.Name = "buttonAlignRight";
   1.956 -            this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
   1.957 -            this.buttonAlignRight.TabIndex = 20;
   1.958 -            this.buttonAlignRight.Text = "Align Right";
   1.959 -            this.buttonAlignRight.UseVisualStyleBackColor = true;
   1.960 -            this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
   1.961 -            // 
   1.962 -            // buttonAlignCenter
   1.963 -            // 
   1.964 -            this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
   1.965 -            this.buttonAlignCenter.Name = "buttonAlignCenter";
   1.966 -            this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
   1.967 -            this.buttonAlignCenter.TabIndex = 19;
   1.968 -            this.buttonAlignCenter.Text = "Align Center";
   1.969 -            this.buttonAlignCenter.UseVisualStyleBackColor = true;
   1.970 -            this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
   1.971 -            // 
   1.972 -            // buttonAlignLeft
   1.973 -            // 
   1.974 -            this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
   1.975 -            this.buttonAlignLeft.Name = "buttonAlignLeft";
   1.976 -            this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
   1.977 -            this.buttonAlignLeft.TabIndex = 18;
   1.978 -            this.buttonAlignLeft.Text = "Align Left";
   1.979 -            this.buttonAlignLeft.UseVisualStyleBackColor = true;
   1.980 -            this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
   1.981 -            // 
   1.982 -            // buttonRemoveColumn
   1.983 -            // 
   1.984 -            this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
   1.985 -            this.buttonRemoveColumn.Name = "buttonRemoveColumn";
   1.986 -            this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
   1.987 -            this.buttonRemoveColumn.TabIndex = 3;
   1.988 -            this.buttonRemoveColumn.Text = "Remove col.";
   1.989 -            this.buttonRemoveColumn.UseVisualStyleBackColor = true;
   1.990 -            this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
   1.991 -            // 
   1.992 -            // buttonAddColumn
   1.993 -            // 
   1.994 -            this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
   1.995 -            this.buttonAddColumn.Name = "buttonAddColumn";
   1.996 -            this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
   1.997 -            this.buttonAddColumn.TabIndex = 2;
   1.998 -            this.buttonAddColumn.Text = "Add column";
   1.999 -            this.buttonAddColumn.UseVisualStyleBackColor = true;
  1.1000 -            this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
  1.1001 -            // 
  1.1002 -            // checkBoxReverseScreen
  1.1003 -            // 
  1.1004 -            this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  1.1005 -            this.checkBoxReverseScreen.AutoSize = true;
  1.1006 -            this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
  1.1007 -            this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
  1.1008 -            this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
  1.1009 -            this.checkBoxReverseScreen.TabIndex = 14;
  1.1010 -            this.checkBoxReverseScreen.Text = "Reverse screen";
  1.1011 -            this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
  1.1012 -            this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
  1.1013 -            // 
  1.1014 -            // buttonRemoveRow
  1.1015 -            // 
  1.1016 -            this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
  1.1017 -            this.buttonRemoveRow.Name = "buttonRemoveRow";
  1.1018 -            this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
  1.1019 -            this.buttonRemoveRow.TabIndex = 1;
  1.1020 -            this.buttonRemoveRow.Text = "Remove row";
  1.1021 -            this.buttonRemoveRow.UseVisualStyleBackColor = true;
  1.1022 -            this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
  1.1023 -            // 
  1.1024 -            // buttonAddRow
  1.1025 -            // 
  1.1026 -            this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
  1.1027 -            this.buttonAddRow.Name = "buttonAddRow";
  1.1028 -            this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
  1.1029 -            this.buttonAddRow.TabIndex = 0;
  1.1030 -            this.buttonAddRow.Text = "Add row";
  1.1031 -            this.buttonAddRow.UseVisualStyleBackColor = true;
  1.1032 -            this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
  1.1033 -            // 
  1.1034 -            // labelFontWidth
  1.1035 -            // 
  1.1036 -            this.labelFontWidth.AutoSize = true;
  1.1037 -            this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
  1.1038 -            this.labelFontWidth.Name = "labelFontWidth";
  1.1039 -            this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
  1.1040 -            this.labelFontWidth.TabIndex = 19;
  1.1041 -            this.labelFontWidth.Text = "Font width";
  1.1042 -            // 
  1.1043 -            // labelFontHeight
  1.1044 -            // 
  1.1045 -            this.labelFontHeight.AutoSize = true;
  1.1046 -            this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
  1.1047 -            this.labelFontHeight.Name = "labelFontHeight";
  1.1048 -            this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
  1.1049 -            this.labelFontHeight.TabIndex = 20;
  1.1050 -            this.labelFontHeight.Text = "Font height";
  1.1051 -            // 
  1.1052 -            // pictureBoxDemo
  1.1053 -            // 
  1.1054 -            this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
  1.1055 -            this.pictureBoxDemo.Name = "pictureBoxDemo";
  1.1056 -            this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
  1.1057 -            this.pictureBoxDemo.TabIndex = 21;
  1.1058 -            this.pictureBoxDemo.TabStop = false;
  1.1059 -            // 
  1.1060 -            // tabPageApp
  1.1061 -            // 
  1.1062 -            this.tabPageApp.Controls.Add(this.buttonUpdate);
  1.1063 -            this.tabPageApp.Location = new System.Drawing.Point(4, 22);
  1.1064 -            this.tabPageApp.Name = "tabPageApp";
  1.1065 -            this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
  1.1066 -            this.tabPageApp.Size = new System.Drawing.Size(592, 242);
  1.1067 -            this.tabPageApp.TabIndex = 4;
  1.1068 -            this.tabPageApp.Text = "Application";
  1.1069 -            this.tabPageApp.UseVisualStyleBackColor = true;
  1.1070 -            // 
  1.1071 -            // buttonUpdate
  1.1072 -            // 
  1.1073 -            this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
  1.1074 -            this.buttonUpdate.Name = "buttonUpdate";
  1.1075 -            this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
  1.1076 -            this.buttonUpdate.TabIndex = 0;
  1.1077 -            this.buttonUpdate.Text = "Update";
  1.1078 -            this.buttonUpdate.UseVisualStyleBackColor = true;
  1.1079 -            this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
  1.1080 -            // 
  1.1081 -            // MainForm
  1.1082 -            // 
  1.1083 -            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  1.1084 -            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  1.1085 -            this.ClientSize = new System.Drawing.Size(624, 442);
  1.1086 -            this.Controls.Add(this.pictureBoxDemo);
  1.1087 -            this.Controls.Add(this.labelFontHeight);
  1.1088 -            this.Controls.Add(this.labelFontWidth);
  1.1089 -            this.Controls.Add(this.labelWarning);
  1.1090 -            this.Controls.Add(this.statusStrip);
  1.1091 -            this.Controls.Add(this.tabControl);
  1.1092 -            this.Controls.Add(this.panelDisplay);
  1.1093 -            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1.1094 -            this.MinimumSize = new System.Drawing.Size(640, 480);
  1.1095 -            this.Name = "MainForm";
  1.1096 -            this.Text = "Sharp Display Manager";
  1.1097 -            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  1.1098 -            this.Load += new System.EventHandler(this.MainForm_Load);
  1.1099 -            this.Resize += new System.EventHandler(this.MainForm_Resize);
  1.1100 -            this.panelDisplay.ResumeLayout(false);
  1.1101 -            this.tableLayoutPanel.ResumeLayout(false);
  1.1102 -            this.tableLayoutPanel.PerformLayout();
  1.1103 -            this.statusStrip.ResumeLayout(false);
  1.1104 -            this.statusStrip.PerformLayout();
  1.1105 -            this.tabPageClients.ResumeLayout(false);
  1.1106 -            this.tabPageDisplay.ResumeLayout(false);
  1.1107 -            this.tabPageDisplay.PerformLayout();
  1.1108 -            ((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
  1.1109 -            this.tabControl.ResumeLayout(false);
  1.1110 -            this.tabPageDesign.ResumeLayout(false);
  1.1111 -            this.tabPageDesign.PerformLayout();
  1.1112 -            ((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
  1.1113 -            this.tabPageApp.ResumeLayout(false);
  1.1114 -            this.ResumeLayout(false);
  1.1115 -            this.PerformLayout();
  1.1116 +			this.tabControl.Controls.Add(this.tabPageDisplay);
  1.1117 +			this.tabControl.Controls.Add(this.tabPageClients);
  1.1118 +			this.tabControl.Controls.Add(this.tabPageDesign);
  1.1119 +			this.tabControl.Controls.Add(this.tabPageApp);
  1.1120 +			this.tabControl.Location = new System.Drawing.Point(12, 139);
  1.1121 +			this.tabControl.Name = "tabControl";
  1.1122 +			this.tabControl.SelectedIndex = 0;
  1.1123 +			this.tabControl.Size = new System.Drawing.Size(600, 268);
  1.1124 +			this.tabControl.TabIndex = 0;
  1.1125 +			// 
  1.1126 +			// tabPageDesign
  1.1127 +			// 
  1.1128 +			this.tabPageDesign.Controls.Add(this.checkBoxInverseColors);
  1.1129 +			this.tabPageDesign.Controls.Add(this.buttonAlignRight);
  1.1130 +			this.tabPageDesign.Controls.Add(this.buttonAlignCenter);
  1.1131 +			this.tabPageDesign.Controls.Add(this.buttonAlignLeft);
  1.1132 +			this.tabPageDesign.Controls.Add(this.buttonRemoveColumn);
  1.1133 +			this.tabPageDesign.Controls.Add(this.checkBoxFixedPitchFontOnly);
  1.1134 +			this.tabPageDesign.Controls.Add(this.buttonAddColumn);
  1.1135 +			this.tabPageDesign.Controls.Add(this.buttonFont);
  1.1136 +			this.tabPageDesign.Controls.Add(this.checkBoxReverseScreen);
  1.1137 +			this.tabPageDesign.Controls.Add(this.buttonRemoveRow);
  1.1138 +			this.tabPageDesign.Controls.Add(this.buttonAddRow);
  1.1139 +			this.tabPageDesign.Controls.Add(this.checkBoxShowBorders);
  1.1140 +			this.tabPageDesign.Location = new System.Drawing.Point(4, 22);
  1.1141 +			this.tabPageDesign.Name = "tabPageDesign";
  1.1142 +			this.tabPageDesign.Padding = new System.Windows.Forms.Padding(3);
  1.1143 +			this.tabPageDesign.Size = new System.Drawing.Size(592, 242);
  1.1144 +			this.tabPageDesign.TabIndex = 3;
  1.1145 +			this.tabPageDesign.Text = "Design";
  1.1146 +			this.tabPageDesign.UseVisualStyleBackColor = true;
  1.1147 +			// 
  1.1148 +			// checkBoxInverseColors
  1.1149 +			// 
  1.1150 +			this.checkBoxInverseColors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  1.1151 +			this.checkBoxInverseColors.AutoSize = true;
  1.1152 +			this.checkBoxInverseColors.Location = new System.Drawing.Point(485, 52);
  1.1153 +			this.checkBoxInverseColors.Name = "checkBoxInverseColors";
  1.1154 +			this.checkBoxInverseColors.Size = new System.Drawing.Size(92, 17);
  1.1155 +			this.checkBoxInverseColors.TabIndex = 21;
  1.1156 +			this.checkBoxInverseColors.Text = "Inverse colors";
  1.1157 +			this.checkBoxInverseColors.UseVisualStyleBackColor = true;
  1.1158 +			this.checkBoxInverseColors.CheckedChanged += new System.EventHandler(this.checkBoxInverseColors_CheckedChanged);
  1.1159 +			// 
  1.1160 +			// buttonAlignRight
  1.1161 +			// 
  1.1162 +			this.buttonAlignRight.Location = new System.Drawing.Point(171, 105);
  1.1163 +			this.buttonAlignRight.Name = "buttonAlignRight";
  1.1164 +			this.buttonAlignRight.Size = new System.Drawing.Size(75, 23);
  1.1165 +			this.buttonAlignRight.TabIndex = 20;
  1.1166 +			this.buttonAlignRight.Text = "Align Right";
  1.1167 +			this.buttonAlignRight.UseVisualStyleBackColor = true;
  1.1168 +			this.buttonAlignRight.Click += new System.EventHandler(this.buttonAlignRight_Click);
  1.1169 +			// 
  1.1170 +			// buttonAlignCenter
  1.1171 +			// 
  1.1172 +			this.buttonAlignCenter.Location = new System.Drawing.Point(89, 106);
  1.1173 +			this.buttonAlignCenter.Name = "buttonAlignCenter";
  1.1174 +			this.buttonAlignCenter.Size = new System.Drawing.Size(75, 23);
  1.1175 +			this.buttonAlignCenter.TabIndex = 19;
  1.1176 +			this.buttonAlignCenter.Text = "Align Center";
  1.1177 +			this.buttonAlignCenter.UseVisualStyleBackColor = true;
  1.1178 +			this.buttonAlignCenter.Click += new System.EventHandler(this.buttonAlignCenter_Click);
  1.1179 +			// 
  1.1180 +			// buttonAlignLeft
  1.1181 +			// 
  1.1182 +			this.buttonAlignLeft.Location = new System.Drawing.Point(7, 106);
  1.1183 +			this.buttonAlignLeft.Name = "buttonAlignLeft";
  1.1184 +			this.buttonAlignLeft.Size = new System.Drawing.Size(75, 23);
  1.1185 +			this.buttonAlignLeft.TabIndex = 18;
  1.1186 +			this.buttonAlignLeft.Text = "Align Left";
  1.1187 +			this.buttonAlignLeft.UseVisualStyleBackColor = true;
  1.1188 +			this.buttonAlignLeft.Click += new System.EventHandler(this.buttonAlignLeft_Click);
  1.1189 +			// 
  1.1190 +			// buttonRemoveColumn
  1.1191 +			// 
  1.1192 +			this.buttonRemoveColumn.Location = new System.Drawing.Point(89, 37);
  1.1193 +			this.buttonRemoveColumn.Name = "buttonRemoveColumn";
  1.1194 +			this.buttonRemoveColumn.Size = new System.Drawing.Size(75, 23);
  1.1195 +			this.buttonRemoveColumn.TabIndex = 3;
  1.1196 +			this.buttonRemoveColumn.Text = "Remove col.";
  1.1197 +			this.buttonRemoveColumn.UseVisualStyleBackColor = true;
  1.1198 +			this.buttonRemoveColumn.Click += new System.EventHandler(this.buttonRemoveColumn_Click);
  1.1199 +			// 
  1.1200 +			// buttonAddColumn
  1.1201 +			// 
  1.1202 +			this.buttonAddColumn.Location = new System.Drawing.Point(89, 7);
  1.1203 +			this.buttonAddColumn.Name = "buttonAddColumn";
  1.1204 +			this.buttonAddColumn.Size = new System.Drawing.Size(75, 23);
  1.1205 +			this.buttonAddColumn.TabIndex = 2;
  1.1206 +			this.buttonAddColumn.Text = "Add column";
  1.1207 +			this.buttonAddColumn.UseVisualStyleBackColor = true;
  1.1208 +			this.buttonAddColumn.Click += new System.EventHandler(this.buttonAddColumn_Click);
  1.1209 +			// 
  1.1210 +			// checkBoxReverseScreen
  1.1211 +			// 
  1.1212 +			this.checkBoxReverseScreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  1.1213 +			this.checkBoxReverseScreen.AutoSize = true;
  1.1214 +			this.checkBoxReverseScreen.Location = new System.Drawing.Point(485, 6);
  1.1215 +			this.checkBoxReverseScreen.Name = "checkBoxReverseScreen";
  1.1216 +			this.checkBoxReverseScreen.Size = new System.Drawing.Size(101, 17);
  1.1217 +			this.checkBoxReverseScreen.TabIndex = 14;
  1.1218 +			this.checkBoxReverseScreen.Text = "Reverse screen";
  1.1219 +			this.checkBoxReverseScreen.UseVisualStyleBackColor = true;
  1.1220 +			this.checkBoxReverseScreen.CheckedChanged += new System.EventHandler(this.checkBoxReverseScreen_CheckedChanged);
  1.1221 +			// 
  1.1222 +			// buttonRemoveRow
  1.1223 +			// 
  1.1224 +			this.buttonRemoveRow.Location = new System.Drawing.Point(7, 37);
  1.1225 +			this.buttonRemoveRow.Name = "buttonRemoveRow";
  1.1226 +			this.buttonRemoveRow.Size = new System.Drawing.Size(75, 23);
  1.1227 +			this.buttonRemoveRow.TabIndex = 1;
  1.1228 +			this.buttonRemoveRow.Text = "Remove row";
  1.1229 +			this.buttonRemoveRow.UseVisualStyleBackColor = true;
  1.1230 +			this.buttonRemoveRow.Click += new System.EventHandler(this.buttonRemoveRow_Click);
  1.1231 +			// 
  1.1232 +			// buttonAddRow
  1.1233 +			// 
  1.1234 +			this.buttonAddRow.Location = new System.Drawing.Point(7, 7);
  1.1235 +			this.buttonAddRow.Name = "buttonAddRow";
  1.1236 +			this.buttonAddRow.Size = new System.Drawing.Size(75, 23);
  1.1237 +			this.buttonAddRow.TabIndex = 0;
  1.1238 +			this.buttonAddRow.Text = "Add row";
  1.1239 +			this.buttonAddRow.UseVisualStyleBackColor = true;
  1.1240 +			this.buttonAddRow.Click += new System.EventHandler(this.buttonAddRow_Click);
  1.1241 +			// 
  1.1242 +			// tabPageApp
  1.1243 +			// 
  1.1244 +			this.tabPageApp.Controls.Add(this.checkBoxAutoStart);
  1.1245 +			this.tabPageApp.Controls.Add(this.buttonUpdate);
  1.1246 +			this.tabPageApp.Location = new System.Drawing.Point(4, 22);
  1.1247 +			this.tabPageApp.Name = "tabPageApp";
  1.1248 +			this.tabPageApp.Padding = new System.Windows.Forms.Padding(3);
  1.1249 +			this.tabPageApp.Size = new System.Drawing.Size(592, 242);
  1.1250 +			this.tabPageApp.TabIndex = 4;
  1.1251 +			this.tabPageApp.Text = "Application";
  1.1252 +			this.tabPageApp.UseVisualStyleBackColor = true;
  1.1253 +			// 
  1.1254 +			// checkBoxAutoStart
  1.1255 +			// 
  1.1256 +			this.checkBoxAutoStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  1.1257 +			this.checkBoxAutoStart.AutoSize = true;
  1.1258 +			this.checkBoxAutoStart.Location = new System.Drawing.Point(8, 190);
  1.1259 +			this.checkBoxAutoStart.Name = "checkBoxAutoStart";
  1.1260 +			this.checkBoxAutoStart.Size = new System.Drawing.Size(73, 17);
  1.1261 +			this.checkBoxAutoStart.TabIndex = 14;
  1.1262 +			this.checkBoxAutoStart.Text = "Auto Start";
  1.1263 +			this.checkBoxAutoStart.UseVisualStyleBackColor = true;
  1.1264 +			this.checkBoxAutoStart.CheckedChanged += new System.EventHandler(this.checkBoxAutoStart_CheckedChanged);
  1.1265 +			// 
  1.1266 +			// buttonUpdate
  1.1267 +			// 
  1.1268 +			this.buttonUpdate.Location = new System.Drawing.Point(6, 213);
  1.1269 +			this.buttonUpdate.Name = "buttonUpdate";
  1.1270 +			this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
  1.1271 +			this.buttonUpdate.TabIndex = 0;
  1.1272 +			this.buttonUpdate.Text = "Update";
  1.1273 +			this.buttonUpdate.UseVisualStyleBackColor = true;
  1.1274 +			this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
  1.1275 +			// 
  1.1276 +			// labelFontWidth
  1.1277 +			// 
  1.1278 +			this.labelFontWidth.AutoSize = true;
  1.1279 +			this.labelFontWidth.Location = new System.Drawing.Point(13, 29);
  1.1280 +			this.labelFontWidth.Name = "labelFontWidth";
  1.1281 +			this.labelFontWidth.Size = new System.Drawing.Size(56, 13);
  1.1282 +			this.labelFontWidth.TabIndex = 19;
  1.1283 +			this.labelFontWidth.Text = "Font width";
  1.1284 +			// 
  1.1285 +			// labelFontHeight
  1.1286 +			// 
  1.1287 +			this.labelFontHeight.AutoSize = true;
  1.1288 +			this.labelFontHeight.Location = new System.Drawing.Point(13, 46);
  1.1289 +			this.labelFontHeight.Name = "labelFontHeight";
  1.1290 +			this.labelFontHeight.Size = new System.Drawing.Size(60, 13);
  1.1291 +			this.labelFontHeight.TabIndex = 20;
  1.1292 +			this.labelFontHeight.Text = "Font height";
  1.1293 +			// 
  1.1294 +			// pictureBoxDemo
  1.1295 +			// 
  1.1296 +			this.pictureBoxDemo.Location = new System.Drawing.Point(478, 54);
  1.1297 +			this.pictureBoxDemo.Name = "pictureBoxDemo";
  1.1298 +			this.pictureBoxDemo.Size = new System.Drawing.Size(100, 50);
  1.1299 +			this.pictureBoxDemo.TabIndex = 21;
  1.1300 +			this.pictureBoxDemo.TabStop = false;
  1.1301 +			// 
  1.1302 +			// MainForm
  1.1303 +			// 
  1.1304 +			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  1.1305 +			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  1.1306 +			this.ClientSize = new System.Drawing.Size(624, 442);
  1.1307 +			this.Controls.Add(this.pictureBoxDemo);
  1.1308 +			this.Controls.Add(this.labelFontHeight);
  1.1309 +			this.Controls.Add(this.labelFontWidth);
  1.1310 +			this.Controls.Add(this.labelWarning);
  1.1311 +			this.Controls.Add(this.statusStrip);
  1.1312 +			this.Controls.Add(this.tabControl);
  1.1313 +			this.Controls.Add(this.panelDisplay);
  1.1314 +			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1.1315 +			this.MinimumSize = new System.Drawing.Size(640, 480);
  1.1316 +			this.Name = "MainForm";
  1.1317 +			this.Text = "Sharp Display Manager";
  1.1318 +			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  1.1319 +			this.Load += new System.EventHandler(this.MainForm_Load);
  1.1320 +			this.Resize += new System.EventHandler(this.MainForm_Resize);
  1.1321 +			this.panelDisplay.ResumeLayout(false);
  1.1322 +			this.tableLayoutPanel.ResumeLayout(false);
  1.1323 +			this.tableLayoutPanel.PerformLayout();
  1.1324 +			this.statusStrip.ResumeLayout(false);
  1.1325 +			this.statusStrip.PerformLayout();
  1.1326 +			this.tabPageClients.ResumeLayout(false);
  1.1327 +			this.tabPageDisplay.ResumeLayout(false);
  1.1328 +			this.tabPageDisplay.PerformLayout();
  1.1329 +			((System.ComponentModel.ISupportInitialize)(this.trackBarBrightness)).EndInit();
  1.1330 +			this.tabControl.ResumeLayout(false);
  1.1331 +			this.tabPageDesign.ResumeLayout(false);
  1.1332 +			this.tabPageDesign.PerformLayout();
  1.1333 +			this.tabPageApp.ResumeLayout(false);
  1.1334 +			this.tabPageApp.PerformLayout();
  1.1335 +			((System.ComponentModel.ISupportInitialize)(this.pictureBoxDemo)).EndInit();
  1.1336 +			this.ResumeLayout(false);
  1.1337 +			this.PerformLayout();
  1.1338  
  1.1339          }
  1.1340  
  1.1341 @@ -749,6 +764,7 @@
  1.1342          private System.Windows.Forms.PictureBox pictureBoxDemo;
  1.1343          private System.Windows.Forms.TabPage tabPageApp;
  1.1344          private System.Windows.Forms.Button buttonUpdate;
  1.1345 +		private System.Windows.Forms.CheckBox checkBoxAutoStart;
  1.1346      }
  1.1347  }
  1.1348  
     2.1 --- a/Server/MainForm.cs	Sat Jan 17 18:26:41 2015 +0100
     2.2 +++ b/Server/MainForm.cs	Sun Jan 18 12:35:22 2015 +0100
     2.3 @@ -57,6 +57,9 @@
     2.4          //Function pointer for pixel Y coordinate intercept
     2.5          CoordinateTranslationDelegate iScreenY;
     2.6  
     2.7 +		//
     2.8 +		private StartupManager iStartupManager;
     2.9 +
    2.10          public MainForm()
    2.11          {
    2.12              iCurrentClientSessionId = "";
    2.13 @@ -64,6 +67,7 @@
    2.14              LastTickTime = DateTime.Now;
    2.15              iDisplay = new Display();
    2.16              iClients = new Dictionary<string, ClientData>();
    2.17 +			iStartupManager = new StartupManager();
    2.18  
    2.19              InitializeComponent();
    2.20              UpdateStatus();
    2.21 @@ -89,6 +93,9 @@
    2.22              {
    2.23                  OpenDisplayConnection();
    2.24              }
    2.25 +
    2.26 +			//
    2.27 +			checkBoxAutoStart.Checked=iStartupManager.Startup;
    2.28          }
    2.29  
    2.30          /// <summary>
    2.31 @@ -1405,6 +1412,11 @@
    2.32  				}
    2.33              }
    2.34          }
    2.35 +
    2.36 +		private void checkBoxAutoStart_CheckedChanged(object sender, EventArgs e)
    2.37 +		{
    2.38 +			iStartupManager.Startup = checkBoxAutoStart.Checked;
    2.39 +		}
    2.40      }
    2.41  
    2.42      /// <summary>
     3.1 --- a/Server/Program.cs	Sat Jan 17 18:26:41 2015 +0100
     3.2 +++ b/Server/Program.cs	Sun Jan 18 12:35:22 2015 +0100
     3.3 @@ -3,6 +3,9 @@
     3.4  using System.Linq;
     3.5  using System.Threading.Tasks;
     3.6  using System.Windows.Forms;
     3.7 +using System.Security.Principal;
     3.8 +using System.Diagnostics;
     3.9 +using System.Reflection;
    3.10  
    3.11  namespace SharpDisplayManager
    3.12  {
    3.13 @@ -16,7 +19,35 @@
    3.14          /// </summary>
    3.15          [STAThread]
    3.16          static void Main()
    3.17 -        {	
    3.18 +        {
    3.19 +
    3.20 +			/*
    3.21 +			if (!IsRunAsAdministrator())
    3.22 +			{
    3.23 +				var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase);
    3.24 +
    3.25 +				// The following properties run the new process as administrator
    3.26 +				processInfo.UseShellExecute = true;
    3.27 +				processInfo.Verb = "runas";
    3.28 +
    3.29 +				// Start the new process
    3.30 +				try
    3.31 +				{
    3.32 +					Process.Start(processInfo);
    3.33 +				}
    3.34 +				catch (Exception)
    3.35 +				{
    3.36 +					// The user did not allow the application to run as administrator
    3.37 +					MessageBox.Show("Sorry, this application must be run as Administrator.");
    3.38 +				}
    3.39 +
    3.40 +				// Shut down the current process
    3.41 +				Application.Exit();
    3.42 +				return;
    3.43 +				//Application.Current.Shutdown();
    3.44 +			}*/
    3.45 +
    3.46 +
    3.47  			Application.ApplicationExit += new EventHandler(OnApplicationExit);
    3.48  			//
    3.49              Application.EnableVisualStyles();
    3.50 @@ -25,6 +56,16 @@
    3.51              Application.Run(iMainForm);
    3.52          }
    3.53  
    3.54 +
    3.55 +
    3.56 +		static private bool IsRunAsAdministrator()
    3.57 +		{
    3.58 +		  var wi = WindowsIdentity.GetCurrent();
    3.59 +		  var wp = new WindowsPrincipal(wi);
    3.60 +
    3.61 +		  return wp.IsInRole(WindowsBuiltInRole.Administrator);
    3.62 +		}
    3.63 +
    3.64  		/// <summary>
    3.65  		/// Occurs after form closing.
    3.66  		/// </summary>
     4.1 --- a/Server/SharpDisplayManager.csproj	Sat Jan 17 18:26:41 2015 +0100
     4.2 +++ b/Server/SharpDisplayManager.csproj	Sun Jan 18 12:35:22 2015 +0100
     4.3 @@ -30,7 +30,7 @@
     4.4      <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
     4.5      <WebPage>index.htm</WebPage>
     4.6      <OpenBrowserOnPublish>false</OpenBrowserOnPublish>
     4.7 -    <ApplicationRevision>14</ApplicationRevision>
     4.8 +    <ApplicationRevision>15</ApplicationRevision>
     4.9      <ApplicationVersion>0.1.0.%2a</ApplicationVersion>
    4.10      <UseApplicationTrust>false</UseApplicationTrust>
    4.11      <CreateDesktopShortcut>true</CreateDesktopShortcut>
    4.12 @@ -109,6 +109,7 @@
    4.13      <Reference Include="System.Configuration" />
    4.14      <Reference Include="System.Core" />
    4.15      <Reference Include="System.Runtime.Serialization" />
    4.16 +    <Reference Include="System.Security" />
    4.17      <Reference Include="System.ServiceModel" />
    4.18      <Reference Include="System.Xml.Linq" />
    4.19      <Reference Include="System.Data.DataSetExtensions" />
    4.20 @@ -142,6 +143,8 @@
    4.21      <Compile Include="Properties\AssemblyInfo.cs" />
    4.22      <Compile Include="Session.cs" />
    4.23      <Compile Include="Settings.cs" />
    4.24 +    <Compile Include="StartupManager.cs" />
    4.25 +    <Compile Include="TaskScheduler.cs" />
    4.26      <Compile Include="Win32API.cs" />
    4.27      <Compile Include="WindowsHook.cs" />
    4.28      <Compile Include="WndProcRetHook.cs" />
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/Server/StartupManager.cs	Sun Jan 18 12:35:22 2015 +0100
     5.3 @@ -0,0 +1,246 @@
     5.4 +/*
     5.5 +
     5.6 +  This Source Code Form is subject to the terms of the Mozilla Public
     5.7 +  License, v. 2.0. If a copy of the MPL was not distributed with this
     5.8 +  file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5.9 +
    5.10 +  Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
    5.11 +
    5.12 +*/
    5.13 +
    5.14 +using Microsoft.Win32;
    5.15 +using SharpDisplayManager.TaskScheduler;
    5.16 +using System;
    5.17 +using System.IO;
    5.18 +using System.Runtime.InteropServices;
    5.19 +using System.Security;
    5.20 +using System.Security.Principal;
    5.21 +using System.Windows.Forms;
    5.22 +
    5.23 +namespace SharpDisplayManager
    5.24 +{
    5.25 +	public class StartupManager
    5.26 +	{
    5.27 +		private TaskSchedulerClass scheduler;
    5.28 +		private bool startup;
    5.29 +		private bool isAvailable;
    5.30 +
    5.31 +		private const string REGISTRY_RUN =
    5.32 +		  @"Software\Microsoft\Windows\CurrentVersion\Run";
    5.33 +
    5.34 +		private bool IsAdministrator()
    5.35 +		{
    5.36 +			try
    5.37 +			{
    5.38 +				WindowsIdentity identity = WindowsIdentity.GetCurrent();
    5.39 +				WindowsPrincipal principal = new WindowsPrincipal(identity);
    5.40 +				return principal.IsInRole(WindowsBuiltInRole.Administrator);
    5.41 +			}
    5.42 +			catch
    5.43 +			{
    5.44 +				return false;
    5.45 +			}
    5.46 +		}
    5.47 +
    5.48 +		public StartupManager()
    5.49 +		{
    5.50 +			int p = (int)System.Environment.OSVersion.Platform;
    5.51 +			if ((p == 4) || (p == 128))
    5.52 +			{
    5.53 +				scheduler = null;
    5.54 +				isAvailable = false;
    5.55 +				return;
    5.56 +			}
    5.57 +
    5.58 +			if (IsAdministrator())
    5.59 +			{
    5.60 +				try
    5.61 +				{
    5.62 +					scheduler = new TaskSchedulerClass();
    5.63 +					scheduler.Connect(null, null, null, null);
    5.64 +				}
    5.65 +				catch
    5.66 +				{
    5.67 +					scheduler = null;
    5.68 +				}
    5.69 +
    5.70 +				if (scheduler != null)
    5.71 +				{
    5.72 +					try
    5.73 +					{
    5.74 +						// check if the task scheduler is running
    5.75 +						IRunningTaskCollection collection = scheduler.GetRunningTasks(0);
    5.76 +
    5.77 +						ITaskFolder folder = scheduler.GetFolder("\\Sharp Display Manager");
    5.78 +						IRegisteredTask task = folder.GetTask("Startup");
    5.79 +						startup = (task != null) &&
    5.80 +						  (task.Definition.Triggers.Count > 0) &&
    5.81 +						  (task.Definition.Triggers[1].Type ==
    5.82 +							TASK_TRIGGER_TYPE2.TASK_TRIGGER_LOGON) &&
    5.83 +						  (task.Definition.Actions.Count > 0) &&
    5.84 +						  (task.Definition.Actions[1].Type ==
    5.85 +							TASK_ACTION_TYPE.TASK_ACTION_EXEC) &&
    5.86 +						  (task.Definition.Actions[1] as IExecAction != null) &&
    5.87 +						  ((task.Definition.Actions[1] as IExecAction).Path ==
    5.88 +							Application.ExecutablePath);
    5.89 +					}
    5.90 +					catch (IOException)
    5.91 +					{
    5.92 +						startup = false;
    5.93 +					}
    5.94 +					catch (UnauthorizedAccessException)
    5.95 +					{
    5.96 +						scheduler = null;
    5.97 +					}
    5.98 +					catch (COMException)
    5.99 +					{
   5.100 +						scheduler = null;
   5.101 +					}
   5.102 +				}
   5.103 +			}
   5.104 +			else
   5.105 +			{
   5.106 +				scheduler = null;
   5.107 +			}
   5.108 +
   5.109 +			if (scheduler == null)
   5.110 +			{
   5.111 +				try
   5.112 +				{
   5.113 +					using (RegistryKey key =
   5.114 +					  Registry.CurrentUser.OpenSubKey(REGISTRY_RUN))
   5.115 +					{
   5.116 +						startup = false;
   5.117 +						if (key != null)
   5.118 +						{
   5.119 +							string value = (string)key.GetValue("SharpDisplayManager");
   5.120 +							if (value != null)
   5.121 +								startup = value == Application.ExecutablePath;
   5.122 +						}
   5.123 +					}
   5.124 +					isAvailable = true;
   5.125 +				}
   5.126 +				catch (SecurityException)
   5.127 +				{
   5.128 +					isAvailable = false;
   5.129 +				}
   5.130 +			}
   5.131 +			else
   5.132 +			{
   5.133 +				isAvailable = true;
   5.134 +			}
   5.135 +		}
   5.136 +
   5.137 +		private void CreateSchedulerTask()
   5.138 +		{
   5.139 +			ITaskDefinition definition = scheduler.NewTask(0);
   5.140 +			definition.RegistrationInfo.Description =
   5.141 +			  "This task starts the Sharp Display Manager on Windows startup.";
   5.142 +			definition.Principal.RunLevel =
   5.143 +			  TASK_RUNLEVEL.TASK_RUNLEVEL_HIGHEST;
   5.144 +			definition.Settings.DisallowStartIfOnBatteries = false;
   5.145 +			definition.Settings.StopIfGoingOnBatteries = false;
   5.146 +			definition.Settings.ExecutionTimeLimit = "PT0S";
   5.147 +
   5.148 +			ILogonTrigger trigger = (ILogonTrigger)definition.Triggers.Create(
   5.149 +			  TASK_TRIGGER_TYPE2.TASK_TRIGGER_LOGON);
   5.150 +
   5.151 +			IExecAction action = (IExecAction)definition.Actions.Create(
   5.152 +			  TASK_ACTION_TYPE.TASK_ACTION_EXEC);
   5.153 +			action.Path = Application.ExecutablePath;
   5.154 +			action.WorkingDirectory =
   5.155 +			  Path.GetDirectoryName(Application.ExecutablePath);
   5.156 +
   5.157 +			ITaskFolder root = scheduler.GetFolder("\\");
   5.158 +			ITaskFolder folder;
   5.159 +			try
   5.160 +			{
   5.161 +				folder = root.GetFolder("Sharp Display Manager");
   5.162 +			}
   5.163 +			catch (IOException)
   5.164 +			{
   5.165 +				folder = root.CreateFolder("Sharp Display Manager", "");
   5.166 +			}
   5.167 +			folder.RegisterTaskDefinition("Startup", definition,
   5.168 +			  (int)TASK_CREATION.TASK_CREATE_OR_UPDATE, null, null,
   5.169 +			  TASK_LOGON_TYPE.TASK_LOGON_INTERACTIVE_TOKEN, "");
   5.170 +		}
   5.171 +
   5.172 +		private void DeleteSchedulerTask()
   5.173 +		{
   5.174 +			ITaskFolder root = scheduler.GetFolder("\\");
   5.175 +			try
   5.176 +			{
   5.177 +				ITaskFolder folder = root.GetFolder("Sharp Display Manager");
   5.178 +				folder.DeleteTask("Startup", 0);
   5.179 +			}
   5.180 +			catch (IOException) { }
   5.181 +			try
   5.182 +			{
   5.183 +				root.DeleteFolder("Sharp Display Manager", 0);
   5.184 +			}
   5.185 +			catch (IOException) { }
   5.186 +		}
   5.187 +
   5.188 +		private void CreateRegistryRun()
   5.189 +		{
   5.190 +			RegistryKey key = Registry.CurrentUser.CreateSubKey(REGISTRY_RUN);
   5.191 +			key.SetValue("SharpDisplayManager", Application.ExecutablePath);
   5.192 +		}
   5.193 +
   5.194 +		private void DeleteRegistryRun()
   5.195 +		{
   5.196 +			RegistryKey key = Registry.CurrentUser.CreateSubKey(REGISTRY_RUN);
   5.197 +			key.DeleteValue("SharpDisplayManager");
   5.198 +		}
   5.199 +
   5.200 +		public bool IsAvailable
   5.201 +		{
   5.202 +			get { return isAvailable; }
   5.203 +		}
   5.204 +
   5.205 +		public bool Startup
   5.206 +		{
   5.207 +			get
   5.208 +			{
   5.209 +				return startup;
   5.210 +			}
   5.211 +			set
   5.212 +			{
   5.213 +				if (startup != value)
   5.214 +				{
   5.215 +					if (isAvailable)
   5.216 +					{
   5.217 +						if (scheduler != null)
   5.218 +						{
   5.219 +							if (value)
   5.220 +								CreateSchedulerTask();
   5.221 +							else
   5.222 +								DeleteSchedulerTask();
   5.223 +							startup = value;
   5.224 +						}
   5.225 +						else
   5.226 +						{
   5.227 +							try
   5.228 +							{
   5.229 +								if (value)
   5.230 +									CreateRegistryRun();
   5.231 +								else
   5.232 +									DeleteRegistryRun();
   5.233 +								startup = value;
   5.234 +							}
   5.235 +							catch (UnauthorizedAccessException)
   5.236 +							{
   5.237 +								throw new InvalidOperationException();
   5.238 +							}
   5.239 +						}
   5.240 +					}
   5.241 +					else
   5.242 +					{
   5.243 +						throw new InvalidOperationException();
   5.244 +					}
   5.245 +				}
   5.246 +			}
   5.247 +		}
   5.248 +	}
   5.249 +}
   5.250 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/Server/TaskScheduler.cs	Sun Jan 18 12:35:22 2015 +0100
     6.3 @@ -0,0 +1,1227 @@
     6.4 +/*
     6.5 +
     6.6 +  This Source Code Form is subject to the terms of the Mozilla Public
     6.7 +  License, v. 2.0. If a copy of the MPL was not distributed with this
     6.8 +  file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6.9 +
    6.10 +  Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
    6.11 +
    6.12 +*/
    6.13 +
    6.14 +using System;
    6.15 +using System.Collections;
    6.16 +using System.Reflection;
    6.17 +using System.Runtime.CompilerServices;
    6.18 +using System.Runtime.InteropServices;
    6.19 +
    6.20 +namespace SharpDisplayManager.TaskScheduler
    6.21 +{
    6.22 +	[StructLayout(LayoutKind.Sequential, Pack = 2)]
    6.23 +	public struct SYSTEMTIME
    6.24 +	{
    6.25 +		public ushort wYear;
    6.26 +		public ushort wMonth;
    6.27 +		public ushort wDayOfWeek;
    6.28 +		public ushort wDay;
    6.29 +		public ushort wHour;
    6.30 +		public ushort wMinute;
    6.31 +		public ushort wSecond;
    6.32 +		public ushort wMilliseconds;
    6.33 +	}
    6.34 +
    6.35 +	public enum TASK_ACTION_TYPE
    6.36 +	{
    6.37 +		TASK_ACTION_COM_HANDLER = 5,
    6.38 +		TASK_ACTION_EXEC = 0,
    6.39 +		TASK_ACTION_SEND_EMAIL = 6,
    6.40 +		TASK_ACTION_SHOW_MESSAGE = 7
    6.41 +	}
    6.42 +
    6.43 +	public enum TASK_COMPATIBILITY
    6.44 +	{
    6.45 +		TASK_COMPATIBILITY_AT,
    6.46 +		TASK_COMPATIBILITY_V1,
    6.47 +		TASK_COMPATIBILITY_V2,
    6.48 +		TASK_COMPATIBILITY_V2_1
    6.49 +	}
    6.50 +
    6.51 +	public enum TASK_CREATION
    6.52 +	{
    6.53 +		TASK_CREATE = 2,
    6.54 +		TASK_CREATE_OR_UPDATE = 6,
    6.55 +		TASK_DISABLE = 8,
    6.56 +		TASK_DONT_ADD_PRINCIPAL_ACE = 0x10,
    6.57 +		TASK_IGNORE_REGISTRATION_TRIGGERS = 0x20,
    6.58 +		TASK_UPDATE = 4,
    6.59 +		TASK_VALIDATE_ONLY = 1
    6.60 +	}
    6.61 +
    6.62 +	public enum TASK_ENUM_FLAGS
    6.63 +	{
    6.64 +		TASK_ENUM_HIDDEN = 1
    6.65 +	}
    6.66 +
    6.67 +	public enum TASK_INSTANCES_POLICY
    6.68 +	{
    6.69 +		TASK_INSTANCES_PARALLEL,
    6.70 +		TASK_INSTANCES_QUEUE,
    6.71 +		TASK_INSTANCES_IGNORE_NEW,
    6.72 +		TASK_INSTANCES_STOP_EXISTING
    6.73 +	}
    6.74 +
    6.75 +	public enum TASK_LOGON_TYPE
    6.76 +	{
    6.77 +		TASK_LOGON_NONE,
    6.78 +		TASK_LOGON_PASSWORD,
    6.79 +		TASK_LOGON_S4U,
    6.80 +		TASK_LOGON_INTERACTIVE_TOKEN,
    6.81 +		TASK_LOGON_GROUP,
    6.82 +		TASK_LOGON_SERVICE_ACCOUNT,
    6.83 +		TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD
    6.84 +	}
    6.85 +
    6.86 +	public enum TASK_RUN_FLAGS
    6.87 +	{
    6.88 +		TASK_RUN_AS_SELF = 1,
    6.89 +		TASK_RUN_IGNORE_CONSTRAINTS = 2,
    6.90 +		TASK_RUN_NO_FLAGS = 0,
    6.91 +		TASK_RUN_USE_SESSION_ID = 4,
    6.92 +		TASK_RUN_USER_SID = 8
    6.93 +	}
    6.94 +
    6.95 +	public enum TASK_RUNLEVEL
    6.96 +	{
    6.97 +		TASK_RUNLEVEL_LUA,
    6.98 +		TASK_RUNLEVEL_HIGHEST
    6.99 +	}
   6.100 +
   6.101 +	public enum TASK_SESSION_STATE_CHANGE_TYPE
   6.102 +	{
   6.103 +		TASK_CONSOLE_CONNECT = 1,
   6.104 +		TASK_CONSOLE_DISCONNECT = 2,
   6.105 +		TASK_REMOTE_CONNECT = 3,
   6.106 +		TASK_REMOTE_DISCONNECT = 4,
   6.107 +		TASK_SESSION_LOCK = 7,
   6.108 +		TASK_SESSION_UNLOCK = 8
   6.109 +	}
   6.110 +
   6.111 +	public enum TASK_STATE
   6.112 +	{
   6.113 +		TASK_STATE_UNKNOWN,
   6.114 +		TASK_STATE_DISABLED,
   6.115 +		TASK_STATE_QUEUED,
   6.116 +		TASK_STATE_READY,
   6.117 +		TASK_STATE_RUNNING
   6.118 +	}
   6.119 +
   6.120 +	public enum TASK_TRIGGER_TYPE2
   6.121 +	{
   6.122 +		TASK_TRIGGER_BOOT = 8,
   6.123 +		TASK_TRIGGER_DAILY = 2,
   6.124 +		TASK_TRIGGER_EVENT = 0,
   6.125 +		TASK_TRIGGER_IDLE = 6,
   6.126 +		TASK_TRIGGER_LOGON = 9,
   6.127 +		TASK_TRIGGER_MONTHLY = 4,
   6.128 +		TASK_TRIGGER_MONTHLYDOW = 5,
   6.129 +		TASK_TRIGGER_REGISTRATION = 7,
   6.130 +		TASK_TRIGGER_SESSION_STATE_CHANGE = 11,
   6.131 +		TASK_TRIGGER_TIME = 1,
   6.132 +		TASK_TRIGGER_WEEKLY = 3
   6.133 +	}
   6.134 +
   6.135 +	[ComImport, TypeLibType((short)0x10c0), Guid("BAE54997-48B1-4CBE-9965-D6BE263EBEA4")]
   6.136 +	public interface IAction
   6.137 +	{
   6.138 +		[DispId(1)]
   6.139 +		string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.140 +
   6.141 +		[DispId(2)]
   6.142 +		TASK_ACTION_TYPE Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.143 +	}
   6.144 +
   6.145 +	[ComImport, TypeLibType((short)0x10c0), Guid("02820E19-7B98-4ED2-B2E8-FDCCCEFF619B")]
   6.146 +	public interface IActionCollection : IEnumerable
   6.147 +	{
   6.148 +		[DispId(1)]
   6.149 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.150 +
   6.151 +		[DispId(0)]
   6.152 +		IAction this[int index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.153 +
   6.154 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.155 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
   6.156 +		new IEnumerator GetEnumerator();
   6.157 +
   6.158 +		[DispId(2)]
   6.159 +		string XmlText { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.160 +
   6.161 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.162 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)]
   6.163 +		IAction Create([In] TASK_ACTION_TYPE Type);
   6.164 +
   6.165 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
   6.166 +		void Remove([In, MarshalAs(UnmanagedType.Struct)] object index);
   6.167 +
   6.168 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
   6.169 +		void Clear();
   6.170 +
   6.171 +		[DispId(6)]
   6.172 +		string Context { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.173 +	}
   6.174 +
   6.175 +	[ComImport, Guid("2A9C35DA-D357-41F4-BBC1-207AC1B1F3CB"), TypeLibType((short)0x10c0)]
   6.176 +	public interface IBootTrigger : ITrigger
   6.177 +	{
   6.178 +		[DispId(1)]
   6.179 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.180 +
   6.181 +		[DispId(2)]
   6.182 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.183 +
   6.184 +		[DispId(3)]
   6.185 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.186 +
   6.187 +		[DispId(4)]
   6.188 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.189 +
   6.190 +		[DispId(5)]
   6.191 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.192 +
   6.193 +		[DispId(6)]
   6.194 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.195 +
   6.196 +		[DispId(7)]
   6.197 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.198 +
   6.199 +		[DispId(20)]
   6.200 +		string Delay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.201 +	}
   6.202 +
   6.203 +	[ComImport, TypeLibType((short)0x10c0), Guid("6D2FD252-75C5-4F66-90BA-2A7D8CC3039F")]
   6.204 +	public interface IComHandlerAction : IAction
   6.205 +	{
   6.206 +		[DispId(1)]
   6.207 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.208 +
   6.209 +		[DispId(2)]
   6.210 +		new TASK_ACTION_TYPE Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.211 +
   6.212 +		[DispId(10)]
   6.213 +		string ClassId { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.214 +
   6.215 +		[DispId(11)]
   6.216 +		string Data { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.217 +	}
   6.218 +
   6.219 +	[ComImport, TypeLibType((short)0x10c0), Guid("126C5CD8-B288-41D5-8DBF-E491446ADC5C")]
   6.220 +	public interface IDailyTrigger : ITrigger
   6.221 +	{
   6.222 +		[DispId(1)]
   6.223 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.224 +
   6.225 +		[DispId(2)]
   6.226 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.227 +
   6.228 +		[DispId(3)]
   6.229 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.230 +
   6.231 +		[DispId(4)]
   6.232 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.233 +
   6.234 +		[DispId(5)]
   6.235 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.236 +
   6.237 +		[DispId(6)]
   6.238 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.239 +
   6.240 +		[DispId(7)]
   6.241 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.242 +
   6.243 +		[DispId(0x19)]
   6.244 +		short DaysInterval { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] set; }
   6.245 +
   6.246 +		[DispId(20)]
   6.247 +		string RandomDelay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.248 +	}
   6.249 +
   6.250 +	[ComImport, TypeLibType((short)0x10c0), Guid("10F62C64-7E16-4314-A0C2-0C3683F99D40")]
   6.251 +	public interface IEmailAction : IAction
   6.252 +	{
   6.253 +		[DispId(1)]
   6.254 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.255 +
   6.256 +		[DispId(2)]
   6.257 +		new TASK_ACTION_TYPE Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.258 +
   6.259 +		[DispId(10)]
   6.260 +		string Server { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.261 +
   6.262 +		[DispId(11)]
   6.263 +		string Subject { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.264 +
   6.265 +		[DispId(12)]
   6.266 +		string To { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] set; }
   6.267 +
   6.268 +		[DispId(13)]
   6.269 +		string Cc { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] set; }
   6.270 +
   6.271 +		[DispId(14)]
   6.272 +		string Bcc { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] set; }
   6.273 +
   6.274 +		[DispId(15)]
   6.275 +		string ReplyTo { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(15)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(15)] set; }
   6.276 +
   6.277 +		[DispId(0x10)]
   6.278 +		string From { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x10)] set; }
   6.279 +
   6.280 +		[DispId(0x11)]
   6.281 +		ITaskNamedValueCollection HeaderFields { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x11)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x11)] set; }
   6.282 +
   6.283 +		[DispId(0x12)]
   6.284 +		string Body { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12)] set; }
   6.285 +
   6.286 +		[DispId(0x13)]
   6.287 +		Array Attachments { [return: MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x13)] get; [param: In, MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x13)] set; }
   6.288 +	}
   6.289 +
   6.290 +	[ComImport, TypeLibType((short)0x10c0), Guid("D45B0167-9653-4EEF-B94F-0732CA7AF251")]
   6.291 +	public interface IEventTrigger : ITrigger
   6.292 +	{
   6.293 +		[DispId(1)]
   6.294 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.295 +
   6.296 +		[DispId(2)]
   6.297 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.298 +
   6.299 +		[DispId(3)]
   6.300 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.301 +
   6.302 +		[DispId(4)]
   6.303 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.304 +
   6.305 +		[DispId(5)]
   6.306 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.307 +
   6.308 +		[DispId(6)]
   6.309 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.310 +
   6.311 +		[DispId(7)]
   6.312 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.313 +
   6.314 +		[DispId(20)]
   6.315 +		string Subscription { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.316 +
   6.317 +		[DispId(0x15)]
   6.318 +		string Delay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] set; }
   6.319 +
   6.320 +		[DispId(0x16)]
   6.321 +		ITaskNamedValueCollection ValueQueries { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] set; }
   6.322 +	}
   6.323 +
   6.324 +	[ComImport, Guid("4C3D624D-FD6B-49A3-B9B7-09CB3CD3F047"), TypeLibType((short)0x10c0)]
   6.325 +	public interface IExecAction : IAction
   6.326 +	{
   6.327 +		[DispId(1)]
   6.328 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.329 +
   6.330 +		[DispId(2)]
   6.331 +		new TASK_ACTION_TYPE Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.332 +
   6.333 +		[DispId(10)]
   6.334 +		string Path { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.335 +
   6.336 +		[DispId(11)]
   6.337 +		string Arguments { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.338 +
   6.339 +		[DispId(12)]
   6.340 +		string WorkingDirectory { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] set; }
   6.341 +	}
   6.342 +
   6.343 +	[ComImport, Guid("84594461-0053-4342-A8FD-088FABF11F32"), TypeLibType((short)0x10c0)]
   6.344 +	public interface IIdleSettings
   6.345 +	{
   6.346 +		[DispId(1)]
   6.347 +		string IdleDuration { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.348 +
   6.349 +		[DispId(2)]
   6.350 +		string WaitTimeout { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.351 +
   6.352 +		[DispId(3)]
   6.353 +		bool StopOnIdleEnd { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.354 +
   6.355 +		[DispId(4)]
   6.356 +		bool RestartOnIdle { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.357 +	}
   6.358 +
   6.359 +	[ComImport, Guid("D537D2B0-9FB3-4D34-9739-1FF5CE7B1EF3"), TypeLibType((short)0x10c0)]
   6.360 +	public interface IIdleTrigger : ITrigger
   6.361 +	{
   6.362 +		[DispId(1)]
   6.363 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.364 +
   6.365 +		[DispId(2)]
   6.366 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.367 +
   6.368 +		[DispId(3)]
   6.369 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.370 +
   6.371 +		[DispId(4)]
   6.372 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.373 +
   6.374 +		[DispId(5)]
   6.375 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.376 +
   6.377 +		[DispId(6)]
   6.378 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.379 +
   6.380 +		[DispId(7)]
   6.381 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.382 +	}
   6.383 +
   6.384 +	[ComImport, Guid("72DADE38-FAE4-4B3E-BAF4-5D009AF02B1C"), TypeLibType((short)0x10c0)]
   6.385 +	public interface ILogonTrigger : ITrigger
   6.386 +	{
   6.387 +		[DispId(1)]
   6.388 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.389 +
   6.390 +		[DispId(2)]
   6.391 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.392 +
   6.393 +		[DispId(3)]
   6.394 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.395 +
   6.396 +		[DispId(4)]
   6.397 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.398 +
   6.399 +		[DispId(5)]
   6.400 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.401 +
   6.402 +		[DispId(6)]
   6.403 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.404 +
   6.405 +		[DispId(7)]
   6.406 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.407 +
   6.408 +		[DispId(20)]
   6.409 +		string Delay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.410 +
   6.411 +		[DispId(0x15)]
   6.412 +		string UserId { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] set; }
   6.413 +	}
   6.414 +
   6.415 +	[ComImport, Guid("77D025A3-90FA-43AA-B52E-CDA5499B946A"), TypeLibType((short)0x10c0)]
   6.416 +	public interface IMonthlyDOWTrigger : ITrigger
   6.417 +	{
   6.418 +		[DispId(1)]
   6.419 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.420 +
   6.421 +		[DispId(2)]
   6.422 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.423 +
   6.424 +		[DispId(3)]
   6.425 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.426 +
   6.427 +		[DispId(4)]
   6.428 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.429 +
   6.430 +		[DispId(5)]
   6.431 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.432 +
   6.433 +		[DispId(6)]
   6.434 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.435 +
   6.436 +		[DispId(7)]
   6.437 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.438 +
   6.439 +		[DispId(0x19)]
   6.440 +		short DaysOfWeek { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] set; }
   6.441 +
   6.442 +		[DispId(0x1a)]
   6.443 +		short WeeksOfMonth { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] set; }
   6.444 +
   6.445 +		[DispId(0x1b)]
   6.446 +		short MonthsOfYear { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1b)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1b)] set; }
   6.447 +
   6.448 +		[DispId(0x1c)]
   6.449 +		bool RunOnLastWeekOfMonth { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1c)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1c)] set; }
   6.450 +
   6.451 +		[DispId(20)]
   6.452 +		string RandomDelay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.453 +	}
   6.454 +
   6.455 +	[ComImport, Guid("97C45EF1-6B02-4A1A-9C0E-1EBFBA1500AC"), TypeLibType((short)0x10c0)]
   6.456 +	public interface IMonthlyTrigger : ITrigger
   6.457 +	{
   6.458 +		[DispId(1)]
   6.459 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.460 +
   6.461 +		[DispId(2)]
   6.462 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.463 +
   6.464 +		[DispId(3)]
   6.465 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.466 +
   6.467 +		[DispId(4)]
   6.468 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.469 +
   6.470 +		[DispId(5)]
   6.471 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.472 +
   6.473 +		[DispId(6)]
   6.474 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.475 +
   6.476 +		[DispId(7)]
   6.477 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.478 +
   6.479 +		[DispId(0x19)]
   6.480 +		int DaysOfMonth { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] set; }
   6.481 +
   6.482 +		[DispId(0x1a)]
   6.483 +		short MonthsOfYear { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] set; }
   6.484 +
   6.485 +		[DispId(0x1b)]
   6.486 +		bool RunOnLastDayOfMonth { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1b)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1b)] set; }
   6.487 +
   6.488 +		[DispId(20)]
   6.489 +		string RandomDelay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.490 +	}
   6.491 +
   6.492 +	[ComImport, Guid("9F7DEA84-C30B-4245-80B6-00E9F646F1B4"), TypeLibType((short)0x10c0)]
   6.493 +	public interface INetworkSettings
   6.494 +	{
   6.495 +		[DispId(1)]
   6.496 +		string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.497 +
   6.498 +		[DispId(2)]
   6.499 +		string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.500 +	}
   6.501 +
   6.502 +	[ComImport, Guid("D98D51E5-C9B4-496A-A9C1-18980261CF0F"), TypeLibType((short)0x10c0)]
   6.503 +	public interface IPrincipal
   6.504 +	{
   6.505 +		[DispId(1)]
   6.506 +		string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.507 +
   6.508 +		[DispId(2)]
   6.509 +		string DisplayName { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.510 +
   6.511 +		[DispId(3)]
   6.512 +		string UserId { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.513 +
   6.514 +		[DispId(4)]
   6.515 +		TASK_LOGON_TYPE LogonType { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.516 +
   6.517 +		[DispId(5)]
   6.518 +		string GroupId { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.519 +
   6.520 +		[DispId(6)]
   6.521 +		TASK_RUNLEVEL RunLevel { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.522 +	}
   6.523 +
   6.524 +	[ComImport, DefaultMember("Path"), Guid("9C86F320-DEE3-4DD1-B972-A303F26B061E"), TypeLibType((short)0x10c0), ComConversionLoss]
   6.525 +	public interface IRegisteredTask
   6.526 +	{
   6.527 +		[DispId(1)]
   6.528 +		string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.529 +
   6.530 +		[DispId(0)]
   6.531 +		string Path { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.532 +
   6.533 +		[DispId(2)]
   6.534 +		TASK_STATE State { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.535 +
   6.536 +		[DispId(3)]
   6.537 +		bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.538 +
   6.539 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.540 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
   6.541 +		IRunningTask Run([In, MarshalAs(UnmanagedType.Struct)] object parameters);
   6.542 +
   6.543 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.544 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)]
   6.545 +		IRunningTask RunEx([In, MarshalAs(UnmanagedType.Struct)] object parameters, [In] int flags, [In] int sessionID, [In, MarshalAs(UnmanagedType.BStr)] string user);
   6.546 +
   6.547 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.548 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)]
   6.549 +		IRunningTaskCollection GetInstances([In] int flags);
   6.550 +
   6.551 +		[DispId(8)]
   6.552 +		DateTime LastRunTime { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] get; }
   6.553 +
   6.554 +		[DispId(9)]
   6.555 +		int LastTaskResult { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] get; }
   6.556 +
   6.557 +		[DispId(11)]
   6.558 +		int NumberOfMissedRuns { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; }
   6.559 +
   6.560 +		[DispId(12)]
   6.561 +		DateTime NextRunTime { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; }
   6.562 +
   6.563 +		[DispId(13)]
   6.564 +		ITaskDefinition Definition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] get; }
   6.565 +
   6.566 +		[DispId(14)]
   6.567 +		string Xml { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] get; }
   6.568 +
   6.569 +		[return: MarshalAs(UnmanagedType.BStr)]
   6.570 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(15)]
   6.571 +		string GetSecurityDescriptor([In] int securityInformation);
   6.572 +
   6.573 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x10)]
   6.574 +		void SetSecurityDescriptor([In, MarshalAs(UnmanagedType.BStr)] string sddl, [In] int flags);
   6.575 +
   6.576 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x11)]
   6.577 +		void Stop([In] int flags);
   6.578 +
   6.579 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), TypeLibFunc((short)0x41), DispId(0x60020011)]
   6.580 +		void GetRunTimes([In] ref SYSTEMTIME pstStart, [In] ref SYSTEMTIME pstEnd, [In, Out] ref uint pCount, [Out] IntPtr pRunTimes);
   6.581 +	}
   6.582 +
   6.583 +	[ComImport, TypeLibType((short)0x10c0), Guid("86627EB4-42A7-41E4-A4D9-AC33A72F2D52")]
   6.584 +	public interface IRegisteredTaskCollection : IEnumerable
   6.585 +	{
   6.586 +		[DispId(0x60020000)]
   6.587 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x60020000)] get; }
   6.588 +
   6.589 +		[DispId(0)]
   6.590 +		IRegisteredTask this[object index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.591 +
   6.592 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.593 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
   6.594 +		new IEnumerator GetEnumerator();
   6.595 +	}
   6.596 +
   6.597 +	[ComImport, Guid("416D8B73-CB41-4EA1-805C-9BE9A5AC4A74"), TypeLibType((short)0x10c0)]
   6.598 +	public interface IRegistrationInfo
   6.599 +	{
   6.600 +		[DispId(1)]
   6.601 +		string Description { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.602 +
   6.603 +		[DispId(2)]
   6.604 +		string Author { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.605 +
   6.606 +		[DispId(4)]
   6.607 +		string Version { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.608 +
   6.609 +		[DispId(5)]
   6.610 +		string Date { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.611 +
   6.612 +		[DispId(6)]
   6.613 +		string Documentation { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.614 +
   6.615 +		[DispId(9)]
   6.616 +		string XmlText { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] set; }
   6.617 +
   6.618 +		[DispId(10)]
   6.619 +		string URI { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.620 +
   6.621 +		[DispId(11)]
   6.622 +		object SecurityDescriptor { [return: MarshalAs(UnmanagedType.Struct)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.Struct)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.623 +
   6.624 +		[DispId(12)]
   6.625 +		string Source { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] set; }
   6.626 +	}
   6.627 +
   6.628 +	[ComImport, Guid("4C8FEC3A-C218-4E0C-B23D-629024DB91A2"), TypeLibType((short)0x10c0)]
   6.629 +	public interface IRegistrationTrigger : ITrigger
   6.630 +	{
   6.631 +		[DispId(1)]
   6.632 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.633 +
   6.634 +		[DispId(2)]
   6.635 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.636 +
   6.637 +		[DispId(3)]
   6.638 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.639 +
   6.640 +		[DispId(4)]
   6.641 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.642 +
   6.643 +		[DispId(5)]
   6.644 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.645 +
   6.646 +		[DispId(6)]
   6.647 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.648 +
   6.649 +		[DispId(7)]
   6.650 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.651 +
   6.652 +		[DispId(20)]
   6.653 +		string Delay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.654 +	}
   6.655 +
   6.656 +	[ComImport, TypeLibType((short)0x10c0), Guid("7FB9ACF1-26BE-400E-85B5-294B9C75DFD6")]
   6.657 +	public interface IRepetitionPattern
   6.658 +	{
   6.659 +		[DispId(1)]
   6.660 +		string Interval { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.661 +
   6.662 +		[DispId(2)]
   6.663 +		string Duration { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.664 +
   6.665 +		[DispId(3)]
   6.666 +		bool StopAtDurationEnd { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.667 +	}
   6.668 +
   6.669 +	[ComImport, Guid("653758FB-7B9A-4F1E-A471-BEEB8E9B834E"), TypeLibType((short)0x10c0), DefaultMember("InstanceGuid")]
   6.670 +	public interface IRunningTask
   6.671 +	{
   6.672 +		[DispId(1)]
   6.673 +		string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.674 +
   6.675 +		[DispId(0)]
   6.676 +		string InstanceGuid { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.677 +
   6.678 +		[DispId(2)]
   6.679 +		string Path { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.680 +
   6.681 +		[DispId(3)]
   6.682 +		TASK_STATE State { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; }
   6.683 +
   6.684 +		[DispId(4)]
   6.685 +		string CurrentAction { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; }
   6.686 +
   6.687 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
   6.688 +		void Stop();
   6.689 +
   6.690 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)]
   6.691 +		void Refresh();
   6.692 +
   6.693 +		[DispId(7)]
   6.694 +		uint EnginePID { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; }
   6.695 +	}
   6.696 +
   6.697 +	[ComImport, Guid("6A67614B-6828-4FEC-AA54-6D52E8F1F2DB"), TypeLibType((short)0x10c0)]
   6.698 +	public interface IRunningTaskCollection : IEnumerable
   6.699 +	{
   6.700 +		[DispId(1)]
   6.701 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.702 +
   6.703 +		[DispId(0)]
   6.704 +		IRunningTask this[object index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.705 +
   6.706 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.707 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
   6.708 +		new IEnumerator GetEnumerator();
   6.709 +	}
   6.710 +
   6.711 +	[ComImport, Guid("754DA71B-4385-4475-9DD9-598294FA3641"), TypeLibType((short)0x10c0)]
   6.712 +	public interface ISessionStateChangeTrigger : ITrigger
   6.713 +	{
   6.714 +		[DispId(1)]
   6.715 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.716 +
   6.717 +		[DispId(2)]
   6.718 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.719 +
   6.720 +		[DispId(3)]
   6.721 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.722 +
   6.723 +		[DispId(4)]
   6.724 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.725 +
   6.726 +		[DispId(5)]
   6.727 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.728 +
   6.729 +		[DispId(6)]
   6.730 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.731 +
   6.732 +		[DispId(7)]
   6.733 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.734 +
   6.735 +		[DispId(20)]
   6.736 +		string Delay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
   6.737 +
   6.738 +		[DispId(0x15)]
   6.739 +		string UserId { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] set; }
   6.740 +
   6.741 +		[DispId(0x16)]
   6.742 +		TASK_SESSION_STATE_CHANGE_TYPE StateChange { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] set; }
   6.743 +	}
   6.744 +
   6.745 +	[ComImport, TypeLibType((short)0x10c0), Guid("505E9E68-AF89-46B8-A30F-56162A83D537")]
   6.746 +	public interface IShowMessageAction : IAction
   6.747 +	{
   6.748 +		[DispId(1)]
   6.749 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.750 +
   6.751 +		[DispId(2)]
   6.752 +		new TASK_ACTION_TYPE Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; }
   6.753 +
   6.754 +		[DispId(10)]
   6.755 +		string Title { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.756 +
   6.757 +		[DispId(11)]
   6.758 +		string MessageBody { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.759 +	}
   6.760 +
   6.761 +	[ComImport, TypeLibType((short)0x10c0), Guid("F5BC8FC5-536D-4F77-B852-FBC1356FDEB6")]
   6.762 +	public interface ITaskDefinition
   6.763 +	{
   6.764 +		[DispId(1)]
   6.765 +		IRegistrationInfo RegistrationInfo { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.766 +
   6.767 +		[DispId(2)]
   6.768 +		ITriggerCollection Triggers { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
   6.769 +
   6.770 +		[DispId(7)]
   6.771 +		ITaskSettings Settings { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.772 +
   6.773 +		[DispId(11)]
   6.774 +		string Data { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.775 +
   6.776 +		[DispId(12)]
   6.777 +		IPrincipal Principal { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] set; }
   6.778 +
   6.779 +		[DispId(13)]
   6.780 +		IActionCollection Actions { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] set; }
   6.781 +
   6.782 +		[DispId(14)]
   6.783 +		string XmlText { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] set; }
   6.784 +	}
   6.785 +
   6.786 +	[ComImport, DefaultMember("Path"), Guid("8CFAC062-A080-4C15-9A88-AA7C2AF80DFC"), TypeLibType((short)0x10c0)]
   6.787 +	public interface ITaskFolder
   6.788 +	{
   6.789 +		[DispId(1)]
   6.790 +		string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.791 +
   6.792 +		[DispId(0)]
   6.793 +		string Path { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.794 +
   6.795 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.796 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)]
   6.797 +		ITaskFolder GetFolder([MarshalAs(UnmanagedType.BStr)] string Path);
   6.798 +
   6.799 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.800 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
   6.801 +		ITaskFolderCollection GetFolders([In] int flags);
   6.802 +
   6.803 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.804 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
   6.805 +		ITaskFolder CreateFolder([In, MarshalAs(UnmanagedType.BStr)] string subFolderName, [In, Optional, MarshalAs(UnmanagedType.Struct)] object sddl);
   6.806 +
   6.807 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)]
   6.808 +		void DeleteFolder([MarshalAs(UnmanagedType.BStr)] string subFolderName, [In] int flags);
   6.809 +
   6.810 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.811 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)]
   6.812 +		IRegisteredTask GetTask([In, MarshalAs(UnmanagedType.BStr)] string Path);
   6.813 +
   6.814 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.815 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)]
   6.816 +		IRegisteredTaskCollection GetTasks([In] int flags);
   6.817 +
   6.818 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)]
   6.819 +		void DeleteTask([In, MarshalAs(UnmanagedType.BStr)] string Name, [In] int flags);
   6.820 +
   6.821 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.822 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)]
   6.823 +		IRegisteredTask RegisterTask([In, MarshalAs(UnmanagedType.BStr)] string Path, [In, MarshalAs(UnmanagedType.BStr)] string XmlText, [In] int flags, [In, MarshalAs(UnmanagedType.Struct)] object UserId, [In, MarshalAs(UnmanagedType.Struct)] object password, [In] TASK_LOGON_TYPE LogonType, [In, Optional, MarshalAs(UnmanagedType.Struct)] object sddl);
   6.824 +
   6.825 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.826 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)]
   6.827 +		IRegisteredTask RegisterTaskDefinition([In, MarshalAs(UnmanagedType.BStr)] string Path, [In, MarshalAs(UnmanagedType.Interface)] ITaskDefinition pDefinition, [In] int flags, [In, MarshalAs(UnmanagedType.Struct)] object UserId, [In, MarshalAs(UnmanagedType.Struct)] object password, [In] TASK_LOGON_TYPE LogonType, [In, Optional, MarshalAs(UnmanagedType.Struct)] object sddl);
   6.828 +
   6.829 +		[return: MarshalAs(UnmanagedType.BStr)]
   6.830 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)]
   6.831 +		string GetSecurityDescriptor(int securityInformation);
   6.832 +
   6.833 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)]
   6.834 +		void SetSecurityDescriptor([In, MarshalAs(UnmanagedType.BStr)] string sddl, [In] int flags);
   6.835 +	}
   6.836 +
   6.837 +	[ComImport, TypeLibType((short)0x10c0), Guid("79184A66-8664-423F-97F1-637356A5D812")]
   6.838 +	public interface ITaskFolderCollection : IEnumerable
   6.839 +	{
   6.840 +		[DispId(0x60020000)]
   6.841 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x60020000)] get; }
   6.842 +
   6.843 +		[DispId(0)]
   6.844 +		ITaskFolder this[object index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.845 +
   6.846 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.847 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
   6.848 +		new IEnumerator GetEnumerator();
   6.849 +	}
   6.850 +
   6.851 +	[ComImport, Guid("839D7762-5121-4009-9234-4F0D19394F04"), InterfaceType((short)1)]
   6.852 +	public interface ITaskHandler
   6.853 +	{
   6.854 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.855 +		void Start([In, MarshalAs(UnmanagedType.IUnknown)] object pHandlerServices, [In, MarshalAs(UnmanagedType.BStr)] string Data);
   6.856 +
   6.857 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.858 +		void Stop([MarshalAs(UnmanagedType.Error)] out int pRetCode);
   6.859 +
   6.860 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.861 +		void Pause();
   6.862 +
   6.863 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.864 +		void Resume();
   6.865 +	}
   6.866 +
   6.867 +	[ComImport, Guid("EAEC7A8F-27A0-4DDC-8675-14726A01A38A"), InterfaceType((short)1)]
   6.868 +	public interface ITaskHandlerStatus
   6.869 +	{
   6.870 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.871 +		void UpdateStatus([In] short percentComplete, [In, MarshalAs(UnmanagedType.BStr)] string statusMessage);
   6.872 +
   6.873 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
   6.874 +		void TaskCompleted([In, MarshalAs(UnmanagedType.Error)] int taskErrCode);
   6.875 +	}
   6.876 +
   6.877 +	[ComImport, Guid("B4EF826B-63C3-46E4-A504-EF69E4F7EA4D"), TypeLibType((short)0x10c0)]
   6.878 +	public interface ITaskNamedValueCollection : IEnumerable
   6.879 +	{
   6.880 +		[DispId(1)]
   6.881 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
   6.882 +
   6.883 +		[DispId(0)]
   6.884 +		ITaskNamedValuePair this[int index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.885 +
   6.886 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.887 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
   6.888 +		new IEnumerator GetEnumerator();
   6.889 +
   6.890 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.891 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)]
   6.892 +		ITaskNamedValuePair Create([In, MarshalAs(UnmanagedType.BStr)] string Name, [In, MarshalAs(UnmanagedType.BStr)] string Value);
   6.893 +
   6.894 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
   6.895 +		void Remove([In] int index);
   6.896 +
   6.897 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
   6.898 +		void Clear();
   6.899 +	}
   6.900 +
   6.901 +	[ComImport, TypeLibType((short)0x10c0), DefaultMember("Name"), Guid("39038068-2B46-4AFD-8662-7BB6F868D221")]
   6.902 +	public interface ITaskNamedValuePair
   6.903 +	{
   6.904 +		[DispId(0)]
   6.905 +		string Name { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] set; }
   6.906 +
   6.907 +		[DispId(1)]
   6.908 +		string Value { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] set; }
   6.909 +	}
   6.910 +
   6.911 +	[ComImport, TypeLibType((short)0x10c0), DefaultMember("TargetServer"), Guid("2FABA4C7-4DA9-4013-9697-20CC3FD40F85")]
   6.912 +	public interface ITaskService
   6.913 +	{
   6.914 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.915 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)]
   6.916 +		ITaskFolder GetFolder([In, MarshalAs(UnmanagedType.BStr)] string Path);
   6.917 +
   6.918 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.919 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)]
   6.920 +		IRunningTaskCollection GetRunningTasks([In] int flags);
   6.921 +
   6.922 +		[return: MarshalAs(UnmanagedType.Interface)]
   6.923 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)]
   6.924 +		ITaskDefinition NewTask([In] uint flags);
   6.925 +
   6.926 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
   6.927 +		void Connect([In, Optional, MarshalAs(UnmanagedType.Struct)] object serverName, [In, Optional, MarshalAs(UnmanagedType.Struct)] object user, [In, Optional, MarshalAs(UnmanagedType.Struct)] object domain, [In, Optional, MarshalAs(UnmanagedType.Struct)] object password);
   6.928 +
   6.929 +		[DispId(5)]
   6.930 +		bool Connected { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; }
   6.931 +
   6.932 +		[DispId(0)]
   6.933 +		string TargetServer { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
   6.934 +
   6.935 +		[DispId(6)]
   6.936 +		string ConnectedUser { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; }
   6.937 +
   6.938 +		[DispId(7)]
   6.939 +		string ConnectedDomain { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; }
   6.940 +
   6.941 +		[DispId(8)]
   6.942 +		uint HighestVersion { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] get; }
   6.943 +	}
   6.944 +
   6.945 +	[ComImport, TypeLibType((short)0x10c0), Guid("8FD4711D-2D02-4C8C-87E3-EFF699DE127E")]
   6.946 +	public interface ITaskSettings
   6.947 +	{
   6.948 +		[DispId(3)]
   6.949 +		bool AllowDemandStart { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
   6.950 +
   6.951 +		[DispId(4)]
   6.952 +		string RestartInterval { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
   6.953 +
   6.954 +		[DispId(5)]
   6.955 +		int RestartCount { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
   6.956 +
   6.957 +		[DispId(6)]
   6.958 +		TASK_INSTANCES_POLICY MultipleInstances { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
   6.959 +
   6.960 +		[DispId(7)]
   6.961 +		bool StopIfGoingOnBatteries { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
   6.962 +
   6.963 +		[DispId(8)]
   6.964 +		bool DisallowStartIfOnBatteries { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] set; }
   6.965 +
   6.966 +		[DispId(9)]
   6.967 +		bool AllowHardTerminate { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] set; }
   6.968 +
   6.969 +		[DispId(10)]
   6.970 +		bool StartWhenAvailable { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] set; }
   6.971 +
   6.972 +		[DispId(11)]
   6.973 +		string XmlText { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] set; }
   6.974 +
   6.975 +		[DispId(12)]
   6.976 +		bool RunOnlyIfNetworkAvailable { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] set; }
   6.977 +
   6.978 +		[DispId(13)]
   6.979 +		string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] set; }
   6.980 +
   6.981 +		[DispId(14)]
   6.982 +		bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(14)] set; }
   6.983 +
   6.984 +		[DispId(15)]
   6.985 +		string DeleteExpiredTaskAfter { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(15)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(15)] set; }
   6.986 +
   6.987 +		[DispId(0x10)]
   6.988 +		int Priority { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x10)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x10)] set; }
   6.989 +
   6.990 +		[DispId(0x11)]
   6.991 +		TASK_COMPATIBILITY Compatibility { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x11)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x11)] set; }
   6.992 +
   6.993 +		[DispId(0x12)]
   6.994 +		bool Hidden { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12)] set; }
   6.995 +
   6.996 +		[DispId(0x13)]
   6.997 +		IIdleSettings IdleSettings { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x13)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x13)] set; }
   6.998 +
   6.999 +		[DispId(20)]
  6.1000 +		bool RunOnlyIfIdle { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
  6.1001 +
  6.1002 +		[DispId(0x15)]
  6.1003 +		bool WakeToRun { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x15)] set; }
  6.1004 +
  6.1005 +		[DispId(0x16)]
  6.1006 +		INetworkSettings NetworkSettings { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x16)] set; }
  6.1007 +	}
  6.1008 +
  6.1009 +	[ComImport, Guid("2C05C3F0-6EED-4C05-A15F-ED7D7A98A369"), TypeLibType((short)0x10c0)]
  6.1010 +	public interface ITaskSettings2
  6.1011 +	{
  6.1012 +		[DispId(30)]
  6.1013 +		bool DisallowStartOnRemoteAppSession { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(30)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(30)] set; }
  6.1014 +
  6.1015 +		[DispId(0x1f)]
  6.1016 +		bool UseUnifiedSchedulingEngine { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1f)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1f)] set; }
  6.1017 +	}
  6.1018 +
  6.1019 +	[ComImport, Guid("3E4C9351-D966-4B8B-BB87-CEBA68BB0107"), InterfaceType((short)1)]
  6.1020 +	public interface ITaskVariables
  6.1021 +	{
  6.1022 +		[return: MarshalAs(UnmanagedType.BStr)]
  6.1023 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1024 +		string GetInput();
  6.1025 +
  6.1026 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1027 +		void SetOutput([In, MarshalAs(UnmanagedType.BStr)] string input);
  6.1028 +
  6.1029 +		[return: MarshalAs(UnmanagedType.BStr)]
  6.1030 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1031 +		string GetContext();
  6.1032 +	}
  6.1033 +
  6.1034 +	[ComImport, Guid("B45747E0-EBA7-4276-9F29-85C5BB300006"), TypeLibType((short)0x10c0)]
  6.1035 +	public interface ITimeTrigger : ITrigger
  6.1036 +	{
  6.1037 +		[DispId(1)]
  6.1038 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
  6.1039 +
  6.1040 +		[DispId(2)]
  6.1041 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
  6.1042 +
  6.1043 +		[DispId(3)]
  6.1044 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
  6.1045 +
  6.1046 +		[DispId(4)]
  6.1047 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
  6.1048 +
  6.1049 +		[DispId(5)]
  6.1050 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
  6.1051 +
  6.1052 +		[DispId(6)]
  6.1053 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
  6.1054 +
  6.1055 +		[DispId(7)]
  6.1056 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
  6.1057 +
  6.1058 +		[DispId(20)]
  6.1059 +		string RandomDelay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
  6.1060 +	}
  6.1061 +
  6.1062 +	[ComImport, TypeLibType((short)0x10c0), Guid("09941815-EA89-4B5B-89E0-2A773801FAC3")]
  6.1063 +	public interface ITrigger
  6.1064 +	{
  6.1065 +		[DispId(1)]
  6.1066 +		TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
  6.1067 +
  6.1068 +		[DispId(2)]
  6.1069 +		string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
  6.1070 +
  6.1071 +		[DispId(3)]
  6.1072 +		IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
  6.1073 +
  6.1074 +		[DispId(4)]
  6.1075 +		string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
  6.1076 +
  6.1077 +		[DispId(5)]
  6.1078 +		string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
  6.1079 +
  6.1080 +		[DispId(6)]
  6.1081 +		string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
  6.1082 +
  6.1083 +		[DispId(7)]
  6.1084 +		bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
  6.1085 +	}
  6.1086 +
  6.1087 +	[ComImport, TypeLibType((short)0x10c0), Guid("85DF5081-1B24-4F32-878A-D9D14DF4CB77")]
  6.1088 +	public interface ITriggerCollection : IEnumerable
  6.1089 +	{
  6.1090 +		[DispId(1)]
  6.1091 +		int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
  6.1092 +
  6.1093 +		[DispId(0)]
  6.1094 +		ITrigger this[int index] { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
  6.1095 +
  6.1096 +		[return: MarshalAs(UnmanagedType.Interface)]
  6.1097 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(-4)]
  6.1098 +		new IEnumerator GetEnumerator();
  6.1099 +
  6.1100 +		[return: MarshalAs(UnmanagedType.Interface)]
  6.1101 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)]
  6.1102 +		ITrigger Create([In] TASK_TRIGGER_TYPE2 Type);
  6.1103 +
  6.1104 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
  6.1105 +		void Remove([In, MarshalAs(UnmanagedType.Struct)] object index);
  6.1106 +
  6.1107 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)]
  6.1108 +		void Clear();
  6.1109 +	}
  6.1110 +
  6.1111 +	[ComImport, Guid("5038FC98-82FF-436D-8728-A512A57C9DC1"), TypeLibType((short)0x10c0)]
  6.1112 +	public interface IWeeklyTrigger : ITrigger
  6.1113 +	{
  6.1114 +		[DispId(1)]
  6.1115 +		new TASK_TRIGGER_TYPE2 Type { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] get; }
  6.1116 +
  6.1117 +		[DispId(2)]
  6.1118 +		new string Id { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] set; }
  6.1119 +
  6.1120 +		[DispId(3)]
  6.1121 +		new IRepetitionPattern Repetition { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] get; [param: In, MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] set; }
  6.1122 +
  6.1123 +		[DispId(4)]
  6.1124 +		new string ExecutionTimeLimit { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] set; }
  6.1125 +
  6.1126 +		[DispId(5)]
  6.1127 +		new string StartBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] set; }
  6.1128 +
  6.1129 +		[DispId(6)]
  6.1130 +		new string EndBoundary { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] set; }
  6.1131 +
  6.1132 +		[DispId(7)]
  6.1133 +		new bool Enabled { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] set; }
  6.1134 +
  6.1135 +		[DispId(0x19)]
  6.1136 +		short DaysOfWeek { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x19)] set; }
  6.1137 +
  6.1138 +		[DispId(0x1a)]
  6.1139 +		short WeeksInterval { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x1a)] set; }
  6.1140 +
  6.1141 +		[DispId(20)]
  6.1142 +		string RandomDelay { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] get; [param: In, MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] set; }
  6.1143 +	}
  6.1144 +
  6.1145 +	[ComImport, Guid("839D7762-5121-4009-9234-4F0D19394F04"), CoClass(typeof(TaskHandlerPSClass))]
  6.1146 +	public interface TaskHandlerPS : ITaskHandler
  6.1147 +	{
  6.1148 +	}
  6.1149 +
  6.1150 +	[ComImport, TypeLibType((short)2), ClassInterface((short)0), Guid("F2A69DB7-DA2C-4352-9066-86FEE6DACAC9")]
  6.1151 +	public class TaskHandlerPSClass : ITaskHandler, TaskHandlerPS
  6.1152 +	{
  6.1153 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1154 +		public virtual extern void Pause();
  6.1155 +
  6.1156 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1157 +		public virtual extern void Resume();
  6.1158 +
  6.1159 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1160 +		public virtual extern void Start([In, MarshalAs(UnmanagedType.IUnknown)] object pHandlerServices, [In, MarshalAs(UnmanagedType.BStr)] string Data);
  6.1161 +
  6.1162 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1163 +		public virtual extern void Stop([MarshalAs(UnmanagedType.Error)] out int pRetCode);
  6.1164 +	}
  6.1165 +
  6.1166 +	[ComImport, Guid("EAEC7A8F-27A0-4DDC-8675-14726A01A38A"), CoClass(typeof(TaskHandlerStatusPSClass))]
  6.1167 +	public interface TaskHandlerStatusPS : ITaskHandlerStatus
  6.1168 +	{
  6.1169 +	}
  6.1170 +
  6.1171 +	[ComImport, ClassInterface((short)0), Guid("9F15266D-D7BA-48F0-93C1-E6895F6FE5AC"), TypeLibType((short)2)]
  6.1172 +	public class TaskHandlerStatusPSClass : ITaskHandlerStatus, TaskHandlerStatusPS, ITaskVariables
  6.1173 +	{
  6.1174 +		[return: MarshalAs(UnmanagedType.BStr)]
  6.1175 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1176 +		public virtual extern string GetContext();
  6.1177 +
  6.1178 +		[return: MarshalAs(UnmanagedType.BStr)]
  6.1179 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1180 +		public virtual extern string GetInput();
  6.1181 +
  6.1182 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1183 +		public virtual extern void SetOutput([In, MarshalAs(UnmanagedType.BStr)] string input);
  6.1184 +
  6.1185 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1186 +		public virtual extern void TaskCompleted([In, MarshalAs(UnmanagedType.Error)] int taskErrCode);
  6.1187 +
  6.1188 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  6.1189 +		public virtual extern void UpdateStatus([In] short percentComplete, [In, MarshalAs(UnmanagedType.BStr)] string statusMessage);
  6.1190 +	}
  6.1191 +
  6.1192 +	[ComImport, CoClass(typeof(TaskSchedulerClass)), Guid("2FABA4C7-4DA9-4013-9697-20CC3FD40F85")]
  6.1193 +	public interface TaskScheduler : ITaskService
  6.1194 +	{
  6.1195 +	}
  6.1196 +
  6.1197 +	[ComImport, ClassInterface((short)0), DefaultMember("TargetServer"), Guid("0F87369F-A4E5-4CFC-BD3E-73E6154572DD"), TypeLibType((short)2)]
  6.1198 +	public class TaskSchedulerClass : ITaskService, TaskScheduler
  6.1199 +	{
  6.1200 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)]
  6.1201 +		public virtual extern void Connect([In, Optional, MarshalAs(UnmanagedType.Struct)] object serverName, [In, Optional, MarshalAs(UnmanagedType.Struct)] object user, [In, Optional, MarshalAs(UnmanagedType.Struct)] object domain, [In, Optional, MarshalAs(UnmanagedType.Struct)] object password);
  6.1202 +
  6.1203 +		[return: MarshalAs(UnmanagedType.Interface)]
  6.1204 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)]
  6.1205 +		public virtual extern ITaskFolder GetFolder([In, MarshalAs(UnmanagedType.BStr)] string Path);
  6.1206 +
  6.1207 +		[return: MarshalAs(UnmanagedType.Interface)]
  6.1208 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)]
  6.1209 +		public virtual extern IRunningTaskCollection GetRunningTasks([In] int flags);
  6.1210 +
  6.1211 +		[return: MarshalAs(UnmanagedType.Interface)]
  6.1212 +		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)]
  6.1213 +		public virtual extern ITaskDefinition NewTask([In] uint flags);
  6.1214 +
  6.1215 +		[DispId(5)]
  6.1216 +		public virtual extern bool Connected { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] get; }
  6.1217 +
  6.1218 +		[DispId(7)]
  6.1219 +		public virtual extern string ConnectedDomain { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] get; }
  6.1220 +
  6.1221 +		[DispId(6)]
  6.1222 +		public virtual extern string ConnectedUser { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] get; }
  6.1223 +
  6.1224 +		[DispId(8)]
  6.1225 +		public virtual extern uint HighestVersion { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] get; }
  6.1226 +
  6.1227 +		[DispId(0)]
  6.1228 +		public virtual extern string TargetServer { [return: MarshalAs(UnmanagedType.BStr)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0)] get; }
  6.1229 +	}
  6.1230 +}
  6.1231 \ No newline at end of file