/NRefactory/ICSharpCode.NRefactory.Demo/CSDemo.Designer.cs

http://github.com/icsharpcode/ILSpy · C# · 182 lines · 120 code · 3 blank · 59 comment · 3 complexity · eda5435ba9a39399844b46b5135803fd MD5 · raw file

  1. // Copyright (c) AlphaSierraPapa for the SharpDevelop Team
  2. //
  3. // Permission is hereby granted, free of charge, to any person obtaining a copy of this
  4. // software and associated documentation files (the "Software"), to deal in the Software
  5. // without restriction, including without limitation the rights to use, copy, modify, merge,
  6. // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
  7. // to whom the Software is furnished to do so, subject to the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be included in all copies or
  10. // substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  13. // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  14. // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
  15. // FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  16. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  17. // DEALINGS IN THE SOFTWARE.
  18. namespace ICSharpCode.NRefactory.Demo
  19. {
  20. partial class CSDemo
  21. {
  22. /// <summary>
  23. /// Designer variable used to keep track of non-visual components.
  24. /// </summary>
  25. private System.ComponentModel.IContainer components = null;
  26. /// <summary>
  27. /// Disposes resources used by the control.
  28. /// </summary>
  29. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  30. protected override void Dispose(bool disposing)
  31. {
  32. if (disposing) {
  33. if (components != null) {
  34. components.Dispose();
  35. }
  36. }
  37. base.Dispose(disposing);
  38. }
  39. /// <summary>
  40. /// This method is required for Windows Forms designer support.
  41. /// Do not change the method contents inside the source code editor. The Forms designer might
  42. /// not be able to load this method if it was changed manually.
  43. /// </summary>
  44. private void InitializeComponent()
  45. {
  46. this.splitContainer1 = new System.Windows.Forms.SplitContainer();
  47. this.csharpCodeTextBox = new System.Windows.Forms.TextBox();
  48. this.findReferencesButton = new System.Windows.Forms.Button();
  49. this.resolveButton = new System.Windows.Forms.Button();
  50. this.csharpTreeView = new System.Windows.Forms.TreeView();
  51. this.csharpGenerateCodeButton = new System.Windows.Forms.Button();
  52. this.csharpParseButton = new System.Windows.Forms.Button();
  53. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
  54. this.splitContainer1.Panel1.SuspendLayout();
  55. this.splitContainer1.Panel2.SuspendLayout();
  56. this.splitContainer1.SuspendLayout();
  57. this.SuspendLayout();
  58. //
  59. // splitContainer1
  60. //
  61. this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  62. this.splitContainer1.Location = new System.Drawing.Point(0, 0);
  63. this.splitContainer1.Name = "splitContainer1";
  64. this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
  65. //
  66. // splitContainer1.Panel1
  67. //
  68. this.splitContainer1.Panel1.Controls.Add(this.csharpCodeTextBox);
  69. //
  70. // splitContainer1.Panel2
  71. //
  72. this.splitContainer1.Panel2.Controls.Add(this.findReferencesButton);
  73. this.splitContainer1.Panel2.Controls.Add(this.resolveButton);
  74. this.splitContainer1.Panel2.Controls.Add(this.csharpTreeView);
  75. this.splitContainer1.Panel2.Controls.Add(this.csharpGenerateCodeButton);
  76. this.splitContainer1.Panel2.Controls.Add(this.csharpParseButton);
  77. this.splitContainer1.Size = new System.Drawing.Size(475, 406);
  78. this.splitContainer1.SplitterDistance = 178;
  79. this.splitContainer1.TabIndex = 1;
  80. //
  81. // csharpCodeTextBox
  82. //
  83. this.csharpCodeTextBox.AcceptsReturn = true;
  84. this.csharpCodeTextBox.AcceptsTab = true;
  85. this.csharpCodeTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
  86. this.csharpCodeTextBox.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  87. this.csharpCodeTextBox.HideSelection = false;
  88. this.csharpCodeTextBox.Location = new System.Drawing.Point(0, 0);
  89. this.csharpCodeTextBox.MaxLength = 99999999;
  90. this.csharpCodeTextBox.Multiline = true;
  91. this.csharpCodeTextBox.Name = "csharpCodeTextBox";
  92. this.csharpCodeTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  93. this.csharpCodeTextBox.Size = new System.Drawing.Size(475, 178);
  94. this.csharpCodeTextBox.TabIndex = 0;
  95. this.csharpCodeTextBox.Text = "using System;\r\nusing System.Linq;\r\nclass Test\r\n{\r\n public void Main(string[] a" +
  96. "rgs)\r\n {\r\n Console.WriteLine(\"Hello, World\");\r\n }\r\n}";
  97. this.csharpCodeTextBox.WordWrap = false;
  98. this.csharpCodeTextBox.TextChanged += new System.EventHandler(this.CsharpCodeTextBoxTextChanged);
  99. //
  100. // findReferencesButton
  101. //
  102. this.findReferencesButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
  103. this.findReferencesButton.Enabled = false;
  104. this.findReferencesButton.Location = new System.Drawing.Point(344, 4);
  105. this.findReferencesButton.Name = "findReferencesButton";
  106. this.findReferencesButton.Size = new System.Drawing.Size(100, 23);
  107. this.findReferencesButton.TabIndex = 4;
  108. this.findReferencesButton.Text = "Find References";
  109. this.findReferencesButton.UseVisualStyleBackColor = true;
  110. this.findReferencesButton.Click += new System.EventHandler(this.FindReferencesButtonClick);
  111. //
  112. // resolveButton
  113. //
  114. this.resolveButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
  115. this.resolveButton.Location = new System.Drawing.Point(132, 4);
  116. this.resolveButton.Name = "resolveButton";
  117. this.resolveButton.Size = new System.Drawing.Size(100, 23);
  118. this.resolveButton.TabIndex = 3;
  119. this.resolveButton.Text = "Resolve";
  120. this.resolveButton.UseVisualStyleBackColor = true;
  121. this.resolveButton.Click += new System.EventHandler(this.ResolveButtonClick);
  122. //
  123. // csharpTreeView
  124. //
  125. this.csharpTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  126. | System.Windows.Forms.AnchorStyles.Left)
  127. | System.Windows.Forms.AnchorStyles.Right)));
  128. this.csharpTreeView.HideSelection = false;
  129. this.csharpTreeView.Location = new System.Drawing.Point(3, 32);
  130. this.csharpTreeView.Name = "csharpTreeView";
  131. this.csharpTreeView.Size = new System.Drawing.Size(467, 189);
  132. this.csharpTreeView.TabIndex = 2;
  133. this.csharpTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.CSharpTreeViewAfterSelect);
  134. //
  135. // csharpGenerateCodeButton
  136. //
  137. this.csharpGenerateCodeButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
  138. this.csharpGenerateCodeButton.Location = new System.Drawing.Point(238, 4);
  139. this.csharpGenerateCodeButton.Name = "csharpGenerateCodeButton";
  140. this.csharpGenerateCodeButton.Size = new System.Drawing.Size(100, 23);
  141. this.csharpGenerateCodeButton.TabIndex = 1;
  142. this.csharpGenerateCodeButton.Text = "\u2191 Generate \u2191";
  143. this.csharpGenerateCodeButton.UseVisualStyleBackColor = true;
  144. this.csharpGenerateCodeButton.Click += new System.EventHandler(this.CSharpGenerateCodeButtonClick);
  145. //
  146. // csharpParseButton
  147. //
  148. this.csharpParseButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
  149. this.csharpParseButton.Location = new System.Drawing.Point(26, 4);
  150. this.csharpParseButton.Name = "csharpParseButton";
  151. this.csharpParseButton.Size = new System.Drawing.Size(100, 23);
  152. this.csharpParseButton.TabIndex = 0;
  153. this.csharpParseButton.Text = "\u2193 Parse \u2193";
  154. this.csharpParseButton.UseVisualStyleBackColor = true;
  155. this.csharpParseButton.Click += new System.EventHandler(this.CSharpParseButtonClick);
  156. //
  157. // CSDemo
  158. //
  159. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  160. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  161. this.Controls.Add(this.splitContainer1);
  162. this.Name = "CSDemo";
  163. this.Size = new System.Drawing.Size(475, 406);
  164. this.splitContainer1.Panel1.ResumeLayout(false);
  165. this.splitContainer1.Panel1.PerformLayout();
  166. this.splitContainer1.Panel2.ResumeLayout(false);
  167. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
  168. this.splitContainer1.ResumeLayout(false);
  169. this.ResumeLayout(false);
  170. }
  171. private System.Windows.Forms.Button findReferencesButton;
  172. private System.Windows.Forms.Button csharpParseButton;
  173. private System.Windows.Forms.Button csharpGenerateCodeButton;
  174. private System.Windows.Forms.TreeView csharpTreeView;
  175. private System.Windows.Forms.Button resolveButton;
  176. private System.Windows.Forms.TextBox csharpCodeTextBox;
  177. private System.Windows.Forms.SplitContainer splitContainer1;
  178. }
  179. }