| 0: | using System; | |
| 1: | using System.Drawing; | |
| 2: | using System.Collections; | |
| 3: | using System.ComponentModel; | |
| 4: | using System.Windows.Forms; | |
| 5: | ||
| 6: | namespace SharpDevelop.Gui.Dialogs { | |
| 7: | ||
| 8: | /// <summary> | |
| 9: | /// Summary description for Form2. | |
| 10: | /// </summary> | |
| 11: | public class ConfigurationManager : System.Windows.Forms.Form | |
| 12: | { | |
| 13: | private System.Windows.Forms.TreeView treeView1; | |
| 14: | private System.Windows.Forms.Label label1; | |
| 15: | private System.Windows.Forms.Label label2; | |
| 16: | private System.Windows.Forms.ComboBox comboBox1; | |
| 17: | private System.Windows.Forms.Label label3; | |
| 18: | private System.Windows.Forms.Button okButton; | |
| 19: | private System.Windows.Forms.Button cancelButton; | |
| 20: | private System.Windows.Forms.Button helpButton; | |
| 21: | private System.Windows.Forms.GroupBox groupBox1; | |
| 22: | private System.Windows.Forms.ComboBox comboBox2; | |
| 23: | private System.Windows.Forms.Label label4; | |
| 24: | private System.Windows.Forms.Label label5; | |
| 25: | private System.Windows.Forms.TextBox textBox1; | |
| 26: | private System.Windows.Forms.Button createButton; | |
| 27: | private System.Windows.Forms.Button removeButton; | |
| 28: | private System.Windows.Forms.Button renameButton; | |
| 29: | /// <summary> | |
| 30: | /// Required designer variable. | |
| 31: | /// </summary> | |
| 32: | private System.ComponentModel.Container components = null; | |
| 33: | ||
| 34: | public ConfigurationManager() | |
| 35: | { | |
| 36: | // | |
| 37: | // Required for Windows Form Designer support | |
| 38: | // | |
| 39: | InitializeComponent(); | |
| 40: | ||
| 41: | // | |
| 42: | // TODO: Add any constructor code after InitializeComponent call | |
| 43: | // | |
| 44: | } | |
| 45: | ||
| 46: | /// <summary> | |
| 47: | /// Clean up any resources being used. | |
| 48: | /// </summary> | |
| 49: | protected override void Dispose(bool disposing) | |
| 50: | { | |
| 51: | if (disposing) { | |
| 52: | if (components != null){ | |
| 53: | components.Dispose(); | |
| 54: | } | |
| 55: | } | |
| 56: | base.Dispose(disposing); | |
| 57: | } | |
| 58: | ||
| 59: | #region Windows Form Designer generated code | |
| 60: | /// <summary> | |
| 61: | /// Required method for Designer support - do not modify | |
| 62: | /// the contents of this method with the code editor. | |
| 63: | /// </summary> | |
| 64: | private void InitializeComponent() | |
| 65: | { | |
| 66: | this.treeView1 = new System.Windows.Forms.TreeView(); | |
| 67: | this.label1 = new System.Windows.Forms.Label(); | |
| 68: | this.label2 = new System.Windows.Forms.Label(); | |
| 69: | this.comboBox1 = new System.Windows.Forms.ComboBox(); | |
| 70: | this.label3 = new System.Windows.Forms.Label(); | |
| 71: | this.okButton = new System.Windows.Forms.Button(); | |
| 72: | this.cancelButton = new System.Windows.Forms.Button(); | |
| 73: | this.helpButton = new System.Windows.Forms.Button(); | |
| 74: | this.groupBox1 = new System.Windows.Forms.GroupBox(); | |
| 75: | this.comboBox2 = new System.Windows.Forms.ComboBox(); | |
| 76: | this.label4 = new System.Windows.Forms.Label(); | |
| 77: | this.label5 = new System.Windows.Forms.Label(); | |
| 78: | this.textBox1 = new System.Windows.Forms.TextBox(); | |
| 79: | this.createButton = new System.Windows.Forms.Button(); | |
| 80: | this.removeButton = new System.Windows.Forms.Button(); | |
| 81: | this.renameButton = new System.Windows.Forms.Button(); | |
| 82: | this.groupBox1.SuspendLayout(); | |
| 83: | this.SuspendLayout(); | |
| 84: | // | |
| 85: | // treeView1 | |
| 86: | // | |
| 87: | this.treeView1.ImageIndex = -1; | |
| 88: | this.treeView1.Location = new System.Drawing.Point(8, 24); | |
| 89: | this.treeView1.Name = "treeView1"; | |
| 90: | this.treeView1.SelectedImageIndex = -1; | |
| 91: | this.treeView1.Size = new System.Drawing.Size(200, 240); | |
| 92: | this.treeView1.TabIndex = 0; | |
| 93: | // | |
| 94: | // label1 | |
| 95: | // | |
| 96: | this.label1.Location = new System.Drawing.Point(8, 8); | |
| 97: | this.label1.Name = "label1"; | |
| 98: | this.label1.Size = new System.Drawing.Size(88, 16); | |
| 99: | this.label1.TabIndex = 1; | |
| 100: | this.label1.Text = "Entries:"; | |
| 101: | // | |
| 102: | // label2 | |
| 103: | // | |
| 104: | this.label2.Location = new System.Drawing.Point(216, 24); | |
| 105: | this.label2.Name = "label2"; | |
| 106: | this.label2.Size = new System.Drawing.Size(88, 16); | |
| 107: | this.label2.TabIndex = 2; | |
| 108: | this.label2.Text = "Configuration"; | |
| 109: | // | |
| 110: | // comboBox1 | |
| 111: | // | |
| 112: | this.comboBox1.DropDownWidth = 264; | |
| 113: | this.comboBox1.Location = new System.Drawing.Point(216, 40); | |
| 114: | this.comboBox1.Name = "comboBox1"; | |
| 115: | this.comboBox1.Size = new System.Drawing.Size(264, 21); | |
| 116: | this.comboBox1.TabIndex = 3; | |
| 117: | // | |
| 118: | // label3 | |
| 119: | // | |
| 120: | this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | |
| 121: | this.label3.Location = new System.Drawing.Point(216, 264); | |
| 122: | this.label3.Name = "label3"; | |
| 123: | this.label3.Size = new System.Drawing.Size(272, 2); | |
| 124: | this.label3.TabIndex = 4; | |
| 125: | // | |
| 126: | // okButton | |
| 127: | // | |
| 128: | this.okButton.Location = new System.Drawing.Point(256, 272); | |
| 129: | this.okButton.Name = "okButton"; | |
| 130: | this.okButton.Size = new System.Drawing.Size(74, 23); | |
| 131: | this.okButton.TabIndex = 5; | |
| 132: | this.okButton.Text = "OK"; | |
| 133: | this.okButton.Click += new System.EventHandler(this.button1_Click); | |
| 134: | // | |
| 135: | // cancelButton | |
| 136: | // | |
| 137: | this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; | |
| 138: | this.cancelButton.Location = new System.Drawing.Point(336, 272); | |
| 139: | this.cancelButton.Name = "cancelButton"; | |
| 140: | this.cancelButton.Size = new System.Drawing.Size(74, 23); | |
| 141: | this.cancelButton.TabIndex = 6; | |
| 142: | this.cancelButton.Text = "Cancel"; | |
| 143: | this.cancelButton.Click += new System.EventHandler(this.button2_Click); | |
| 144: | // | |
| 145: | // helpButton | |
| 146: | // | |
| 147: | this.helpButton.Location = new System.Drawing.Point(416, 272); | |
| 148: | this.helpButton.Name = "helpButton"; | |
| 149: | this.helpButton.Size = new System.Drawing.Size(74, 23); | |
| 150: | this.helpButton.TabIndex = 7; | |
| 151: | this.helpButton.Text = "Help"; | |
| 152: | this.helpButton.Click += new System.EventHandler(this.button3_Click); | |
| 153: | // | |
| 154: | // groupBox1 | |
| 155: | // | |
| 156: | this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { | |
| 157: | this.createButton, | |
| 158: | this.textBox1, | |
| 159: | this.label5, | |
| 160: | this.comboBox2, | |
| 161: | this.label4}); | |
| 162: | this.groupBox1.Location = new System.Drawing.Point(216, 104); | |
| 163: | this.groupBox1.Name = "groupBox1"; | |
| 164: | this.groupBox1.Size = new System.Drawing.Size(264, 144); | |
| 165: | this.groupBox1.TabIndex = 8; | |
| 166: | this.groupBox1.TabStop = false; | |
| 167: | this.groupBox1.Text = "Create new Configuration"; | |
| 168: | // | |
| 169: | // comboBox2 | |
| 170: | // | |
| 171: | this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
| 172: | this.comboBox2.DropDownWidth = 264; | |
| 173: | this.comboBox2.Location = new System.Drawing.Point(8, 80); | |
| 174: | this.comboBox2.Name = "comboBox2"; | |
| 175: | this.comboBox2.Size = new System.Drawing.Size(248, 21); | |
| 176: | this.comboBox2.TabIndex = 3; | |
| 177: | // | |
| 178: | // label4 | |
| 179: | // | |
| 180: | this.label4.Location = new System.Drawing.Point(8, 64); | |
| 181: | this.label4.Name = "label4"; | |
| 182: | this.label4.Size = new System.Drawing.Size(128, 16); | |
| 183: | this.label4.TabIndex = 2; | |
| 184: | this.label4.Text = "Copy settings from"; | |
| 185: | // | |
| 186: | // label5 | |
| 187: | // | |
| 188: | this.label5.Location = new System.Drawing.Point(8, 16); | |
| 189: | this.label5.Name = "label5"; | |
| 190: | this.label5.Size = new System.Drawing.Size(40, 16); | |
| 191: | this.label5.TabIndex = 4; | |
| 192: | this.label5.Text = "Name"; | |
| 193: | // | |
| 194: | // textBox1 | |
| 195: | // | |
| 196: | this.textBox1.Location = new System.Drawing.Point(8, 32); | |
| 197: | this.textBox1.Name = "textBox1"; | |
| 198: | this.textBox1.Size = new System.Drawing.Size(248, 20); | |
| 199: | this.textBox1.TabIndex = 5; | |
| 200: | this.textBox1.Text = ""; | |
| 201: | // | |
| 202: | // createButton | |
| 203: | // | |
| 204: | this.createButton.Location = new System.Drawing.Point(8, 112); | |
| 205: | this.createButton.Name = "createButton"; | |
| 206: | this.createButton.TabIndex = 6; | |
| 207: | this.createButton.Text = "Create"; | |
| 208: | // | |
| 209: | // removeButton | |
| 210: | // | |
| 211: | this.removeButton.Location = new System.Drawing.Point(216, 72); | |
| 212: | this.removeButton.Name = "removeButton"; | |
| 213: | this.removeButton.TabIndex = 9; | |
| 214: | this.removeButton.Text = "Remove"; | |
| 215: | // | |
| 216: | // renameButton | |
| 217: | // | |
| 218: | this.renameButton.Location = new System.Drawing.Point(296, 72); | |
| 219: | this.renameButton.Name = "renameButton"; | |
| 220: | this.renameButton.TabIndex = 10; | |
| 221: | this.renameButton.Text = "Rename"; | |
| 222: | // | |
| 223: | // Form2 | |
| 224: | // | |
| 225: | this.AcceptButton = this.okButton; | |
| 226: | this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); | |
| 227: | this.CancelButton = this.cancelButton; | |
| 228: | this.ClientSize = new System.Drawing.Size(498, 303); | |
| 229: | this.Controls.AddRange(new System.Windows.Forms.Control[] { | |
| 230: | this.renameButton, | |
| 231: | this.removeButton, | |
| 232: | this.groupBox1, | |
| 233: | this.helpButton, | |
| 234: | this.cancelButton, | |
| 235: | this.okButton, | |
| 236: | this.label3, | |
| 237: | this.comboBox1, | |
| 238: | this.label2, | |
| 239: | this.label1, | |
| 240: | this.treeView1}); | |
| 241: | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | |
| 242: | this.MaximizeBox = false; | |
| 243: | this.MinimizeBox = false; | |
| 244: | this.Name = "Form2"; | |
| 245: | this.ShowInTaskbar = false; | |
| 246: | this.Text = "Configuration Manager"; | |
| 247: | this.Load += new System.EventHandler(this.Form2_Load); | |
| 248: | this.groupBox1.ResumeLayout(false); | |
| 249: | this.ResumeLayout(false); | |
| 250: | ||
| 251: | } | |
| 252: | #endregion | |
| 253: | ||
| 254: | private void button3_Click(object sender, System.EventArgs e) | |
| 255: | { | |
| 256: | ||
| 257: | } | |
| 258: | ||
| 259: | private void button1_Click(object sender, System.EventArgs e) | |
| 260: | { | |
| 261: | ||
| 262: | } | |
| 263: | ||
| 264: | private void Form2_Load(object sender, System.EventArgs e) | |
| 265: | { | |
| 266: | ||
| 267: | } | |
| 268: | ||
| 269: | private void button2_Click(object sender, System.EventArgs e) | |
| 270: | { | |
| 271: | ||
| 272: | } | |
| 273: | } | |
| 274: | } |
This page was automatically generated by SharpDevelop.