|
|
@ -1,9 +1,10 @@ |
|
|
|
/* |
|
|
|
// <file>
|
|
|
|
* Created by SharpDevelop. |
|
|
|
// <copyright see="prj:///doc/copyright.txt"/>
|
|
|
|
* User: Daniel Grunwald |
|
|
|
// <license see="prj:///doc/license.txt"/>
|
|
|
|
* Date: ${DATE} |
|
|
|
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
|
|
|
|
* Time: ${TIME} |
|
|
|
// <version>$Revision$</version>
|
|
|
|
*/ |
|
|
|
// </file>
|
|
|
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.CodeAnalysis |
|
|
|
namespace ICSharpCode.CodeAnalysis |
|
|
|
{ |
|
|
|
{ |
|
|
|
partial class AnalysisProjectOptions : System.Windows.Forms.UserControl |
|
|
|
partial class AnalysisProjectOptions : System.Windows.Forms.UserControl |
|
|
@ -40,6 +41,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
this.warningOrErrorLabel = new System.Windows.Forms.Label(); |
|
|
|
this.warningOrErrorLabel = new System.Windows.Forms.Label(); |
|
|
|
this.enableCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
|
this.enableCheckBox = new System.Windows.Forms.CheckBox(); |
|
|
|
this.ruleTreeView = new System.Windows.Forms.TreeView(); |
|
|
|
this.ruleTreeView = new System.Windows.Forms.TreeView(); |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton = new System.Windows.Forms.Button(); |
|
|
|
splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
panel1 = new System.Windows.Forms.Panel(); |
|
|
|
panel1 = new System.Windows.Forms.Panel(); |
|
|
|
splitContainer1.Panel1.SuspendLayout(); |
|
|
|
splitContainer1.Panel1.SuspendLayout(); |
|
|
@ -67,7 +69,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
splitContainer1.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
splitContainer1.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
splitContainer1.Size = new System.Drawing.Size(375, 17); |
|
|
|
splitContainer1.Size = new System.Drawing.Size(375, 17); |
|
|
|
splitContainer1.SplitterDistance = 208; |
|
|
|
splitContainer1.SplitterDistance = 214; |
|
|
|
splitContainer1.SplitterWidth = 2; |
|
|
|
splitContainer1.SplitterWidth = 2; |
|
|
|
splitContainer1.TabIndex = 1; |
|
|
|
splitContainer1.TabIndex = 1; |
|
|
|
//
|
|
|
|
//
|
|
|
@ -77,7 +79,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
this.ruleLabel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.ruleLabel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.ruleLabel.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.ruleLabel.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.ruleLabel.Name = "ruleLabel"; |
|
|
|
this.ruleLabel.Name = "ruleLabel"; |
|
|
|
this.ruleLabel.Size = new System.Drawing.Size(208, 17); |
|
|
|
this.ruleLabel.Size = new System.Drawing.Size(214, 17); |
|
|
|
this.ruleLabel.TabIndex = 0; |
|
|
|
this.ruleLabel.TabIndex = 0; |
|
|
|
this.ruleLabel.Text = "${res:ICSharpCode.CodeAnalysis.Rule}"; |
|
|
|
this.ruleLabel.Text = "${res:ICSharpCode.CodeAnalysis.Rule}"; |
|
|
|
//
|
|
|
|
//
|
|
|
@ -87,7 +89,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
this.warningOrErrorLabel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.warningOrErrorLabel.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.warningOrErrorLabel.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.warningOrErrorLabel.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.warningOrErrorLabel.Name = "warningOrErrorLabel"; |
|
|
|
this.warningOrErrorLabel.Name = "warningOrErrorLabel"; |
|
|
|
this.warningOrErrorLabel.Size = new System.Drawing.Size(165, 17); |
|
|
|
this.warningOrErrorLabel.Size = new System.Drawing.Size(159, 17); |
|
|
|
this.warningOrErrorLabel.TabIndex = 0; |
|
|
|
this.warningOrErrorLabel.TabIndex = 0; |
|
|
|
this.warningOrErrorLabel.Text = "${res:ICSharpCode.CodeAnalysis.ProjectOptions.WarningOrError}"; |
|
|
|
this.warningOrErrorLabel.Text = "${res:ICSharpCode.CodeAnalysis.ProjectOptions.WarningOrError}"; |
|
|
|
//
|
|
|
|
//
|
|
|
@ -97,7 +99,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
panel1.BackColor = System.Drawing.SystemColors.InactiveCaption; |
|
|
|
panel1.BackColor = System.Drawing.SystemColors.InactiveCaption; |
|
|
|
panel1.Controls.Add(splitContainer1); |
|
|
|
panel1.Controls.Add(splitContainer1); |
|
|
|
panel1.Location = new System.Drawing.Point(15, 33); |
|
|
|
panel1.Location = new System.Drawing.Point(15, 57); |
|
|
|
panel1.Name = "panel1"; |
|
|
|
panel1.Name = "panel1"; |
|
|
|
panel1.Padding = new System.Windows.Forms.Padding(1); |
|
|
|
panel1.Padding = new System.Windows.Forms.Padding(1); |
|
|
|
panel1.Size = new System.Drawing.Size(377, 19); |
|
|
|
panel1.Size = new System.Drawing.Size(377, 19); |
|
|
@ -111,7 +113,7 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
this.enableCheckBox.Name = "enableCheckBox"; |
|
|
|
this.enableCheckBox.Name = "enableCheckBox"; |
|
|
|
this.enableCheckBox.Size = new System.Drawing.Size(376, 24); |
|
|
|
this.enableCheckBox.Size = new System.Drawing.Size(376, 24); |
|
|
|
this.enableCheckBox.TabIndex = 0; |
|
|
|
this.enableCheckBox.TabIndex = 0; |
|
|
|
this.enableCheckBox.Text = "${res:ICSharpCode.CodeAnalysis.ProjectOptions.Enable}"; |
|
|
|
this.enableCheckBox.Text = "${res:ICSharpCode.CodeAnalysis.ProjectOptions.RunOnBuild}"; |
|
|
|
this.enableCheckBox.UseVisualStyleBackColor = true; |
|
|
|
this.enableCheckBox.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
//
|
|
|
|
// ruleTreeView
|
|
|
|
// ruleTreeView
|
|
|
@ -121,19 +123,32 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.ruleTreeView.CheckBoxes = true; |
|
|
|
this.ruleTreeView.CheckBoxes = true; |
|
|
|
this.ruleTreeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText; |
|
|
|
this.ruleTreeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText; |
|
|
|
this.ruleTreeView.Location = new System.Drawing.Point(15, 51); |
|
|
|
this.ruleTreeView.Location = new System.Drawing.Point(15, 75); |
|
|
|
this.ruleTreeView.Name = "ruleTreeView"; |
|
|
|
this.ruleTreeView.Name = "ruleTreeView"; |
|
|
|
this.ruleTreeView.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
this.ruleTreeView.RightToLeft = System.Windows.Forms.RightToLeft.No; |
|
|
|
this.ruleTreeView.Size = new System.Drawing.Size(377, 190); |
|
|
|
this.ruleTreeView.Size = new System.Drawing.Size(377, 166); |
|
|
|
this.ruleTreeView.TabIndex = 2; |
|
|
|
this.ruleTreeView.TabIndex = 2; |
|
|
|
this.ruleTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.RuleTreeViewAfterCheck); |
|
|
|
this.ruleTreeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.RuleTreeViewAfterCheck); |
|
|
|
this.ruleTreeView.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.RuleTreeViewDrawNode); |
|
|
|
this.ruleTreeView.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.RuleTreeViewDrawNode); |
|
|
|
this.ruleTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RuleTreeViewMouseDown); |
|
|
|
this.ruleTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RuleTreeViewMouseDown); |
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
// changeRuleAssembliesButton
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.AutoSize = true; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.Location = new System.Drawing.Point(15, 28); |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.Name = "changeRuleAssembliesButton"; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.Size = new System.Drawing.Size(387, 23); |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.TabIndex = 4; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.Text = "${res:ICSharpCode.CodeAnalysis.ProjectOptions.AddRemoveRuleAssembly}"; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.UseVisualStyleBackColor = true; |
|
|
|
|
|
|
|
this.changeRuleAssembliesButton.Click += new System.EventHandler(this.ChangeRuleAssembliesButtonClick); |
|
|
|
|
|
|
|
//
|
|
|
|
// AnalysisProjectOptions
|
|
|
|
// AnalysisProjectOptions
|
|
|
|
//
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
|
|
|
|
this.Controls.Add(this.changeRuleAssembliesButton); |
|
|
|
this.Controls.Add(this.ruleTreeView); |
|
|
|
this.Controls.Add(this.ruleTreeView); |
|
|
|
this.Controls.Add(this.enableCheckBox); |
|
|
|
this.Controls.Add(this.enableCheckBox); |
|
|
|
this.Controls.Add(panel1); |
|
|
|
this.Controls.Add(panel1); |
|
|
@ -144,7 +159,9 @@ namespace ICSharpCode.CodeAnalysis |
|
|
|
splitContainer1.ResumeLayout(false); |
|
|
|
splitContainer1.ResumeLayout(false); |
|
|
|
panel1.ResumeLayout(false); |
|
|
|
panel1.ResumeLayout(false); |
|
|
|
this.ResumeLayout(false); |
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
this.PerformLayout(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private System.Windows.Forms.Button changeRuleAssembliesButton; |
|
|
|
private System.Windows.Forms.Label warningOrErrorLabel; |
|
|
|
private System.Windows.Forms.Label warningOrErrorLabel; |
|
|
|
private System.Windows.Forms.TreeView ruleTreeView; |
|
|
|
private System.Windows.Forms.TreeView ruleTreeView; |
|
|
|
private System.Windows.Forms.Label ruleLabel; |
|
|
|
private System.Windows.Forms.Label ruleLabel; |
|
|
|