#pragma warning restore CS0649 public SettingsControl(Timetable tt, IInfo info) { Eto.Serialization.Xaml.XamlReader.Load(this); settings = info.Settings; chooser = new AfplTemplateChooser(info); templateComboBox.ItemTextBinding = Binding.Property <ITemplate, string>(t => t.TemplateName); templateComboBox.DataStore = chooser.AvailableTemplates; var fntComboBox = new FontComboBox(fontComboBox, exampleLabel); var hwfntComboBox = new FontComboBox(hwfontComboBox, hwexampleLabel); attrs = AfplAttrs.GetAttrs(tt); if (attrs != null) { fontComboBox.Text = attrs.Font; hwfontComboBox.Text = attrs.HwFont; cssTextBox.Text = attrs.Css ?? ""; tracksCheckBox.Checked = attrs.ShowTracks; } else { attrs = new AfplAttrs(tt); tt.Children.Add(attrs.XMLEntity); } var tmpl = chooser.GetTemplate(tt); templateComboBox.SelectedValue = tmpl; consoleCheckBox.Checked = settings.Get <bool>("afpl.console"); }
public SettingsControl(Timetable tt, IInfo info) { Eto.Serialization.Xaml.XamlReader.Load(this); settings = info.Settings; chooser = new KfplTemplateChooser(info); templateComboBox.ItemTextBinding = Binding.Property <ITemplate, string>(t => t.TemplateName); templateComboBox.DataStore = chooser.AvailableTemplates; var fntComboBox = new FontComboBox(fontComboBox, exampleLabel); var hefntComboBox = new FontComboBox(hefontComboBox, heexampleLabel); attrs = KfplAttrs.GetAttrs(tt); if (attrs != null) { fontComboBox.Text = attrs.Font; hefontComboBox.Text = attrs.HeFont; cssTextBox.Text = attrs.Css ?? ""; } else { attrs = new KfplAttrs(tt); tt.Children.Add(attrs.XMLEntity); } setRouteNumbers = new Dictionary <int, string>(); var col = kbsnListView.AddColumn(new TextBoxCell { Binding = Binding.Delegate <Route, string>(r => { setRouteNumbers.TryGetValue(r.Index, out string val); return(val ?? attrs.KBSn.GetValue(r.Index) ?? NO_KBS_TEXT); }, (r, n) => setRouteNumbers[r.Index] = n) }, "Name"
#pragma warning restore CS0649 public SettingsControl(IPluginInterface pluginInterface) { Eto.Serialization.Xaml.XamlReader.Load(this); var tt = pluginInterface.Timetable; settings = pluginInterface.Settings; var chooser = Plugin.GetTemplateChooser(pluginInterface); templateComboBox.ItemTextBinding = Binding.Property <ITemplate, string>(t => t.TemplateName); templateComboBox.DataStore = chooser.AvailableTemplates; var fntComboBox = new FontComboBox(fontComboBox, exampleLabel); var hwfntComboBox = new FontComboBox(hwfontComboBox, hwexampleLabel); attrs = AfplAttrs.GetAttrs(tt) ?? AfplAttrs.CreateAttrs(tt); fontComboBox.Text = attrs.Font; hwfontComboBox.Text = attrs.HwFont; cssTextBox.Text = attrs.Css ?? ""; tracksCheckBox.Checked = attrs.ShowTracks; var tmpl = chooser.GetTemplate(tt); templateComboBox.SelectedValue = tmpl; consoleCheckBox.Checked = settings.Get <bool>("afpl.console"); omitTracksSingleCheckBox.Checked = attrs.OmitTracksWhenSingle; }
#pragma warning restore CS0649 public SettingsControl(IPluginInterface pluginInterface) { Eto.Serialization.Xaml.XamlReader.Load(this); var tt = pluginInterface.Timetable; settings = pluginInterface.Settings; var chooser = Plugin.GetTemplateChooser(pluginInterface); templateComboBox.ItemTextBinding = Binding.Delegate <ITemplate, string>(t => t.TemplateName); templateComboBox.DataStore = chooser.AvailableTemplates; var fntComboBox = new FontComboBox(fontComboBox, exampleLabel); attrs = BfplAttrs.GetAttrs(tt) ?? BfplAttrs.CreateAttrs(tt); fontComboBox.Text = attrs.Font ?? ""; cssTextBox.Text = attrs.Css ?? ""; commentCheckBox.Checked = attrs.ShowComments; daysCheckBox.Checked = attrs.ShowDays; var tmpl = chooser.GetTemplate(tt); templateComboBox.SelectedValue = tmpl; consoleCheckBox.Checked = settings.Get <bool>("bfpl.console"); }
public SettingsControl(IPluginInterface pluginInterface) { Eto.Serialization.Xaml.XamlReader.Load(this); var tt = pluginInterface.Timetable; settings = pluginInterface.Settings; var chooser = Plugin.GetTemplateChooser(pluginInterface); templateComboBox.ItemTextBinding = Binding.Delegate <ITemplate, string>(t => t.TemplateName); templateComboBox.DataStore = chooser.AvailableTemplates; var fntComboBox = new FontComboBox(fontComboBox, exampleLabel); var hefntComboBox = new FontComboBox(hefontComboBox, heexampleLabel); attrs = KfplAttrs.GetAttrs(tt) ?? KfplAttrs.CreateAttrs(tt); fontComboBox.Text = attrs.Font; hefontComboBox.Text = attrs.HeFont; cssTextBox.Text = attrs.Css ?? ""; setRouteNumbers = new Dictionary <int, string>(); #pragma warning disable CA2000 kbsnListView.AddColumn(new TextBoxCell { Binding = Binding.Delegate <Route, string>(r => { setRouteNumbers.TryGetValue(r.Index, out string val); return(val ?? attrs.KBSn.GetValue(r.Index) ?? NO_KBS_TEXT); }, (r, n) => setRouteNumbers[r.Index] = n) }, "Name", editable: true
private void OnFormLoad(object sender, EventArgs e) { _fontComboBox = new FontComboBox(); tabFont.Controls.Add(_fontComboBox); _fontComboBox.Location = new System.Drawing.Point(95, 14); _fontComboBox.Width = 155; SetUpUI(); }
public Form1() { InitializeComponent(); //Initialize the FontComboBox control. FontComboBox fontComboBox = new FontComboBox(); fontComboBox.Size = new Size(150, 40); fontComboBox.Location = new Point(100, 100); fontComboBox.VisualStyle = ThemedComboBoxStyles.Office2016Colorful; fontComboBox.UseAutoComplete = true; fontComboBox.SelectedItem = "Arial"; this.Controls.Add(fontComboBox); }
private void LoadSettings() { LayoutRichTextBox.Rtf = Program.Settings.InfoText; SetPositionButton(Program.Settings.ScreenPosition); LayoutRichTextBox.BackColor = Program.Settings.BackgroundColor.ToColor(); FontComboBox.SelectedIndex = FontComboBox.FindString("Arial"); FontSizeComboBox.SelectedIndex = 2; SetOutputDepth(Program.Settings.OutputDepth); ignoreTaskbarHeightToolStripMenuItem.Checked = Program.Settings.IgnoreTaskBar; trySavingRelativePathsToolStripMenuItem.Checked = Program.Settings.SaveRelativeImagePaths; }
private void TextBoxSelectionChanged(object sender, EventArgs e) { if (LayoutRichTextBox.SelectionFont != null) { BoldToolStripButton.Checked = LayoutRichTextBox.SelectionFont.Bold; ItalicToolStripButton.Checked = LayoutRichTextBox.SelectionFont.Italic; UnderlineToolStripButton.Checked = LayoutRichTextBox.SelectionFont.Underline; FontComboBox.SelectedIndex = FontComboBox.FindString(LayoutRichTextBox.SelectionFont.FontFamily.Name); FontSizeComboBox.SelectedIndex = FontSizeComboBox.FindString(LayoutRichTextBox.SelectionFont.SizeInPoints.ToString()); } else { BoldToolStripButton.Checked = false; ItalicToolStripButton.Checked = false; UnderlineToolStripButton.Checked = false; FontComboBox.Text = string.Empty; FontSizeComboBox.Text = string.Empty; } SetAlignmentButton(LayoutRichTextBox.SelectionAlignment); }
private void CleanUp() { _shapeFile = null; _fontComboBox = null; _layersHandler = null; }
/// <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(); this.label24 = new System.Windows.Forms.Label(); this.m_edYOffset = new System.Windows.Forms.TextBox(); this.m_edXOffset = new System.Windows.Forms.TextBox(); this.label23 = new System.Windows.Forms.Label(); this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.m_cbVerticalAlignment = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.m_cbLabelStyle = new System.Windows.Forms.ComboBox(); this._chkAutomaticAlignment = new System.Windows.Forms.CheckBox(); this.label8 = new System.Windows.Forms.Label(); this._cbBackgroundStyle = new System.Windows.Forms.ComboBox(); this._cbBackgroundBrush = new Altaxo.Gui.Common.Drawing.BrushColorComboBox(); this.m_cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox(); this.m_cbFont = new Altaxo.Gui.Common.Drawing.FontComboBox(); this._backgroundGlue = new Altaxo.Gui.Graph.BackgroundControlsGlue(); this.m_edRotation = new Altaxo.Gui.Common.Drawing.RotationComboBox(); this.m_cbFontSize = new Altaxo.Gui.Common.Drawing.FontSizeComboBox(); this._edSuppressLabelValues = new System.Windows.Forms.TextBox(); this._edSuppressLabelsByNumber = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // label24 // this.label24.Location = new System.Drawing.Point(24, 64); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(16, 16); this.label24.TabIndex = 19; this.label24.Text = "Y"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_edYOffset // this.m_edYOffset.Location = new System.Drawing.Point(72, 64); this.m_edYOffset.Name = "m_edYOffset"; this.m_edYOffset.Size = new System.Drawing.Size(56, 20); this.m_edYOffset.TabIndex = 16; this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating); // // m_edXOffset // this.m_edXOffset.Location = new System.Drawing.Point(72, 32); this.m_edXOffset.Name = "m_edXOffset"; this.m_edXOffset.Size = new System.Drawing.Size(56, 20); this.m_edXOffset.TabIndex = 15; this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating); // // label23 // this.label23.Location = new System.Drawing.Point(24, 24); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(16, 16); this.label23.TabIndex = 14; this.label23.Text = "X"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbHorizontalAlignment // this.m_cbHorizontalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbHorizontalAlignment.Location = new System.Drawing.Point(112, 136); this.m_cbHorizontalAlignment.Name = "m_cbHorizontalAlignment"; this.m_cbHorizontalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbHorizontalAlignment.TabIndex = 22; this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted); // // label1 // this.label1.Location = new System.Drawing.Point(48, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 24; this.label1.Text = "Font:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Location = new System.Drawing.Point(32, 72); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 16); this.label3.TabIndex = 26; this.label3.Text = "Font size:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(16, 136); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 16); this.label4.TabIndex = 27; this.label4.Text = "Horz. alignment:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox1 // this.groupBox1.Controls.Add(this.m_edXOffset); this.groupBox1.Controls.Add(this.label23); this.groupBox1.Controls.Add(this.m_edYOffset); this.groupBox1.Controls.Add(this.label24); this.groupBox1.Location = new System.Drawing.Point(272, 96); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(136, 96); this.groupBox1.TabIndex = 29; this.groupBox1.TabStop = false; this.groupBox1.Text = "Offset (%)"; // // m_cbVerticalAlignment // this.m_cbVerticalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbVerticalAlignment.Location = new System.Drawing.Point(112, 168); this.m_cbVerticalAlignment.Name = "m_cbVerticalAlignment"; this.m_cbVerticalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbVerticalAlignment.TabIndex = 30; this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted); // // label5 // this.label5.Location = new System.Drawing.Point(24, 168); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(88, 16); this.label5.TabIndex = 31; this.label5.Text = "Vert. alignment:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.Location = new System.Drawing.Point(269, 53); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(96, 16); this.label6.TabIndex = 20; this.label6.Text = "Rotation (deg.):"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(64, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 36; this.label2.Text = "Color:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.Location = new System.Drawing.Point(32, 301); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(64, 16); this.label7.TabIndex = 37; this.label7.Text = "Label style:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbLabelStyle // this.m_cbLabelStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbLabelStyle.Location = new System.Drawing.Point(112, 296); this.m_cbLabelStyle.Name = "m_cbLabelStyle"; this.m_cbLabelStyle.Size = new System.Drawing.Size(232, 21); this.m_cbLabelStyle.TabIndex = 38; this.m_cbLabelStyle.SelectionChangeCommitted += new System.EventHandler(this.m_cbLabelStyle_SelectionChangeCommitted); // // _chkAutomaticAlignment // this._chkAutomaticAlignment.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this._chkAutomaticAlignment.Location = new System.Drawing.Point(24, 112); this._chkAutomaticAlignment.Name = "_chkAutomaticAlignment"; this._chkAutomaticAlignment.Size = new System.Drawing.Size(104, 16); this._chkAutomaticAlignment.TabIndex = 39; this._chkAutomaticAlignment.Text = "AutoAlign:"; this._chkAutomaticAlignment.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this._chkAutomaticAlignment.CheckedChanged += new System.EventHandler(this._chkAutomaticAlignment_CheckedChanged); // // label8 // this.label8.Location = new System.Drawing.Point(32, 205); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(72, 16); this.label8.TabIndex = 41; this.label8.Text = "Background:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // _cbBackgroundStyle // this._cbBackgroundStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._cbBackgroundStyle.FormattingEnabled = true; this._cbBackgroundStyle.Location = new System.Drawing.Point(110, 200); this._cbBackgroundStyle.Name = "_cbBackgroundStyle"; this._cbBackgroundStyle.Size = new System.Drawing.Size(138, 21); this._cbBackgroundStyle.TabIndex = 44; // // _cbBackgroundBrush // this._cbBackgroundBrush.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this._cbBackgroundBrush.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this._cbBackgroundBrush.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._cbBackgroundBrush.FormattingEnabled = true; this._cbBackgroundBrush.ItemHeight = 15; this._cbBackgroundBrush.Location = new System.Drawing.Point(272, 200); this._cbBackgroundBrush.Name = "_cbBackgroundBrush"; this._cbBackgroundBrush.Size = new System.Drawing.Size(136, 21); this._cbBackgroundBrush.TabIndex = 45; // // m_cbColor // this.m_cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this.m_cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbColor.FormattingEnabled = true; this.m_cbColor.ItemHeight = 15; this.m_cbColor.Items.AddRange(new object[] { System.Drawing.Color.Black }); this.m_cbColor.Location = new System.Drawing.Point(112, 8); this.m_cbColor.Name = "m_cbColor"; this.m_cbColor.Size = new System.Drawing.Size(136, 21); this.m_cbColor.TabIndex = 43; this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted); // // m_cbFont // this.m_cbFont.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbFont.ItemHeight = 15; this.m_cbFont.Location = new System.Drawing.Point(112, 40); this.m_cbFont.Name = "m_cbFont"; this.m_cbFont.Size = new System.Drawing.Size(136, 21); this.m_cbFont.TabIndex = 23; this.m_cbFont.SelectionChangeCommitted += new System.EventHandler(this.EhFont_SelectionChangedCommitted); // // _backgroundGlue // this._backgroundGlue.CbBrush = this._cbBackgroundBrush; this._backgroundGlue.CbStyle = this._cbBackgroundStyle; this._backgroundGlue.LabelBrush = null; // // m_edRotation // this.m_edRotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_edRotation.FormattingEnabled = true; this.m_edRotation.ItemHeight = 15; this.m_edRotation.Location = new System.Drawing.Point(272, 72); this.m_edRotation.Name = "m_edRotation"; this.m_edRotation.Size = new System.Drawing.Size(136, 21); this.m_edRotation.TabIndex = 46; // // m_cbFontSize // this.m_cbFontSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFontSize.FormattingEnabled = true; this.m_cbFontSize.ItemHeight = 15; this.m_cbFontSize.Location = new System.Drawing.Point(110, 72); this.m_cbFontSize.Name = "m_cbFontSize"; this.m_cbFontSize.Size = new System.Drawing.Size(138, 21); this.m_cbFontSize.TabIndex = 47; this.m_cbFontSize.FontSizeChanged += new System.EventHandler(this.EhFontSize_SelectionChangeCommitted); // // _edSuppressLabelValues // this._edSuppressLabelValues.Location = new System.Drawing.Point(110, 238); this._edSuppressLabelValues.Name = "_edSuppressLabelValues"; this._edSuppressLabelValues.Size = new System.Drawing.Size(136, 20); this._edSuppressLabelValues.TabIndex = 48; // // _edSuppressLabelsByNumber // this._edSuppressLabelsByNumber.Location = new System.Drawing.Point(112, 264); this._edSuppressLabelsByNumber.Name = "_edSuppressLabelsByNumber"; this._edSuppressLabelsByNumber.Size = new System.Drawing.Size(136, 20); this._edSuppressLabelsByNumber.TabIndex = 49; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(16, 241); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(88, 13); this.label9.TabIndex = 50; this.label9.Text = "Suppress values:"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(17, 267); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(89, 13); this.label10.TabIndex = 51; this.label10.Text = "Suppress label #:"; // // XYAxisLabelStyleControl // this.Controls.Add(this.label10); this.Controls.Add(this.label9); this.Controls.Add(this._edSuppressLabelsByNumber); this.Controls.Add(this._edSuppressLabelValues); this.Controls.Add(this.m_cbFontSize); this.Controls.Add(this.m_edRotation); this.Controls.Add(this._cbBackgroundBrush); this.Controls.Add(this._cbBackgroundStyle); this.Controls.Add(this.m_cbColor); this.Controls.Add(this.label8); this.Controls.Add(this._chkAutomaticAlignment); this.Controls.Add(this.m_cbLabelStyle); this.Controls.Add(this.label7); this.Controls.Add(this.label2); this.Controls.Add(this.label5); this.Controls.Add(this.m_cbVerticalAlignment); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label1); this.Controls.Add(this.m_cbFont); this.Controls.Add(this.m_cbHorizontalAlignment); this.Controls.Add(this.label6); this.Name = "XYAxisLabelStyleControl"; this.Size = new System.Drawing.Size(440, 360); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.label24 = new System.Windows.Forms.Label(); this.m_edYOffset = new System.Windows.Forms.TextBox(); this.m_edXOffset = new System.Windows.Forms.TextBox(); this.label23 = new System.Windows.Forms.Label(); this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.m_chkAttachToAxis = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.m_cbVerticalAlignment = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.m_cbAttachedAxis = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.m_chkIndependentColor = new System.Windows.Forms.CheckBox(); this._edLabelColumn = new System.Windows.Forms.TextBox(); this._btSelectLabelColumn = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this._cbBackgroundStyle = new System.Windows.Forms.ComboBox(); this._backgroundBrush = new Altaxo.Gui.Common.Drawing.BrushColorComboBox(); this.m_cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox(); this.m_cbFont = new Altaxo.Gui.Common.Drawing.FontComboBox(); this.m_cbFontSize = new Altaxo.Gui.Common.Drawing.FontSizeComboBox(); this._fontControlsGlue = new Altaxo.Gui.Common.Drawing.FontControlsGlue(); this._backgroundGlue = new Altaxo.Gui.Graph.BackgroundControlsGlue(); this.m_edRotation = new Altaxo.Gui.Common.Drawing.RotationComboBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // label24 // this.label24.Location = new System.Drawing.Point(24, 64); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(16, 16); this.label24.TabIndex = 19; this.label24.Text = "Y"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_edYOffset // this.m_edYOffset.Location = new System.Drawing.Point(72, 64); this.m_edYOffset.Name = "m_edYOffset"; this.m_edYOffset.Size = new System.Drawing.Size(56, 20); this.m_edYOffset.TabIndex = 16; this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating); // // m_edXOffset // this.m_edXOffset.Location = new System.Drawing.Point(72, 32); this.m_edXOffset.Name = "m_edXOffset"; this.m_edXOffset.Size = new System.Drawing.Size(56, 20); this.m_edXOffset.TabIndex = 15; this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating); // // label23 // this.label23.Location = new System.Drawing.Point(24, 24); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(16, 16); this.label23.TabIndex = 14; this.label23.Text = "X"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbHorizontalAlignment // this.m_cbHorizontalAlignment.Location = new System.Drawing.Point(126, 125); this.m_cbHorizontalAlignment.Name = "m_cbHorizontalAlignment"; this.m_cbHorizontalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbHorizontalAlignment.TabIndex = 22; this.m_cbHorizontalAlignment.Text = "comboBox1"; this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted); // // label1 // this.label1.Location = new System.Drawing.Point(64, 71); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 24; this.label1.Text = "Font:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Location = new System.Drawing.Point(48, 104); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 16); this.label3.TabIndex = 26; this.label3.Text = "Font size:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(13, 130); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(112, 16); this.label4.TabIndex = 27; this.label4.Text = "Horz. alignment:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_chkAttachToAxis // this.m_chkAttachToAxis.Location = new System.Drawing.Point(24, 179); this.m_chkAttachToAxis.Name = "m_chkAttachToAxis"; this.m_chkAttachToAxis.Size = new System.Drawing.Size(96, 21); this.m_chkAttachToAxis.TabIndex = 28; this.m_chkAttachToAxis.Text = "Attach to axis:"; this.m_chkAttachToAxis.CheckedChanged += new System.EventHandler(this.EhAttachToAxis_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.m_edXOffset); this.groupBox1.Controls.Add(this.label23); this.groupBox1.Controls.Add(this.m_edYOffset); this.groupBox1.Controls.Add(this.label24); this.groupBox1.Location = new System.Drawing.Point(296, 104); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(136, 96); this.groupBox1.TabIndex = 29; this.groupBox1.TabStop = false; this.groupBox1.Text = "Offset (%)"; // // m_cbVerticalAlignment // this.m_cbVerticalAlignment.Location = new System.Drawing.Point(126, 152); this.m_cbVerticalAlignment.Name = "m_cbVerticalAlignment"; this.m_cbVerticalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbVerticalAlignment.TabIndex = 30; this.m_cbVerticalAlignment.Text = "comboBox1"; this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted); // // label5 // this.label5.Location = new System.Drawing.Point(8, 157); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(112, 16); this.label5.TabIndex = 31; this.label5.Text = "Vert. alignment:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbAttachedAxis // this.m_cbAttachedAxis.Location = new System.Drawing.Point(126, 179); this.m_cbAttachedAxis.Name = "m_cbAttachedAxis"; this.m_cbAttachedAxis.Size = new System.Drawing.Size(136, 21); this.m_cbAttachedAxis.TabIndex = 32; this.m_cbAttachedAxis.Text = "comboBox2"; this.m_cbAttachedAxis.SelectedIndexChanged += new System.EventHandler(this.EhAttachedAxis_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(293, 52); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(96, 16); this.label6.TabIndex = 20; this.label6.Text = "Rotation (deg.):"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // m_chkIndependentColor // this.m_chkIndependentColor.Location = new System.Drawing.Point(47, 44); this.m_chkIndependentColor.Name = "m_chkIndependentColor"; this.m_chkIndependentColor.Size = new System.Drawing.Size(73, 21); this.m_chkIndependentColor.TabIndex = 34; this.m_chkIndependentColor.Text = "Ind. color:"; this.m_chkIndependentColor.CheckedChanged += new System.EventHandler(this.EhIndependentColor_CheckChanged); // // _edLabelColumn // this._edLabelColumn.Location = new System.Drawing.Point(128, 8); this._edLabelColumn.Name = "_edLabelColumn"; this._edLabelColumn.Size = new System.Drawing.Size(240, 20); this._edLabelColumn.TabIndex = 36; this._edLabelColumn.Text = "textBox1"; // // _btSelectLabelColumn // this._btSelectLabelColumn.Location = new System.Drawing.Point(376, 8); this._btSelectLabelColumn.Name = "_btSelectLabelColumn"; this._btSelectLabelColumn.Size = new System.Drawing.Size(56, 20); this._btSelectLabelColumn.TabIndex = 37; this._btSelectLabelColumn.Text = "Select .."; this._btSelectLabelColumn.Click += new System.EventHandler(this.EhSelectLabelColumn_Click); // // label2 // this.label2.Location = new System.Drawing.Point(8, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(112, 20); this.label2.TabIndex = 38; this.label2.Text = "LabelColumn:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.Location = new System.Drawing.Point(48, 211); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(72, 16); this.label7.TabIndex = 42; this.label7.Text = "Background:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // _cbBackgroundStyle // this._cbBackgroundStyle.FormattingEnabled = true; this._cbBackgroundStyle.Location = new System.Drawing.Point(126, 206); this._cbBackgroundStyle.Name = "_cbBackgroundStyle"; this._cbBackgroundStyle.Size = new System.Drawing.Size(136, 21); this._cbBackgroundStyle.TabIndex = 46; // // _backgroundBrush // this._backgroundBrush.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this._backgroundBrush.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this._backgroundBrush.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._backgroundBrush.FormattingEnabled = true; this._backgroundBrush.ItemHeight = 15; this._backgroundBrush.Location = new System.Drawing.Point(296, 206); this._backgroundBrush.Name = "_backgroundBrush"; this._backgroundBrush.Size = new System.Drawing.Size(136, 21); this._backgroundBrush.TabIndex = 45; // // m_cbColor // this.m_cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this.m_cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbColor.FormattingEnabled = true; this.m_cbColor.ItemHeight = 15; this.m_cbColor.Items.AddRange(new object[] { System.Drawing.SystemColors.ActiveBorder, System.Drawing.SystemColors.ActiveCaption, System.Drawing.SystemColors.ActiveCaptionText, System.Drawing.SystemColors.AppWorkspace, System.Drawing.SystemColors.Control, System.Drawing.SystemColors.ControlDark, System.Drawing.SystemColors.ControlDarkDark, System.Drawing.SystemColors.ControlLight, System.Drawing.SystemColors.ControlLightLight, System.Drawing.SystemColors.ControlText, System.Drawing.SystemColors.Desktop, System.Drawing.SystemColors.GrayText, System.Drawing.SystemColors.Highlight, System.Drawing.SystemColors.HighlightText, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.InactiveBorder, System.Drawing.SystemColors.InactiveCaption, System.Drawing.SystemColors.InactiveCaptionText, System.Drawing.SystemColors.Info, System.Drawing.SystemColors.InfoText, System.Drawing.SystemColors.Menu, System.Drawing.SystemColors.MenuText, System.Drawing.SystemColors.ScrollBar, System.Drawing.SystemColors.Window, System.Drawing.SystemColors.WindowFrame, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Transparent, System.Drawing.Color.AliceBlue, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.Aqua, System.Drawing.Color.Aquamarine, System.Drawing.Color.Azure, System.Drawing.Color.Beige, System.Drawing.Color.Bisque, System.Drawing.Color.Black, System.Drawing.Color.BlanchedAlmond, System.Drawing.Color.Blue, System.Drawing.Color.BlueViolet, System.Drawing.Color.Brown, System.Drawing.Color.BurlyWood, System.Drawing.Color.CadetBlue, System.Drawing.Color.Chartreuse, System.Drawing.Color.Chocolate, System.Drawing.Color.Coral, System.Drawing.Color.CornflowerBlue, System.Drawing.Color.Cornsilk, System.Drawing.Color.Crimson, System.Drawing.Color.Cyan, System.Drawing.Color.DarkBlue, System.Drawing.Color.DarkCyan, System.Drawing.Color.DarkGoldenrod, System.Drawing.Color.DarkGray, System.Drawing.Color.DarkGreen, System.Drawing.Color.DarkKhaki, System.Drawing.Color.DarkMagenta, System.Drawing.Color.DarkOliveGreen, System.Drawing.Color.DarkOrange, System.Drawing.Color.DarkOrchid, System.Drawing.Color.DarkRed, System.Drawing.Color.DarkSalmon, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.DarkSlateBlue, System.Drawing.Color.DarkSlateGray, System.Drawing.Color.DarkTurquoise, System.Drawing.Color.DarkViolet, System.Drawing.Color.DeepPink, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DimGray, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Firebrick, System.Drawing.Color.FloralWhite, System.Drawing.Color.ForestGreen, System.Drawing.Color.Fuchsia, System.Drawing.Color.Gainsboro, System.Drawing.Color.GhostWhite, System.Drawing.Color.Gold, System.Drawing.Color.Goldenrod, System.Drawing.Color.Gray, System.Drawing.Color.Green, System.Drawing.Color.GreenYellow, System.Drawing.Color.Honeydew, System.Drawing.Color.HotPink, System.Drawing.Color.IndianRed, System.Drawing.Color.Indigo, System.Drawing.Color.Ivory, System.Drawing.Color.Khaki, System.Drawing.Color.Lavender, System.Drawing.Color.LavenderBlush, System.Drawing.Color.LawnGreen, System.Drawing.Color.LemonChiffon, System.Drawing.Color.LightBlue, System.Drawing.Color.LightCoral, System.Drawing.Color.LightCyan, System.Drawing.Color.LightGoldenrodYellow, System.Drawing.Color.LightGray, System.Drawing.Color.LightGreen, System.Drawing.Color.LightPink, System.Drawing.Color.LightSalmon, System.Drawing.Color.LightSeaGreen, System.Drawing.Color.LightSkyBlue, System.Drawing.Color.LightSlateGray, System.Drawing.Color.LightSteelBlue, System.Drawing.Color.LightYellow, System.Drawing.Color.Lime, System.Drawing.Color.LimeGreen, System.Drawing.Color.Linen, System.Drawing.Color.Magenta, System.Drawing.Color.Maroon, System.Drawing.Color.MediumAquamarine, System.Drawing.Color.MediumBlue, System.Drawing.Color.MediumOrchid, System.Drawing.Color.MediumPurple, System.Drawing.Color.MediumSeaGreen, System.Drawing.Color.MediumSlateBlue, System.Drawing.Color.MediumSpringGreen, System.Drawing.Color.MediumTurquoise, System.Drawing.Color.MediumVioletRed, System.Drawing.Color.MidnightBlue, System.Drawing.Color.MintCream, System.Drawing.Color.MistyRose, System.Drawing.Color.Moccasin, System.Drawing.Color.NavajoWhite, System.Drawing.Color.Navy, System.Drawing.Color.OldLace, System.Drawing.Color.Olive, System.Drawing.Color.OliveDrab, System.Drawing.Color.Orange, System.Drawing.Color.OrangeRed, System.Drawing.Color.Orchid, System.Drawing.Color.PaleGoldenrod, System.Drawing.Color.PaleGreen, System.Drawing.Color.PaleTurquoise, System.Drawing.Color.PaleVioletRed, System.Drawing.Color.PapayaWhip, System.Drawing.Color.PeachPuff, System.Drawing.Color.Peru, System.Drawing.Color.Pink, System.Drawing.Color.Plum, System.Drawing.Color.PowderBlue, System.Drawing.Color.Purple, System.Drawing.Color.Red, System.Drawing.Color.RosyBrown, System.Drawing.Color.RoyalBlue, System.Drawing.Color.SaddleBrown, System.Drawing.Color.Salmon, System.Drawing.Color.SandyBrown, System.Drawing.Color.SeaGreen, System.Drawing.Color.SeaShell, System.Drawing.Color.Sienna, System.Drawing.Color.Silver, System.Drawing.Color.SkyBlue, System.Drawing.Color.SlateBlue, System.Drawing.Color.SlateGray, System.Drawing.Color.Snow, System.Drawing.Color.SpringGreen, System.Drawing.Color.SteelBlue, System.Drawing.Color.Tan, System.Drawing.Color.Teal, System.Drawing.Color.Thistle, System.Drawing.Color.Tomato, System.Drawing.Color.Turquoise, System.Drawing.Color.Violet, System.Drawing.Color.Wheat, System.Drawing.Color.White, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.Yellow, System.Drawing.Color.YellowGreen, System.Drawing.SystemColors.ButtonFace, System.Drawing.SystemColors.ButtonHighlight, System.Drawing.SystemColors.ButtonShadow, System.Drawing.SystemColors.GradientActiveCaption, System.Drawing.SystemColors.GradientInactiveCaption, System.Drawing.SystemColors.MenuBar, System.Drawing.SystemColors.MenuHighlight, System.Drawing.SystemColors.ActiveBorder, System.Drawing.SystemColors.ActiveCaption, System.Drawing.SystemColors.ActiveCaptionText, System.Drawing.SystemColors.AppWorkspace, System.Drawing.SystemColors.Control, System.Drawing.SystemColors.ControlDark, System.Drawing.SystemColors.ControlDarkDark, System.Drawing.SystemColors.ControlLight, System.Drawing.SystemColors.ControlLightLight, System.Drawing.SystemColors.ControlText, System.Drawing.SystemColors.Desktop, System.Drawing.SystemColors.GrayText, System.Drawing.SystemColors.Highlight, System.Drawing.SystemColors.HighlightText, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.InactiveBorder, System.Drawing.SystemColors.InactiveCaption, System.Drawing.SystemColors.InactiveCaptionText, System.Drawing.SystemColors.Info, System.Drawing.SystemColors.InfoText, System.Drawing.SystemColors.Menu, System.Drawing.SystemColors.MenuText, System.Drawing.SystemColors.ScrollBar, System.Drawing.SystemColors.Window, System.Drawing.SystemColors.WindowFrame, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Transparent, System.Drawing.Color.AliceBlue, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.Aqua, System.Drawing.Color.Aquamarine, System.Drawing.Color.Azure, System.Drawing.Color.Beige, System.Drawing.Color.Bisque, System.Drawing.Color.Black, System.Drawing.Color.BlanchedAlmond, System.Drawing.Color.Blue, System.Drawing.Color.BlueViolet, System.Drawing.Color.Brown, System.Drawing.Color.BurlyWood, System.Drawing.Color.CadetBlue, System.Drawing.Color.Chartreuse, System.Drawing.Color.Chocolate, System.Drawing.Color.Coral, System.Drawing.Color.CornflowerBlue, System.Drawing.Color.Cornsilk, System.Drawing.Color.Crimson, System.Drawing.Color.Cyan, System.Drawing.Color.DarkBlue, System.Drawing.Color.DarkCyan, System.Drawing.Color.DarkGoldenrod, System.Drawing.Color.DarkGray, System.Drawing.Color.DarkGreen, System.Drawing.Color.DarkKhaki, System.Drawing.Color.DarkMagenta, System.Drawing.Color.DarkOliveGreen, System.Drawing.Color.DarkOrange, System.Drawing.Color.DarkOrchid, System.Drawing.Color.DarkRed, System.Drawing.Color.DarkSalmon, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.DarkSlateBlue, System.Drawing.Color.DarkSlateGray, System.Drawing.Color.DarkTurquoise, System.Drawing.Color.DarkViolet, System.Drawing.Color.DeepPink, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DimGray, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Firebrick, System.Drawing.Color.FloralWhite, System.Drawing.Color.ForestGreen, System.Drawing.Color.Fuchsia, System.Drawing.Color.Gainsboro, System.Drawing.Color.GhostWhite, System.Drawing.Color.Gold, System.Drawing.Color.Goldenrod, System.Drawing.Color.Gray, System.Drawing.Color.Green, System.Drawing.Color.GreenYellow, System.Drawing.Color.Honeydew, System.Drawing.Color.HotPink, System.Drawing.Color.IndianRed, System.Drawing.Color.Indigo, System.Drawing.Color.Ivory, System.Drawing.Color.Khaki, System.Drawing.Color.Lavender, System.Drawing.Color.LavenderBlush, System.Drawing.Color.LawnGreen, System.Drawing.Color.LemonChiffon, System.Drawing.Color.LightBlue, System.Drawing.Color.LightCoral, System.Drawing.Color.LightCyan, System.Drawing.Color.LightGoldenrodYellow, System.Drawing.Color.LightGray, System.Drawing.Color.LightGreen, System.Drawing.Color.LightPink, System.Drawing.Color.LightSalmon, System.Drawing.Color.LightSeaGreen, System.Drawing.Color.LightSkyBlue, System.Drawing.Color.LightSlateGray, System.Drawing.Color.LightSteelBlue, System.Drawing.Color.LightYellow, System.Drawing.Color.Lime, System.Drawing.Color.LimeGreen, System.Drawing.Color.Linen, System.Drawing.Color.Magenta, System.Drawing.Color.Maroon, System.Drawing.Color.MediumAquamarine, System.Drawing.Color.MediumBlue, System.Drawing.Color.MediumOrchid, System.Drawing.Color.MediumPurple, System.Drawing.Color.MediumSeaGreen, System.Drawing.Color.MediumSlateBlue, System.Drawing.Color.MediumSpringGreen, System.Drawing.Color.MediumTurquoise, System.Drawing.Color.MediumVioletRed, System.Drawing.Color.MidnightBlue, System.Drawing.Color.MintCream, System.Drawing.Color.MistyRose, System.Drawing.Color.Moccasin, System.Drawing.Color.NavajoWhite, System.Drawing.Color.Navy, System.Drawing.Color.OldLace, System.Drawing.Color.Olive, System.Drawing.Color.OliveDrab, System.Drawing.Color.Orange, System.Drawing.Color.OrangeRed, System.Drawing.Color.Orchid, System.Drawing.Color.PaleGoldenrod, System.Drawing.Color.PaleGreen, System.Drawing.Color.PaleTurquoise, System.Drawing.Color.PaleVioletRed, System.Drawing.Color.PapayaWhip, System.Drawing.Color.PeachPuff, System.Drawing.Color.Peru, System.Drawing.Color.Pink, System.Drawing.Color.Plum, System.Drawing.Color.PowderBlue, System.Drawing.Color.Purple, System.Drawing.Color.Red, System.Drawing.Color.RosyBrown, System.Drawing.Color.RoyalBlue, System.Drawing.Color.SaddleBrown, System.Drawing.Color.Salmon, System.Drawing.Color.SandyBrown, System.Drawing.Color.SeaGreen, System.Drawing.Color.SeaShell, System.Drawing.Color.Sienna, System.Drawing.Color.Silver, System.Drawing.Color.SkyBlue, System.Drawing.Color.SlateBlue, System.Drawing.Color.SlateGray, System.Drawing.Color.Snow, System.Drawing.Color.SpringGreen, System.Drawing.Color.SteelBlue, System.Drawing.Color.Tan, System.Drawing.Color.Teal, System.Drawing.Color.Thistle, System.Drawing.Color.Tomato, System.Drawing.Color.Turquoise, System.Drawing.Color.Violet, System.Drawing.Color.Wheat, System.Drawing.Color.White, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.Yellow, System.Drawing.Color.YellowGreen, System.Drawing.SystemColors.ButtonFace, System.Drawing.SystemColors.ButtonHighlight, System.Drawing.SystemColors.ButtonShadow, System.Drawing.SystemColors.GradientActiveCaption, System.Drawing.SystemColors.GradientInactiveCaption, System.Drawing.SystemColors.MenuBar, System.Drawing.SystemColors.MenuHighlight, System.Drawing.SystemColors.ActiveBorder, System.Drawing.SystemColors.ActiveCaption, System.Drawing.SystemColors.ActiveCaptionText, System.Drawing.SystemColors.AppWorkspace, System.Drawing.SystemColors.Control, System.Drawing.SystemColors.ControlDark, System.Drawing.SystemColors.ControlDarkDark, System.Drawing.SystemColors.ControlLight, System.Drawing.SystemColors.ControlLightLight, System.Drawing.SystemColors.ControlText, System.Drawing.SystemColors.Desktop, System.Drawing.SystemColors.GrayText, System.Drawing.SystemColors.Highlight, System.Drawing.SystemColors.HighlightText, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.InactiveBorder, System.Drawing.SystemColors.InactiveCaption, System.Drawing.SystemColors.InactiveCaptionText, System.Drawing.SystemColors.Info, System.Drawing.SystemColors.InfoText, System.Drawing.SystemColors.Menu, System.Drawing.SystemColors.MenuText, System.Drawing.SystemColors.ScrollBar, System.Drawing.SystemColors.Window, System.Drawing.SystemColors.WindowFrame, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Transparent, System.Drawing.Color.AliceBlue, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.Aqua, System.Drawing.Color.Aquamarine, System.Drawing.Color.Azure, System.Drawing.Color.Beige, System.Drawing.Color.Bisque, System.Drawing.Color.Black, System.Drawing.Color.BlanchedAlmond, System.Drawing.Color.Blue, System.Drawing.Color.BlueViolet, System.Drawing.Color.Brown, System.Drawing.Color.BurlyWood, System.Drawing.Color.CadetBlue, System.Drawing.Color.Chartreuse, System.Drawing.Color.Chocolate, System.Drawing.Color.Coral, System.Drawing.Color.CornflowerBlue, System.Drawing.Color.Cornsilk, System.Drawing.Color.Crimson, System.Drawing.Color.Cyan, System.Drawing.Color.DarkBlue, System.Drawing.Color.DarkCyan, System.Drawing.Color.DarkGoldenrod, System.Drawing.Color.DarkGray, System.Drawing.Color.DarkGreen, System.Drawing.Color.DarkKhaki, System.Drawing.Color.DarkMagenta, System.Drawing.Color.DarkOliveGreen, System.Drawing.Color.DarkOrange, System.Drawing.Color.DarkOrchid, System.Drawing.Color.DarkRed, System.Drawing.Color.DarkSalmon, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.DarkSlateBlue, System.Drawing.Color.DarkSlateGray, System.Drawing.Color.DarkTurquoise, System.Drawing.Color.DarkViolet, System.Drawing.Color.DeepPink, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DimGray, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Firebrick, System.Drawing.Color.FloralWhite, System.Drawing.Color.ForestGreen, System.Drawing.Color.Fuchsia, System.Drawing.Color.Gainsboro, System.Drawing.Color.GhostWhite, System.Drawing.Color.Gold, System.Drawing.Color.Goldenrod, System.Drawing.Color.Gray, System.Drawing.Color.Green, System.Drawing.Color.GreenYellow, System.Drawing.Color.Honeydew, System.Drawing.Color.HotPink, System.Drawing.Color.IndianRed, System.Drawing.Color.Indigo, System.Drawing.Color.Ivory, System.Drawing.Color.Khaki, System.Drawing.Color.Lavender, System.Drawing.Color.LavenderBlush, System.Drawing.Color.LawnGreen, System.Drawing.Color.LemonChiffon, System.Drawing.Color.LightBlue, System.Drawing.Color.LightCoral, System.Drawing.Color.LightCyan, System.Drawing.Color.LightGoldenrodYellow, System.Drawing.Color.LightGray, System.Drawing.Color.LightGreen, System.Drawing.Color.LightPink, System.Drawing.Color.LightSalmon, System.Drawing.Color.LightSeaGreen, System.Drawing.Color.LightSkyBlue, System.Drawing.Color.LightSlateGray, System.Drawing.Color.LightSteelBlue, System.Drawing.Color.LightYellow, System.Drawing.Color.Lime, System.Drawing.Color.LimeGreen, System.Drawing.Color.Linen, System.Drawing.Color.Magenta, System.Drawing.Color.Maroon, System.Drawing.Color.MediumAquamarine, System.Drawing.Color.MediumBlue, System.Drawing.Color.MediumOrchid, System.Drawing.Color.MediumPurple, System.Drawing.Color.MediumSeaGreen, System.Drawing.Color.MediumSlateBlue, System.Drawing.Color.MediumSpringGreen, System.Drawing.Color.MediumTurquoise, System.Drawing.Color.MediumVioletRed, System.Drawing.Color.MidnightBlue, System.Drawing.Color.MintCream, System.Drawing.Color.MistyRose, System.Drawing.Color.Moccasin, System.Drawing.Color.NavajoWhite, System.Drawing.Color.Navy, System.Drawing.Color.OldLace, System.Drawing.Color.Olive, System.Drawing.Color.OliveDrab, System.Drawing.Color.Orange, System.Drawing.Color.OrangeRed, System.Drawing.Color.Orchid, System.Drawing.Color.PaleGoldenrod, System.Drawing.Color.PaleGreen, System.Drawing.Color.PaleTurquoise, System.Drawing.Color.PaleVioletRed, System.Drawing.Color.PapayaWhip, System.Drawing.Color.PeachPuff, System.Drawing.Color.Peru, System.Drawing.Color.Pink, System.Drawing.Color.Plum, System.Drawing.Color.PowderBlue, System.Drawing.Color.Purple, System.Drawing.Color.Red, System.Drawing.Color.RosyBrown, System.Drawing.Color.RoyalBlue, System.Drawing.Color.SaddleBrown, System.Drawing.Color.Salmon, System.Drawing.Color.SandyBrown, System.Drawing.Color.SeaGreen, System.Drawing.Color.SeaShell, System.Drawing.Color.Sienna, System.Drawing.Color.Silver, System.Drawing.Color.SkyBlue, System.Drawing.Color.SlateBlue, System.Drawing.Color.SlateGray, System.Drawing.Color.Snow, System.Drawing.Color.SpringGreen, System.Drawing.Color.SteelBlue, System.Drawing.Color.Tan, System.Drawing.Color.Teal, System.Drawing.Color.Thistle, System.Drawing.Color.Tomato, System.Drawing.Color.Turquoise, System.Drawing.Color.Violet, System.Drawing.Color.Wheat, System.Drawing.Color.White, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.Yellow, System.Drawing.Color.YellowGreen, System.Drawing.SystemColors.ButtonFace, System.Drawing.SystemColors.ButtonHighlight, System.Drawing.SystemColors.ButtonShadow, System.Drawing.SystemColors.GradientActiveCaption, System.Drawing.SystemColors.GradientInactiveCaption, System.Drawing.SystemColors.MenuBar, System.Drawing.SystemColors.MenuHighlight, System.Drawing.SystemColors.ActiveBorder, System.Drawing.SystemColors.ActiveCaption, System.Drawing.SystemColors.ActiveCaptionText, System.Drawing.SystemColors.AppWorkspace, System.Drawing.SystemColors.Control, System.Drawing.SystemColors.ControlDark, System.Drawing.SystemColors.ControlDarkDark, System.Drawing.SystemColors.ControlLight, System.Drawing.SystemColors.ControlLightLight, System.Drawing.SystemColors.ControlText, System.Drawing.SystemColors.Desktop, System.Drawing.SystemColors.GrayText, System.Drawing.SystemColors.Highlight, System.Drawing.SystemColors.HighlightText, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.InactiveBorder, System.Drawing.SystemColors.InactiveCaption, System.Drawing.SystemColors.InactiveCaptionText, System.Drawing.SystemColors.Info, System.Drawing.SystemColors.InfoText, System.Drawing.SystemColors.Menu, System.Drawing.SystemColors.MenuText, System.Drawing.SystemColors.ScrollBar, System.Drawing.SystemColors.Window, System.Drawing.SystemColors.WindowFrame, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Transparent, System.Drawing.Color.AliceBlue, System.Drawing.Color.AntiqueWhite, System.Drawing.Color.Aqua, System.Drawing.Color.Aquamarine, System.Drawing.Color.Azure, System.Drawing.Color.Beige, System.Drawing.Color.Bisque, System.Drawing.Color.Black, System.Drawing.Color.BlanchedAlmond, System.Drawing.Color.Blue, System.Drawing.Color.BlueViolet, System.Drawing.Color.Brown, System.Drawing.Color.BurlyWood, System.Drawing.Color.CadetBlue, System.Drawing.Color.Chartreuse, System.Drawing.Color.Chocolate, System.Drawing.Color.Coral, System.Drawing.Color.CornflowerBlue, System.Drawing.Color.Cornsilk, System.Drawing.Color.Crimson, System.Drawing.Color.Cyan, System.Drawing.Color.DarkBlue, System.Drawing.Color.DarkCyan, System.Drawing.Color.DarkGoldenrod, System.Drawing.Color.DarkGray, System.Drawing.Color.DarkGreen, System.Drawing.Color.DarkKhaki, System.Drawing.Color.DarkMagenta, System.Drawing.Color.DarkOliveGreen, System.Drawing.Color.DarkOrange, System.Drawing.Color.DarkOrchid, System.Drawing.Color.DarkRed, System.Drawing.Color.DarkSalmon, System.Drawing.Color.DarkSeaGreen, System.Drawing.Color.DarkSlateBlue, System.Drawing.Color.DarkSlateGray, System.Drawing.Color.DarkTurquoise, System.Drawing.Color.DarkViolet, System.Drawing.Color.DeepPink, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DimGray, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Firebrick, System.Drawing.Color.FloralWhite, System.Drawing.Color.ForestGreen, System.Drawing.Color.Fuchsia, System.Drawing.Color.Gainsboro, System.Drawing.Color.GhostWhite, System.Drawing.Color.Gold, System.Drawing.Color.Goldenrod, System.Drawing.Color.Gray, System.Drawing.Color.Green, System.Drawing.Color.GreenYellow, System.Drawing.Color.Honeydew, System.Drawing.Color.HotPink, System.Drawing.Color.IndianRed, System.Drawing.Color.Indigo, System.Drawing.Color.Ivory, System.Drawing.Color.Khaki, System.Drawing.Color.Lavender, System.Drawing.Color.LavenderBlush, System.Drawing.Color.LawnGreen, System.Drawing.Color.LemonChiffon, System.Drawing.Color.LightBlue, System.Drawing.Color.LightCoral, System.Drawing.Color.LightCyan, System.Drawing.Color.LightGoldenrodYellow, System.Drawing.Color.LightGray, System.Drawing.Color.LightGreen, System.Drawing.Color.LightPink, System.Drawing.Color.LightSalmon, System.Drawing.Color.LightSeaGreen, System.Drawing.Color.LightSkyBlue, System.Drawing.Color.LightSlateGray, System.Drawing.Color.LightSteelBlue, System.Drawing.Color.LightYellow, System.Drawing.Color.Lime, System.Drawing.Color.LimeGreen, System.Drawing.Color.Linen, System.Drawing.Color.Magenta, System.Drawing.Color.Maroon, System.Drawing.Color.MediumAquamarine, System.Drawing.Color.MediumBlue, System.Drawing.Color.MediumOrchid, System.Drawing.Color.MediumPurple, System.Drawing.Color.MediumSeaGreen, System.Drawing.Color.MediumSlateBlue, System.Drawing.Color.MediumSpringGreen, System.Drawing.Color.MediumTurquoise, System.Drawing.Color.MediumVioletRed, System.Drawing.Color.MidnightBlue, System.Drawing.Color.MintCream, System.Drawing.Color.MistyRose, System.Drawing.Color.Moccasin, System.Drawing.Color.NavajoWhite, System.Drawing.Color.Navy, System.Drawing.Color.OldLace, System.Drawing.Color.Olive, System.Drawing.Color.OliveDrab, System.Drawing.Color.Orange, System.Drawing.Color.OrangeRed, System.Drawing.Color.Orchid, System.Drawing.Color.PaleGoldenrod, System.Drawing.Color.PaleGreen, System.Drawing.Color.PaleTurquoise, System.Drawing.Color.PaleVioletRed, System.Drawing.Color.PapayaWhip, System.Drawing.Color.PeachPuff, System.Drawing.Color.Peru, System.Drawing.Color.Pink, System.Drawing.Color.Plum, System.Drawing.Color.PowderBlue, System.Drawing.Color.Purple, System.Drawing.Color.Red, System.Drawing.Color.RosyBrown, System.Drawing.Color.RoyalBlue, System.Drawing.Color.SaddleBrown, System.Drawing.Color.Salmon, System.Drawing.Color.SandyBrown, System.Drawing.Color.SeaGreen, System.Drawing.Color.SeaShell, System.Drawing.Color.Sienna, System.Drawing.Color.Silver, System.Drawing.Color.SkyBlue, System.Drawing.Color.SlateBlue, System.Drawing.Color.SlateGray, System.Drawing.Color.Snow, System.Drawing.Color.SpringGreen, System.Drawing.Color.SteelBlue, System.Drawing.Color.Tan, System.Drawing.Color.Teal, System.Drawing.Color.Thistle, System.Drawing.Color.Tomato, System.Drawing.Color.Turquoise, System.Drawing.Color.Violet, System.Drawing.Color.Wheat, System.Drawing.Color.White, System.Drawing.Color.WhiteSmoke, System.Drawing.Color.Yellow, System.Drawing.Color.YellowGreen, System.Drawing.SystemColors.ButtonFace, System.Drawing.SystemColors.ButtonHighlight, System.Drawing.SystemColors.ButtonShadow, System.Drawing.SystemColors.GradientActiveCaption, System.Drawing.SystemColors.GradientInactiveCaption, System.Drawing.SystemColors.MenuBar, System.Drawing.SystemColors.MenuHighlight}); this.m_cbColor.Location = new System.Drawing.Point(126, 44); this.m_cbColor.Name = "m_cbColor"; this.m_cbColor.Size = new System.Drawing.Size(136, 21); this.m_cbColor.TabIndex = 44; this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted); // // m_cbFont // this.m_cbFont.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbFont.ItemHeight = 15; this.m_cbFont.Location = new System.Drawing.Point(126, 71); this.m_cbFont.Name = "m_cbFont"; this.m_cbFont.Size = new System.Drawing.Size(136, 21); this.m_cbFont.TabIndex = 23; // // m_cbFontSize // this.m_cbFontSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFontSize.ItemHeight = 15; this.m_cbFontSize.Location = new System.Drawing.Point(126, 98); this.m_cbFontSize.Name = "m_cbFontSize"; this.m_cbFontSize.Size = new System.Drawing.Size(136, 21); this.m_cbFontSize.TabIndex = 21; this.m_cbFontSize.Text = "comboBox1"; // // _fontControlsGlue // this._fontControlsGlue.CbFont = this.m_cbFont; this._fontControlsGlue.CbFontSize = this.m_cbFontSize; this._fontControlsGlue.FontUnit = System.Drawing.GraphicsUnit.World; this._fontControlsGlue.FontChanged += new System.EventHandler(this.EhFont_SelectionChangedCommitted); // // _backgroundGlue // this._backgroundGlue.CbBrush = this._backgroundBrush; this._backgroundGlue.CbStyle = this._cbBackgroundStyle; this._backgroundGlue.LabelBrush = null; // // m_edRotation // this.m_edRotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_edRotation.FormattingEnabled = true; this.m_edRotation.ItemHeight = 15; this.m_edRotation.Location = new System.Drawing.Point(296, 71); this.m_edRotation.Name = "m_edRotation"; this.m_edRotation.Size = new System.Drawing.Size(136, 21); this.m_edRotation.TabIndex = 47; // // XYPlotLabelStyleControl // this.Controls.Add(this.m_edRotation); this.Controls.Add(this._cbBackgroundStyle); this.Controls.Add(this._backgroundBrush); this.Controls.Add(this.m_cbColor); this.Controls.Add(this.label7); this.Controls.Add(this.label2); this.Controls.Add(this._btSelectLabelColumn); this.Controls.Add(this._edLabelColumn); this.Controls.Add(this.m_chkIndependentColor); this.Controls.Add(this.m_cbAttachedAxis); this.Controls.Add(this.label5); this.Controls.Add(this.m_cbVerticalAlignment); this.Controls.Add(this.groupBox1); this.Controls.Add(this.m_chkAttachToAxis); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label1); this.Controls.Add(this.m_cbFont); this.Controls.Add(this.m_cbHorizontalAlignment); this.Controls.Add(this.m_cbFontSize); this.Controls.Add(this.label6); this.Name = "XYPlotLabelStyleControl"; this.Size = new System.Drawing.Size(440, 253); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.label24 = new System.Windows.Forms.Label(); this.m_edYOffset = new System.Windows.Forms.TextBox(); this.m_edXOffset = new System.Windows.Forms.TextBox(); this.label23 = new System.Windows.Forms.Label(); this.m_cbHorizontalAlignment = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.m_cbVerticalAlignment = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.m_cbLabelStyle = new System.Windows.Forms.ComboBox(); this._chkAutomaticAlignment = new System.Windows.Forms.CheckBox(); this.label8 = new System.Windows.Forms.Label(); this._cbBackgroundStyle = new System.Windows.Forms.ComboBox(); this._cbBackgroundBrush = new Altaxo.Gui.Common.Drawing.BrushColorComboBox(); this.m_cbColor = new Altaxo.Gui.Common.Drawing.ColorComboBox(); this.m_cbFont = new Altaxo.Gui.Common.Drawing.FontComboBox(); this._backgroundGlue = new Altaxo.Gui.Graph.BackgroundControlsGlue(); this.m_edRotation = new Altaxo.Gui.Common.Drawing.RotationComboBox(); this.m_cbFontSize = new Altaxo.Gui.Common.Drawing.FontSizeComboBox(); this._edSuppressLabelValues = new System.Windows.Forms.TextBox(); this._edSuppressLabelsByNumber = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // label24 // this.label24.Location = new System.Drawing.Point(24, 64); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(16, 16); this.label24.TabIndex = 19; this.label24.Text = "Y"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_edYOffset // this.m_edYOffset.Location = new System.Drawing.Point(72, 64); this.m_edYOffset.Name = "m_edYOffset"; this.m_edYOffset.Size = new System.Drawing.Size(56, 20); this.m_edYOffset.TabIndex = 16; this.m_edYOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhYOffset_Validating); // // m_edXOffset // this.m_edXOffset.Location = new System.Drawing.Point(72, 32); this.m_edXOffset.Name = "m_edXOffset"; this.m_edXOffset.Size = new System.Drawing.Size(56, 20); this.m_edXOffset.TabIndex = 15; this.m_edXOffset.Validating += new System.ComponentModel.CancelEventHandler(this.EhXOffset_Validating); // // label23 // this.label23.Location = new System.Drawing.Point(24, 24); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(16, 16); this.label23.TabIndex = 14; this.label23.Text = "X"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbHorizontalAlignment // this.m_cbHorizontalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbHorizontalAlignment.Location = new System.Drawing.Point(112, 136); this.m_cbHorizontalAlignment.Name = "m_cbHorizontalAlignment"; this.m_cbHorizontalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbHorizontalAlignment.TabIndex = 22; this.m_cbHorizontalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhHorizontalAlignment_SelectionChangeCommitted); // // label1 // this.label1.Location = new System.Drawing.Point(48, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 24; this.label1.Text = "Font:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Location = new System.Drawing.Point(32, 72); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 16); this.label3.TabIndex = 26; this.label3.Text = "Font size:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(16, 136); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 16); this.label4.TabIndex = 27; this.label4.Text = "Horz. alignment:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // groupBox1 // this.groupBox1.Controls.Add(this.m_edXOffset); this.groupBox1.Controls.Add(this.label23); this.groupBox1.Controls.Add(this.m_edYOffset); this.groupBox1.Controls.Add(this.label24); this.groupBox1.Location = new System.Drawing.Point(272, 96); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(136, 96); this.groupBox1.TabIndex = 29; this.groupBox1.TabStop = false; this.groupBox1.Text = "Offset (%)"; // // m_cbVerticalAlignment // this.m_cbVerticalAlignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbVerticalAlignment.Location = new System.Drawing.Point(112, 168); this.m_cbVerticalAlignment.Name = "m_cbVerticalAlignment"; this.m_cbVerticalAlignment.Size = new System.Drawing.Size(136, 21); this.m_cbVerticalAlignment.TabIndex = 30; this.m_cbVerticalAlignment.SelectionChangeCommitted += new System.EventHandler(this.EhVerticalAlignment_SelectionChangeCommitted); // // label5 // this.label5.Location = new System.Drawing.Point(24, 168); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(88, 16); this.label5.TabIndex = 31; this.label5.Text = "Vert. alignment:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.Location = new System.Drawing.Point(269, 53); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(96, 16); this.label6.TabIndex = 20; this.label6.Text = "Rotation (deg.):"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(64, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 36; this.label2.Text = "Color:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.Location = new System.Drawing.Point(32, 301); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(64, 16); this.label7.TabIndex = 37; this.label7.Text = "Label style:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // m_cbLabelStyle // this.m_cbLabelStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbLabelStyle.Location = new System.Drawing.Point(112, 296); this.m_cbLabelStyle.Name = "m_cbLabelStyle"; this.m_cbLabelStyle.Size = new System.Drawing.Size(232, 21); this.m_cbLabelStyle.TabIndex = 38; this.m_cbLabelStyle.SelectionChangeCommitted += new System.EventHandler(this.m_cbLabelStyle_SelectionChangeCommitted); // // _chkAutomaticAlignment // this._chkAutomaticAlignment.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this._chkAutomaticAlignment.Location = new System.Drawing.Point(24, 112); this._chkAutomaticAlignment.Name = "_chkAutomaticAlignment"; this._chkAutomaticAlignment.Size = new System.Drawing.Size(104, 16); this._chkAutomaticAlignment.TabIndex = 39; this._chkAutomaticAlignment.Text = "AutoAlign:"; this._chkAutomaticAlignment.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this._chkAutomaticAlignment.CheckedChanged += new System.EventHandler(this._chkAutomaticAlignment_CheckedChanged); // // label8 // this.label8.Location = new System.Drawing.Point(32, 205); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(72, 16); this.label8.TabIndex = 41; this.label8.Text = "Background:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // _cbBackgroundStyle // this._cbBackgroundStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._cbBackgroundStyle.FormattingEnabled = true; this._cbBackgroundStyle.Location = new System.Drawing.Point(110, 200); this._cbBackgroundStyle.Name = "_cbBackgroundStyle"; this._cbBackgroundStyle.Size = new System.Drawing.Size(138, 21); this._cbBackgroundStyle.TabIndex = 44; // // _cbBackgroundBrush // this._cbBackgroundBrush.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this._cbBackgroundBrush.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this._cbBackgroundBrush.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this._cbBackgroundBrush.FormattingEnabled = true; this._cbBackgroundBrush.ItemHeight = 15; this._cbBackgroundBrush.Location = new System.Drawing.Point(272, 200); this._cbBackgroundBrush.Name = "_cbBackgroundBrush"; this._cbBackgroundBrush.Size = new System.Drawing.Size(136, 21); this._cbBackgroundBrush.TabIndex = 45; // // m_cbColor // this.m_cbColor.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor; this.m_cbColor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbColor.FormattingEnabled = true; this.m_cbColor.ItemHeight = 15; this.m_cbColor.Items.AddRange(new object[] { System.Drawing.Color.Black}); this.m_cbColor.Location = new System.Drawing.Point(112, 8); this.m_cbColor.Name = "m_cbColor"; this.m_cbColor.Size = new System.Drawing.Size(136, 21); this.m_cbColor.TabIndex = 43; this.m_cbColor.SelectionChangeCommitted += new System.EventHandler(this.EhColor_SelectionChangeCommitted); // // m_cbFont // this.m_cbFont.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.m_cbFont.ItemHeight = 15; this.m_cbFont.Location = new System.Drawing.Point(112, 40); this.m_cbFont.Name = "m_cbFont"; this.m_cbFont.Size = new System.Drawing.Size(136, 21); this.m_cbFont.TabIndex = 23; this.m_cbFont.SelectionChangeCommitted += new System.EventHandler(this.EhFont_SelectionChangedCommitted); // // _backgroundGlue // this._backgroundGlue.CbBrush = this._cbBackgroundBrush; this._backgroundGlue.CbStyle = this._cbBackgroundStyle; this._backgroundGlue.LabelBrush = null; // // m_edRotation // this.m_edRotation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_edRotation.FormattingEnabled = true; this.m_edRotation.ItemHeight = 15; this.m_edRotation.Location = new System.Drawing.Point(272, 72); this.m_edRotation.Name = "m_edRotation"; this.m_edRotation.Size = new System.Drawing.Size(136, 21); this.m_edRotation.TabIndex = 46; // // m_cbFontSize // this.m_cbFontSize.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.m_cbFontSize.FormattingEnabled = true; this.m_cbFontSize.ItemHeight = 15; this.m_cbFontSize.Location = new System.Drawing.Point(110, 72); this.m_cbFontSize.Name = "m_cbFontSize"; this.m_cbFontSize.Size = new System.Drawing.Size(138, 21); this.m_cbFontSize.TabIndex = 47; this.m_cbFontSize.FontSizeChanged += new System.EventHandler(this.EhFontSize_SelectionChangeCommitted); // // _edSuppressLabelValues // this._edSuppressLabelValues.Location = new System.Drawing.Point(110, 238); this._edSuppressLabelValues.Name = "_edSuppressLabelValues"; this._edSuppressLabelValues.Size = new System.Drawing.Size(136, 20); this._edSuppressLabelValues.TabIndex = 48; // // _edSuppressLabelsByNumber // this._edSuppressLabelsByNumber.Location = new System.Drawing.Point(112, 264); this._edSuppressLabelsByNumber.Name = "_edSuppressLabelsByNumber"; this._edSuppressLabelsByNumber.Size = new System.Drawing.Size(136, 20); this._edSuppressLabelsByNumber.TabIndex = 49; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(16, 241); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(88, 13); this.label9.TabIndex = 50; this.label9.Text = "Suppress values:"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(17, 267); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(89, 13); this.label10.TabIndex = 51; this.label10.Text = "Suppress label #:"; // // XYAxisLabelStyleControl // this.Controls.Add(this.label10); this.Controls.Add(this.label9); this.Controls.Add(this._edSuppressLabelsByNumber); this.Controls.Add(this._edSuppressLabelValues); this.Controls.Add(this.m_cbFontSize); this.Controls.Add(this.m_edRotation); this.Controls.Add(this._cbBackgroundBrush); this.Controls.Add(this._cbBackgroundStyle); this.Controls.Add(this.m_cbColor); this.Controls.Add(this.label8); this.Controls.Add(this._chkAutomaticAlignment); this.Controls.Add(this.m_cbLabelStyle); this.Controls.Add(this.label7); this.Controls.Add(this.label2); this.Controls.Add(this.label5); this.Controls.Add(this.m_cbVerticalAlignment); this.Controls.Add(this.groupBox1); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label1); this.Controls.Add(this.m_cbFont); this.Controls.Add(this.m_cbHorizontalAlignment); this.Controls.Add(this.label6); this.Name = "XYAxisLabelStyleControl"; this.Size = new System.Drawing.Size(440, 360); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this._fontLabel = new Label(); this._fontFaceLabel = new Label(); this._fontFaceComboBox = new FontComboBox(); this._sizeLabel = new Label(); this._fontSizeComboBox = new MxComboBox(); this._fontComboBox = new MxComboBox(); this._previewLabel = new GdiLabel(); this._sampleLabel = new GroupLabel(); this._previewPanel = new Panel(); base.SuspendLayout(); this._fontLabel.Location = new Point(8, 8); this._fontLabel.Name = "_fontLabel"; this._fontLabel.Size = new Size(0x80, 0x10); this._fontLabel.TabIndex = 0; this._fontLabel.Text = "Show S&ettings For:"; this._fontFaceLabel.Location = new Point(8, 0x38); this._fontFaceLabel.Name = "_fontFaceLabel"; this._fontFaceLabel.Size = new Size(0x4c, 0x10); this._fontFaceLabel.TabIndex = 2; this._fontFaceLabel.Text = "&Font Face:"; this._fontFaceComboBox.AlwaysShowFocusCues = true; this._fontFaceComboBox.DeferFontEnumeration = true; this._fontFaceComboBox.DrawMode = DrawMode.OwnerDrawFixed; this._fontFaceComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._fontFaceComboBox.FlatAppearance = true; this._fontFaceComboBox.Location = new Point(8, 0x48); this._fontFaceComboBox.MaxDropDownItems = 10; this._fontFaceComboBox.Name = "_fontFaceComboBox"; this._fontFaceComboBox.ShowFixedFontsOnly = true; this._fontFaceComboBox.ShowFontPreview = false; this._fontFaceComboBox.Size = new Size(0xe0, 20); this._fontFaceComboBox.TabIndex = 3; this._fontFaceComboBox.SelectedIndexChanged += new EventHandler(this.OnFontFaceSelectedIndexChanged); this._sizeLabel.Location = new Point(0xfc, 0x38); this._sizeLabel.Name = "_sizeLabel"; this._sizeLabel.Size = new Size(0x24, 0x10); this._sizeLabel.TabIndex = 4; this._sizeLabel.Text = "&Size:"; this._fontSizeComboBox.AlwaysShowFocusCues = true; this._fontSizeComboBox.FlatAppearance = true; this._fontSizeComboBox.Location = new Point(0xfc, 0x48); this._fontSizeComboBox.Name = "_fontSizeComboBox"; this._fontSizeComboBox.Size = new Size(0x44, 0x15); this._fontSizeComboBox.TabIndex = 5; this._fontSizeComboBox.SelectedIndexChanged += new EventHandler(this.OnFontSizeComboBoxSelectedIndexChanged); this._fontSizeComboBox.TextChanged += new EventHandler(this.OnFontSizeComboBoxTextChanged); this._fontComboBox.AlwaysShowFocusCues = true; this._fontComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._fontComboBox.FlatAppearance = true; this._fontComboBox.Location = new Point(8, 0x18); this._fontComboBox.Name = "_fontComboBox"; this._fontComboBox.Size = new Size(0xe0, 0x15); this._fontComboBox.TabIndex = 1; this._fontComboBox.SelectedIndexChanged += new EventHandler(this.OnFontComboBoxSelectedIndexChanged); this._previewPanel.BackColor = SystemColors.ControlDark; this._previewPanel.DockPadding.All = 1; this._previewPanel.Location = new Point(8, 0x80); this._previewPanel.Size = new Size(0x1b4, 60); this._previewPanel.TabIndex = 7; this._previewLabel.BackColor = Color.White; this._previewLabel.Dock = DockStyle.Fill; this._previewLabel.Name = "_previewLabel"; this._previewLabel.TabIndex = 0; this._previewLabel.Text = "Sample Text\n1234567890"; this._previewLabel.TextAlign = ContentAlignment.MiddleCenter; this._sampleLabel.Location = new Point(8, 0x6c); this._sampleLabel.Name = "_sampleLabel"; this._sampleLabel.Size = new Size(0x1b4, 0x10); this._sampleLabel.TabIndex = 6; this._sampleLabel.Text = "Sample"; this._previewPanel.Controls.AddRange(new Control[] { this._previewLabel }); base.Controls.AddRange(new Control[] { this._sampleLabel, this._previewPanel, this._fontComboBox, this._fontSizeComboBox, this._sizeLabel, this._fontFaceComboBox, this._fontFaceLabel, this._fontLabel }); base.Name = "FontOptionsPage"; base.Size = new Size(0x1c4, 0x10c); base.ResumeLayout(false); }