public void CanBindToDefaultConfiguration() { SpeechSettingsControl control = new SpeechSettingsControl(); SpeechConfiguration configuration = new SpeechConfiguration(); control.BindSpeechControls(configuration); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CCTrayMultiSettingsForm)); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabGeneral = new System.Windows.Forms.TabPage(); this.generalSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.GeneralSettingsControl(); this.tabBuildProjects = new System.Windows.Forms.TabPage(); this.buildProjectsSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.BuildProjectsControl(); this.tabAudio = new System.Windows.Forms.TabPage(); this.audioSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.AudioSettingsControl(); this.tabIcons = new System.Windows.Forms.TabPage(); this.iconSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.IconSettingsControl(); this.tabX10 = new System.Windows.Forms.TabPage(); this.x10Settings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.X10SettingsControl(); this.tabSpeech = new System.Windows.Forms.TabPage(); this.speechSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.SpeechSettingsControl(); this.tabBackup = new System.Windows.Forms.TabPage(); this.loadSettingsButton = new System.Windows.Forms.Button(); this.tabImageList = new System.Windows.Forms.ImageList(this.components); this.saveSettingsButton = new System.Windows.Forms.Button(); this.tabGrowl = new System.Windows.Forms.TabPage(); this.growlSettings = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.GrowlSettingsControl(); this.tabExec = new System.Windows.Forms.TabPage(); this.execSettingsControl1 = new ThoughtWorks.CruiseControl.CCTrayLib.Presentation.ExecSettingsControl(); this.tabControl1.SuspendLayout(); this.tabGeneral.SuspendLayout(); this.tabBuildProjects.SuspendLayout(); this.tabAudio.SuspendLayout(); this.tabIcons.SuspendLayout(); this.tabX10.SuspendLayout(); this.tabSpeech.SuspendLayout(); this.tabBackup.SuspendLayout(); this.tabGrowl.SuspendLayout(); this.tabExec.SuspendLayout(); this.SuspendLayout(); // // btnOK // this.btnOK.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(256, 323); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 9; this.btnOK.Text = "OK"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(346, 323); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 10; this.btnCancel.Text = "Cancel"; // // tabControl1 // this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabGeneral); this.tabControl1.Controls.Add(this.tabBuildProjects); this.tabControl1.Controls.Add(this.tabAudio); this.tabControl1.Controls.Add(this.tabIcons); this.tabControl1.Controls.Add(this.tabX10); this.tabControl1.Controls.Add(this.tabSpeech); this.tabControl1.Controls.Add(this.tabBackup); this.tabControl1.Controls.Add(this.tabGrowl); this.tabControl1.Controls.Add(this.tabExec); this.tabControl1.ImageList = this.tabImageList; this.tabControl1.Location = new System.Drawing.Point(1, 1); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(675, 315); this.tabControl1.TabIndex = 11; // // tabGeneral // this.tabGeneral.Controls.Add(this.generalSettings); this.tabGeneral.ImageKey = "General"; this.tabGeneral.Location = new System.Drawing.Point(4, 23); this.tabGeneral.Name = "tabGeneral"; this.tabGeneral.Size = new System.Drawing.Size(667, 288); this.tabGeneral.TabIndex = 0; this.tabGeneral.Text = "General"; this.tabGeneral.UseVisualStyleBackColor = true; // // generalSettings // this.generalSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.generalSettings.Location = new System.Drawing.Point(0, 0); this.generalSettings.Name = "generalSettings"; this.generalSettings.Size = new System.Drawing.Size(667, 288); this.generalSettings.TabIndex = 1; // // tabBuildProjects // this.tabBuildProjects.Controls.Add(this.buildProjectsSettings); this.tabBuildProjects.ImageKey = "Project"; this.tabBuildProjects.Location = new System.Drawing.Point(4, 23); this.tabBuildProjects.Name = "tabBuildProjects"; this.tabBuildProjects.Size = new System.Drawing.Size(667, 288); this.tabBuildProjects.TabIndex = 2; this.tabBuildProjects.Text = "Build Projects"; this.tabBuildProjects.UseVisualStyleBackColor = true; this.tabBuildProjects.Visible = false; // // buildProjectsSettings // this.buildProjectsSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buildProjectsSettings.Location = new System.Drawing.Point(0, 0); this.buildProjectsSettings.Name = "buildProjectsSettings"; this.buildProjectsSettings.Size = new System.Drawing.Size(667, 288); this.buildProjectsSettings.TabIndex = 2; // // tabAudio // this.tabAudio.Controls.Add(this.audioSettings); this.tabAudio.ImageKey = "Audio"; this.tabAudio.Location = new System.Drawing.Point(4, 23); this.tabAudio.Name = "tabAudio"; this.tabAudio.Size = new System.Drawing.Size(667, 288); this.tabAudio.TabIndex = 1; this.tabAudio.Text = "Audio"; this.tabAudio.UseVisualStyleBackColor = true; this.tabAudio.Visible = false; // // audioSettings // this.audioSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.audioSettings.Location = new System.Drawing.Point(0, 0); this.audioSettings.Name = "audioSettings"; this.audioSettings.Size = new System.Drawing.Size(667, 288); this.audioSettings.TabIndex = 2; // // tabIcons // this.tabIcons.Controls.Add(this.iconSettings); this.tabIcons.ImageKey = "Icons"; this.tabIcons.Location = new System.Drawing.Point(4, 23); this.tabIcons.Name = "tabIcons"; this.tabIcons.Size = new System.Drawing.Size(667, 288); this.tabIcons.TabIndex = 2; this.tabIcons.Text = "Icons"; this.tabIcons.UseVisualStyleBackColor = true; this.tabIcons.Visible = false; // // iconSettings // this.iconSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.iconSettings.Location = new System.Drawing.Point(0, 0); this.iconSettings.Name = "iconSettings"; this.iconSettings.Size = new System.Drawing.Size(667, 288); this.iconSettings.TabIndex = 2; // // tabX10 // this.tabX10.Controls.Add(this.x10Settings); this.tabX10.ImageKey = "X10"; this.tabX10.Location = new System.Drawing.Point(4, 23); this.tabX10.Name = "tabX10"; this.tabX10.Padding = new System.Windows.Forms.Padding(3); this.tabX10.Size = new System.Drawing.Size(667, 288); this.tabX10.TabIndex = 3; this.tabX10.Text = "X10"; this.tabX10.UseVisualStyleBackColor = true; // // x10Settings // this.x10Settings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.x10Settings.BackColor = System.Drawing.SystemColors.Control; this.x10Settings.Location = new System.Drawing.Point(3, 3); this.x10Settings.Name = "x10Settings"; this.x10Settings.Size = new System.Drawing.Size(1128, 471); this.x10Settings.TabIndex = 2; // // tabSpeech // this.tabSpeech.Controls.Add(this.speechSettings); this.tabSpeech.ImageKey = "Speech"; this.tabSpeech.Location = new System.Drawing.Point(4, 23); this.tabSpeech.Name = "tabSpeech"; this.tabSpeech.Padding = new System.Windows.Forms.Padding(3); this.tabSpeech.Size = new System.Drawing.Size(667, 288); this.tabSpeech.TabIndex = 4; this.tabSpeech.Text = "Speech"; this.tabSpeech.UseVisualStyleBackColor = true; // // speechSettings // this.speechSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.speechSettings.BackColor = System.Drawing.SystemColors.Control; this.speechSettings.Location = new System.Drawing.Point(3, 3); this.speechSettings.Name = "speechSettings"; this.speechSettings.Size = new System.Drawing.Size(1128, 471); this.speechSettings.TabIndex = 3; // // tabBackup // this.tabBackup.Controls.Add(this.loadSettingsButton); this.tabBackup.Controls.Add(this.saveSettingsButton); this.tabBackup.ImageKey = "Backup"; this.tabBackup.Location = new System.Drawing.Point(4, 23); this.tabBackup.Name = "tabBackup"; this.tabBackup.Padding = new System.Windows.Forms.Padding(3); this.tabBackup.Size = new System.Drawing.Size(667, 288); this.tabBackup.TabIndex = 5; this.tabBackup.Text = "Backup"; this.tabBackup.UseVisualStyleBackColor = true; // // loadSettingsButton // this.loadSettingsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.loadSettingsButton.ImageKey = "Backup"; this.loadSettingsButton.ImageList = this.tabImageList; this.loadSettingsButton.Location = new System.Drawing.Point(249, 123); this.loadSettingsButton.Name = "loadSettingsButton"; this.loadSettingsButton.Size = new System.Drawing.Size(167, 43); this.loadSettingsButton.TabIndex = 1; this.loadSettingsButton.Text = "Load Settings"; this.loadSettingsButton.UseVisualStyleBackColor = true; this.loadSettingsButton.Click += new System.EventHandler(this.loadSettingsButton_Click); // // tabImageList // this.tabImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("tabImageList.ImageStream"))); this.tabImageList.TransparentColor = System.Drawing.Color.Transparent; this.tabImageList.Images.SetKeyName(0, "Backup"); this.tabImageList.Images.SetKeyName(1, "Save"); this.tabImageList.Images.SetKeyName(2, "Project"); this.tabImageList.Images.SetKeyName(3, "Audio"); this.tabImageList.Images.SetKeyName(4, "Speech"); this.tabImageList.Images.SetKeyName(5, "General"); this.tabImageList.Images.SetKeyName(6, "Icons"); this.tabImageList.Images.SetKeyName(7, "X10"); this.tabImageList.Images.SetKeyName(8, "Growl"); // // saveSettingsButton // this.saveSettingsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveSettingsButton.ImageKey = "Save"; this.saveSettingsButton.ImageList = this.tabImageList; this.saveSettingsButton.Location = new System.Drawing.Point(249, 62); this.saveSettingsButton.Name = "saveSettingsButton"; this.saveSettingsButton.Size = new System.Drawing.Size(167, 43); this.saveSettingsButton.TabIndex = 0; this.saveSettingsButton.Text = "Save Settings"; this.saveSettingsButton.UseVisualStyleBackColor = true; this.saveSettingsButton.Click += new System.EventHandler(this.saveSettingsButton_Click); // // tabGrowl // this.tabGrowl.Controls.Add(this.growlSettings); this.tabGrowl.ImageKey = "Growl"; this.tabGrowl.Location = new System.Drawing.Point(4, 23); this.tabGrowl.Name = "tabGrowl"; this.tabGrowl.Padding = new System.Windows.Forms.Padding(3); this.tabGrowl.Size = new System.Drawing.Size(667, 288); this.tabGrowl.TabIndex = 6; this.tabGrowl.Text = "Growl"; this.tabGrowl.UseVisualStyleBackColor = true; // // growlSettings // this.growlSettings.Location = new System.Drawing.Point(0, 0); this.growlSettings.Name = "growlSettings"; this.growlSettings.Size = new System.Drawing.Size(667, 289); this.growlSettings.TabIndex = 0; // // tabExec // this.tabExec.Controls.Add(this.execSettingsControl1); this.tabExec.Location = new System.Drawing.Point(4, 23); this.tabExec.Name = "tabExec"; this.tabExec.Padding = new System.Windows.Forms.Padding(3); this.tabExec.Size = new System.Drawing.Size(667, 288); this.tabExec.TabIndex = 7; this.tabExec.Text = "Exec"; this.tabExec.UseVisualStyleBackColor = true; // // execSettingsControl1 // this.execSettingsControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.execSettingsControl1.Location = new System.Drawing.Point(0, 0); this.execSettingsControl1.Name = "execSettingsControl1"; this.execSettingsControl1.Size = new System.Drawing.Size(667, 289); this.execSettingsControl1.TabIndex = 0; // // CCTrayMultiSettingsForm // this.AcceptButton = this.btnOK; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(677, 361); this.Controls.Add(this.tabControl1); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "CCTrayMultiSettingsForm"; this.Text = "CruiseControl.NET Tray Settings"; this.tabControl1.ResumeLayout(false); this.tabGeneral.ResumeLayout(false); this.tabBuildProjects.ResumeLayout(false); this.tabAudio.ResumeLayout(false); this.tabIcons.ResumeLayout(false); this.tabX10.ResumeLayout(false); this.tabSpeech.ResumeLayout(false); this.tabBackup.ResumeLayout(false); this.tabGrowl.ResumeLayout(false); this.tabExec.ResumeLayout(false); this.ResumeLayout(false); }