예제 #1
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LineStyleEditor));
     this.fillCombo = new Maestro.Editors.Common.ImageStylePicker();
     this.lblColor = new System.Windows.Forms.Label();
     this.lblThickness = new System.Windows.Forms.Label();
     this.lblFill = new System.Windows.Forms.Label();
     this.displayLine = new System.Windows.Forms.CheckBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.thicknessCombo = new System.Windows.Forms.ComboBox();
     this.colorCombo = new Maestro.Editors.LayerDefinition.Vector.StyleEditors.ColorExpressionField();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // fillCombo
     //
     resources.ApplyResources(this.fillCombo, "fillCombo");
     this.fillCombo.DisplayMember = "Name";
     this.fillCombo.Name = "fillCombo";
     this.fillCombo.TextWidth = 40;
     this.fillCombo.ValueMember = "Name";
     //
     // lblColor
     //
     resources.ApplyResources(this.lblColor, "lblColor");
     this.lblColor.Name = "lblColor";
     //
     // lblThickness
     //
     resources.ApplyResources(this.lblThickness, "lblThickness");
     this.lblThickness.Name = "lblThickness";
     //
     // lblFill
     //
     resources.ApplyResources(this.lblFill, "lblFill");
     this.lblFill.Name = "lblFill";
     //
     // displayLine
     //
     this.displayLine.Checked = true;
     this.displayLine.CheckState = System.Windows.Forms.CheckState.Checked;
     resources.ApplyResources(this.displayLine, "displayLine");
     this.displayLine.Name = "displayLine";
     this.displayLine.CheckedChanged += new System.EventHandler(this.displayLine_CheckedChanged);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.thicknessCombo);
     this.panel1.Controls.Add(this.colorCombo);
     this.panel1.Controls.Add(this.fillCombo);
     this.panel1.Controls.Add(this.lblColor);
     this.panel1.Controls.Add(this.lblThickness);
     this.panel1.Controls.Add(this.lblFill);
     resources.ApplyResources(this.panel1, "panel1");
     this.panel1.Name = "panel1";
     //
     // thicknessCombo
     //
     resources.ApplyResources(this.thicknessCombo, "thicknessCombo");
     this.thicknessCombo.FormattingEnabled = true;
     this.thicknessCombo.Items.AddRange(new object[] {
     resources.GetString("thicknessCombo.Items")});
     this.thicknessCombo.Name = "thicknessCombo";
     //
     // colorCombo
     //
     resources.ApplyResources(this.colorCombo, "colorCombo");
     this.colorCombo.ColorExpression = "";
     this.colorCombo.Name = "colorCombo";
     this.colorCombo.RequestExpressionEditor += new System.EventHandler(this.colorCombo_RequestExpressionEditor);
     //
     // LineStyleEditor
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.displayLine);
     this.Name = "LineStyleEditor";
     resources.ApplyResources(this, "$this");
     this.Load += new System.EventHandler(this.LineStyleEditor_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #2
0
 static int CompareImages(ImageStylePicker.NamedImage x, ImageStylePicker.NamedImage y)
 {
     return x.Name.CompareTo(y.Name);
 }