private void Canvas_MouseLeftButtonDown_SelectVectorColour(object sender, MouseButtonEventArgs e) { System.Windows.Media.Brush mediaBrush = ((Canvas)sender).Background; System.Drawing.SolidBrush drawingSolidBrush = new System.Drawing.SolidBrush( (System.Drawing.Color) new System.Drawing.ColorConverter().ConvertFromString(new BrushConverter().ConvertToString(mediaBrush))); //double a = drawingSolidBrush.Color.A; //double r = drawingSolidBrush.Color.R; //double g = drawingSolidBrush.Color.G; //double b = drawingSolidBrush.Color.B; System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog { Color = drawingSolidBrush.Color, }; if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { SolidColorBrush b = new SolidColorBrush(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); ((Canvas)sender).Background = b; this._canvasVector.VectorBrush = b; this._canvasVector.UpdateBrush(); } }
private void ShowColorDialog() { // HACK: Windows ストア アプリや Windows Phone などにも移植する場合、Windows Forms (Win32) のカラーダイアログは使えない。 // .NET Compact Framework でもサポートされていないらしい。 // ストア アプリでもカラーピッカーは用意されていないようなので、必要に応じて // Photoshop ライクの RGB/HSV/HSB カラーエディタなどを改めて XAML 実装したほうがよい。 this._isHoldingPin = false; var vm = this._viewModel.CurrentGradientStop; var colorDlg = new System.Windows.Forms.ColorDialog(); var brushColor = vm != null ? vm.Color : Colors.White; colorDlg.Color = System.Drawing.Color.FromArgb(brushColor.R, brushColor.G, brushColor.B); colorDlg.FullOpen = true; if (colorDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { var newColor = Color.FromRgb(colorDlg.Color.R, colorDlg.Color.G, colorDlg.Color.B); if (vm != null) { vm.Color = newColor; this.SetActiveGradientStop(vm); var stop = vm.Tag as GradientStop; if (stop != null) { stop.Color = vm.Color; } } } }
private void BColor_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog ColPicker = new System.Windows.Forms.ColorDialog(); if (ColPicker.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; BColor.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(ColPicker.Color.A, ColPicker.Color.R, ColPicker.Color.G, ColPicker.Color.B)); }
/// <summary> /// Initializes a new instance of the <see cref="ColorDialog"/> class. /// </summary> /// <param name="colorDialog">The interface of a color dialog.</param> public ColorDialog(IColorDialog colorDialog) { Contract.Requires(colorDialog != null); _colorDialog = colorDialog; // Create concrete ColorDialog _concreteColorDialog = new System.Windows.Forms.ColorDialog { AllowFullOpen = colorDialog.AllowFullOpen, AnyColor = colorDialog.AnyColor, FullOpen = colorDialog.FullOpen, CustomColors = colorDialog.CustomColors, ShowHelp = colorDialog.ShowHelp, SolidColorOnly = colorDialog.SolidColorOnly, }; if (colorDialog.DrawingColor.HasValue) _concreteColorDialog.Color = colorDialog.DrawingColor.Value; else if (colorDialog.MediaColor.HasValue) _concreteColorDialog.Color = System.Drawing.Color.FromArgb(colorDialog.MediaColor.Value.A, colorDialog.MediaColor.Value.R, colorDialog.MediaColor.Value.G, colorDialog.MediaColor.Value.B); else if (colorDialog.BrushColor != null) { var c = colorDialog.BrushColor.Color; _concreteColorDialog.Color = System.Drawing.Color.FromArgb(c.A, c.R, c.G, c.B); } }
public UIColorTone() { InitializeComponent(); SetColor(btnDarkColor, Color.FromScRgb(1.0f, 0.2f, 0.05f, 0.0f)); SetColor(btnLightColor, Color.FromScRgb(1.0f, 1.0f, 0.9f, 0.5f)); colorDlg = new System.Windows.Forms.ColorDialog(); }
private void btnColor_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rtbEditor.Selection.ApplyPropertyValue(Inline.ForegroundProperty, new SolidColorBrush(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B))); } }
private void pickColor(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { atomColor = new SolidColorBrush(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); } }
private void Btn_color_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog cl = new System.Windows.Forms.ColorDialog(); if (cl.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txt_content.Foreground = new SolidColorBrush(System.Windows.Media.Color.FromArgb(cl.Color.A, cl.Color.R, cl.Color.G, cl.Color.B)); } }
private void rctColor12_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Color12.Fill = new SolidColorBrush(Color.FromArgb(Opacity, dialog.Color.R, dialog.Color.G, dialog.Color.B)); } }
private void colorpiker_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog ColorColection = new System.Windows.Forms.ColorDialog(); ColorColection.ShowDialog(); if (ColorColection.ShowDialog() == System.Windows.Forms.DialogResult.OK) { } }
private void button_Click(object sender, EventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { (sender as System.Windows.Forms.Button).BackColor = cd.Color; } }
/// <summary> /// Show the color dialog for choosing from more colors /// </summary> /// <param name="sender">sender object</param> /// <param name="e">Event arguments</param> private void OnShowColorDialog(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog moreColorsDialog = new System.Windows.Forms.ColorDialog(); if (moreColorsDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.SelectedColor = Color.FromArgb(moreColorsDialog.Color.A, moreColorsDialog.Color.R, moreColorsDialog.Color.G, moreColorsDialog.Color.B); } }
private void Button_Click_1(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.Form.setWindowActiveColor(Color.FromArgb(dialog.Color.A, dialog.Color.R, dialog.Color.G, dialog.Color.B)); } }
private void CustomColorPicker_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); ColorPickButton.IsActived = true; colorDialog.ShowDialog(); SetColor(colorDialog.Color); ColorPickButton.IsActived = false; }
/// <summary> /// Show the color dialog for choosing from more colors /// </summary> /// <param name="sender">sender object</param> /// <param name="e">Event arguments</param> private void OnShowColorDialog(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog moreColorsDialog = new System.Windows.Forms.ColorDialog(); if (moreColorsDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.SelectedColor = Color.FromArgb(moreColorsDialog.Color.A, moreColorsDialog.Color.R, moreColorsDialog.Color.G, moreColorsDialog.Color.B); } }
private void CommandBindingFrontCoverChooseBackgroundColor_Executed(object sender, ExecutedRoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { cdCoverPageUserControl.SetFrontCoverBackgroundColor(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); } }
private void color_down(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { DrawColor = _color.Fill = new SolidColorBrush(System.Windows.Media.Color.FromArgb(cd.Color.A, cd.Color.R, cd.Color.G, cd.Color.B)); } }
private void FontColor_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog color = new System.Windows.Forms.ColorDialog(); if (color.ShowDialog() == System.Windows.Forms.DialogResult.OK) { richTextBox.Selection.ApplyPropertyValue(Inline.ForegroundProperty, color.Color.Name); } }
private void rctMissingColor_MouseUp(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rctMissingColor.Fill = new SolidColorBrush(Color.FromArgb(0xF0, dialog.Color.R, dialog.Color.G, dialog.Color.B)); RenderMap(); } }
void btnColor_MouseDown(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); cd.ShowDialog(); SolidColorBrush brush = new SolidColorBrush( Color.FromArgb(cd.Color.A, cd.Color.R, cd.Color.G, cd.Color.B)); //shpDraw.ShpFigSetColorSelected(brush); }
private void Button_Palette_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog ColorDialog_BrushColor = new System.Windows.Forms.ColorDialog(); if (Convert.ToInt32(ColorDialog_BrushColor.ShowDialog()) == 1) { CurrentColor = ColorDialog_BrushColor.Color; Button_SelectedColor.Background = new SolidColorBrush(System.Windows.Media.Color.FromArgb(CurrentColor.A, CurrentColor.R, CurrentColor.G, CurrentColor.B)); } }
public clsPaletaDeCores(string strArquivoConfiguracao, string strSessao, System.Drawing.Color clCor) { m_bComCorPadrao = true; m_clCorAtual = clCor; m_strArquivoConfiguracao = strArquivoConfiguracao; m_strSessao = strSessao; m_cldgPaletaDeCores = new System.Windows.Forms.ColorDialog(); m_cldgPaletaDeCores.FullOpen = true; }
void rctHighColor_MouseUp(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rctHighColor.Fill = new SolidColorBrush(Color.FromArgb(0xF0, dialog.Color.R, dialog.Color.G, dialog.Color.B)); ChoroplethProperties_RenderMap(); } }
private void btnDisplayCombinedColor_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog diag = new System.Windows.Forms.ColorDialog(); if (diag.ShowDialog() == System.Windows.Forms.DialogResult.OK) { _settings.CombinedColor = new ColorRGB(diag.Color.R, diag.Color.G, diag.Color.B); } }
private void Button_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { ColorPickerColor.Background = new SolidColorBrush(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); ColorPickerColor.Content = colorDialog.Color.Name.ToLower(); } }
private void btnBarva_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog vyberBarvu = new System.Windows.Forms.ColorDialog(); if (vyberBarvu.ShowDialog() == System.Windows.Forms.DialogResult.OK) { barva = Color.FromArgb(vyberBarvu.Color.A, vyberBarvu.Color.R, vyberBarvu.Color.G, vyberBarvu.Color.B); btnBarva.Background = new SolidColorBrush(barva); } }
private void SelectColorButton_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Color c = Color.FromArgb(r: cd.Color.R, g: cd.Color.G, b: cd.Color.B, a: cd.Color.A); this.SelectColor = this.SelectColorButton.Background = new SolidColorBrush(c); } }
private void buttonChangeBack_click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() != System.Windows.Forms.DialogResult.Cancel) { back_color = cd.Color; lableFontname_Copy.Content = back_color.Name; } }
private void OnClick_ChangeTextColor(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { System.Windows.Media.Color c = System.Windows.Media.Color.FromArgb(cd.Color.A, cd.Color.R, cd.Color.G, cd.Color.B); CTRL_TXT_Number.Foreground = new SolidColorBrush(c); } }
private void DrawBallColorBtn_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { DrawBallColorBtn.Background = new SolidColorBrush(Color.FromArgb(colorDialog.Color.A, colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); _drawBallColor = colorDialog.Color.Name.ToLower(); } }
private void colorBtn_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { System.Drawing.Color c = cd.Color; ((Polar)polarListView.SelectedItem).Color = Color.FromArgb(c.A, c.R, c.G, c.B); } }
private void btnChooseColor_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog dlg = new System.Windows.Forms.ColorDialog(); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Text_Field.Selection.ApplyPropertyValue(Inline.ForegroundProperty, new SolidColorBrush(Color.FromArgb(dlg.Color.A, dlg.Color.R, dlg.Color.G, dlg.Color.B))); btnColourful.Background = new SolidColorBrush(Color.FromArgb(dlg.Color.A, dlg.Color.R, dlg.Color.G, dlg.Color.B)); } }
private void ColorRect_MouseDown(object sender, MouseButtonEventArgs e) { var cd = new ColorDialog(); if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { MainCanvas.DefaultDrawingAttributes.Color = Color.FromArgb(cd.Color.A, cd.Color.R, cd.Color.G, cd.Color.B); ColorRect.Fill = new SolidColorBrush(MainCanvas.DefaultDrawingAttributes.Color); } }
private void ChooseColor_Click(object sender, RoutedEventArgs e) { var dialog = new System.Windows.Forms.ColorDialog(); dialog.AnyColor = true; dialog.Color = System.Drawing.Color.FromArgb(Color.R, Color.G, Color.B); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Color = Color.FromArgb(255, dialog.Color.R, dialog.Color.G, dialog.Color.B); } }
private void Border_MouseLeftButtonUp2(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); colorDialog.Color = System.Drawing.ColorTranslator.FromHtml(Properties.Settings.Default.Selected_BorderBrush); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Properties.Settings.Default.Selected_Background = System.Drawing.ColorTranslator.ToHtml(colorDialog.Color); Properties.Settings.Default.Save(); } }
private void Color_Click(object sender, RoutedEventArgs e) { Button b = sender as Button; System.Windows.Forms.ColorDialog colorPicker = new System.Windows.Forms.ColorDialog(); colorPicker.Color = System.Drawing.Color.FromArgb(((SolidColorBrush)b.Background).Color.R, ((SolidColorBrush)b.Background).Color.G, ((SolidColorBrush)b.Background).Color.B); colorPicker.FullOpen = true; colorPicker.ShowDialog(); b.Background = new SolidColorBrush(Color.FromRgb(colorPicker.Color.R, colorPicker.Color.G, colorPicker.Color.B)); }
/// <summary> /// Creates a color chooser from a rectangle with the specified initial color /// </summary> /// <param name="colorRect">The rectangle the user must click to open the chooser</param> /// <param name="initialColor">The initial selected color</param> public ColorChooser(Rectangle colorRect, Color initialColor) : base(colorRect, initialColor) { // Create the color selection dialog colorDialog = new ColorDialog(); colorDialog.FullOpen = true; colorDialog.Color = colorToDrawingColor(initialColor); // Store the current color selectedColor = initialColor; }
public Color GetNewColor(Color current) { ColorDialog cd = new ColorDialog(); cd.Color = current.ToWinFormColor(); cd.AllowFullOpen = true; cd.FullOpen = true; cd.SolidColorOnly = true; cd.ShowDialog(); return cd.Color.ToWPFColor(); }
public BasicHLSL(Framework f) { sampleFramework = f; hud = new Dialog(sampleFramework); sampleUi = new Dialog(sampleFramework); colorDialog=new System.Windows.Forms.ColorDialog(); colorDialog.FullOpen=true; colorDialog.ShowHelp=false; colorDialog.SolidColorOnly=false; colorDialog.AnyColor=true; }
private void defaultcolorchooserbtn_Click(object sender, RoutedEventArgs e) { var cd = new System.Windows.Forms.ColorDialog(); var initialcol = System.Drawing.Color.FromArgb(((SolidColorBrush)defaultcolourbox.Fill).Color.R, ((SolidColorBrush)defaultcolourbox.Fill).Color.G, ((SolidColorBrush)defaultcolourbox.Fill).Color.B); cd.Color = initialcol; var dr = cd.ShowDialog(); if (dr == System.Windows.Forms.DialogResult.OK) { defaultcolourbox.Fill = new SolidColorBrush(Color.FromRgb(cd.Color.R, cd.Color.G, cd.Color.B)); } }
/// <summary> /// avaa uuden ColorDialogin josta voi valita värin. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Vari_Click(object sender, RoutedEventArgs e) { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); colorDialog.AllowFullOpen = true; colorDialog.Color = System.Drawing.Color.FromArgb(color.A, color.R, color.G, color.B); colorDialog.ShowDialog(); color.A = colorDialog.Color.A; color.B = colorDialog.Color.B; color.G = colorDialog.Color.G; color.R = colorDialog.Color.R; }
private void butHighLight_Click(object sender, RoutedEventArgs e) { var color = new System.Windows.Forms.ColorDialog() { Color = System.Drawing.Color.FromArgb(((SolidColorBrush)butHighLight.Background).Color.R, ((SolidColorBrush)butHighLight.Background).Color.G, ((SolidColorBrush)butHighLight.Background).Color.B), AnyColor = true, FullOpen = true, ShowHelp = true, SolidColorOnly = true }; color.ShowDialog(); ((SolidColorBrush)butHighLight.Background).Color = Color.FromArgb(0xFF, color.Color.R, color.Color.G, color.Color.B); }
private void Color_MouseDown(object sender, MouseButtonEventArgs e) { Rectangle rectangle = sender as Rectangle; SolidColorBrush bg = rectangle.Fill as SolidColorBrush; System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); colorDialog.FullOpen = true; colorDialog.Color = System.Drawing.Color.FromArgb(bg.Color.R, bg.Color.G, bg.Color.B); if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rectangle.Fill = new SolidColorBrush(Color.FromRgb(colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B)); } }
/// <summary> /// Open the widows forms color dialog /// </summary> /// <returns>the color in a string</returns> public static string ShowColorDialog() { using (System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog()) { System.Windows.Forms.DialogResult dialogResult = colorDialog.ShowDialog(); if (dialogResult == System.Windows.Forms.DialogResult.OK) { return ConvertColor(colorDialog.Color); } return string.Empty; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.SuspendLayout(); // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Items.AddRange(new object[] { "форма", "бутон", "текст на бутон"}); this.listBox1.Location = new System.Drawing.Point(13, 13); this.listBox1.Name = "listBox1"; this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listBox1.Size = new System.Drawing.Size(120, 95); this.listBox1.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(13, 133); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 23); this.button1.TabIndex = 1; this.button1.Text = "change color"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 261); this.Controls.Add(this.button1); this.Controls.Add(this.listBox1); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); }
public static System.Windows.Media.Color Pick() { System.Windows.Media.Color col = new System.Windows.Media.Color(); using (System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog()) { colorDialog.AllowFullOpen = true; colorDialog.FullOpen = true; System.Windows.Forms.DialogResult result = colorDialog.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { col.A = colorDialog.Color.A; col.B = colorDialog.Color.B; col.G = colorDialog.Color.G; col.R = colorDialog.Color.R; } } return col; }
/// <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.colorToolTip = new System.Windows.Forms.ToolTip(this.components); this.colorDialog = new System.Windows.Forms.ColorDialog(); this.SuspendLayout(); // // colorToolTip // this.colorToolTip.AutoPopDelay = 5000; this.colorToolTip.InitialDelay = 500; this.colorToolTip.ReshowDelay = 1000; // // OfficeColorPicker // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Name = "OfficeColorPicker"; this.Size = new System.Drawing.Size(146, 120); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.DirectoryDialog = new System.Windows.Forms.FolderBrowserDialog(); this.ExportDialog = new System.Windows.Forms.SaveFileDialog(); this.ImportDialog = new System.Windows.Forms.OpenFileDialog(); this.HideIcon = new System.Windows.Forms.NotifyIcon(this.components); this.HideMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.ShowForm = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.AbuotForm = new System.Windows.Forms.ToolStripMenuItem(); this.ExitForm = new System.Windows.Forms.ToolStripMenuItem(); this.MainMenu = new System.Windows.Forms.MenuStrip(); this.MenuFile = new System.Windows.Forms.ToolStripMenuItem(); this.OpenFolder = new System.Windows.Forms.ToolStripMenuItem(); this.lastFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exit = new System.Windows.Forms.ToolStripMenuItem(); this.MenuService = new System.Windows.Forms.ToolStripMenuItem(); this.fastST = new System.Windows.Forms.ToolStripMenuItem(); this.l2ini = new System.Windows.Forms.ToolStripMenuItem(); this.pathSystem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.Settings = new System.Windows.Forms.ToolStripMenuItem(); this.MenuAbout = new System.Windows.Forms.ToolStripMenuItem(); this.StatusProgress = new System.Windows.Forms.ProgressBar(); this.RightClick = new System.Windows.Forms.ContextMenuStrip(this.components); this.CutR = new System.Windows.Forms.ToolStripMenuItem(); this.CopyR = new System.Windows.Forms.ToolStripMenuItem(); this.PasteR = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.SelectAll = new System.Windows.Forms.ToolStripMenuItem(); this.path = new System.Windows.Forms.Label(); this.StatusLabel = new System.Windows.Forms.Label(); this.ChLabel = new System.Windows.Forms.Label(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.ChronicleInfo = new System.Windows.Forms.Label(); this.FileDialog = new System.Windows.Forms.OpenFileDialog(); this.ColorDialog = new System.Windows.Forms.ColorDialog(); this.IniTab = new System.Windows.Forms.TabPage(); this.NumLines = new System.Windows.Forms.Label(); this.Counts = new System.Windows.Forms.Label(); this.EncText = new System.Windows.Forms.Label(); this.EnCod = new System.Windows.Forms.Label(); this.FileIniComboName = new System.Windows.Forms.ComboBox(); this.clearl2ini = new System.Windows.Forms.Button(); this.savel2ini = new System.Windows.Forms.Button(); this.IniTextBox = new System.Windows.Forms.RichTextBox(); this.OpenL2iniText = new System.Windows.Forms.Button(); this.DatTab = new System.Windows.Forms.TabPage(); this._mergeButton = new com.jds.PathEditor.classes.gui.JButton(); this.lockBtn = new System.Windows.Forms.CheckBox(); this.editorBtn = new com.jds.PathEditor.classes.gui.JButton(); this.startBtn2 = new com.jds.PathEditor.classes.gui.JButton(); this.exportBtn2 = new com.jds.PathEditor.classes.gui.JButton(); this.importBtn2 = new com.jds.PathEditor.classes.gui.JButton(); this.SaveBtn2 = new com.jds.PathEditor.classes.gui.JButton(); this.LoadBtn2 = new com.jds.PathEditor.classes.gui.JButton(); this.FileNameCombo = new System.Windows.Forms.ListBox(); this.Tabs = new System.Windows.Forms.TabControl(); this.HideMenu.SuspendLayout(); this.MainMenu.SuspendLayout(); this.RightClick.SuspendLayout(); this.IniTab.SuspendLayout(); this.DatTab.SuspendLayout(); this.Tabs.SuspendLayout(); this.SuspendLayout(); // // DirectoryDialog // this.DirectoryDialog.Description = "Choose directory where LineageII System."; this.DirectoryDialog.ShowNewFolderButton = false; // // HideIcon // this.HideIcon.ContextMenuStrip = this.HideMenu; this.HideIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("HideIcon.Icon"))); this.HideIcon.Tag = "Path Editor"; this.HideIcon.Text = "Path Editor"; this.HideIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.HideIcon_MouseDoubleClick); // // HideMenu // this.HideMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ShowForm, this.toolStripSeparator4, this.AbuotForm, this.ExitForm}); this.HideMenu.Name = "HideMenu"; this.HideMenu.Size = new System.Drawing.Size(108, 76); this.HideMenu.Text = "HideMenu"; // // ShowForm // this.ShowForm.Name = "ShowForm"; this.ShowForm.Size = new System.Drawing.Size(107, 22); this.ShowForm.Text = "Show"; this.ShowForm.Click += new System.EventHandler(this.ShowForm_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(104, 6); // // AbuotForm // this.AbuotForm.Name = "AbuotForm"; this.AbuotForm.Size = new System.Drawing.Size(107, 22); this.AbuotForm.Text = "About"; this.AbuotForm.Click += new System.EventHandler(this.AbuotForm_Click); // // ExitForm // this.ExitForm.Name = "ExitForm"; this.ExitForm.Size = new System.Drawing.Size(107, 22); this.ExitForm.Text = "Exit"; this.ExitForm.Click += new System.EventHandler(this.ExitForm_Click); // // MainMenu // this.MainMenu.BackColor = System.Drawing.SystemColors.InactiveCaption; this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.MenuFile, this.MenuService, this.MenuAbout}); this.MainMenu.Location = new System.Drawing.Point(0, 0); this.MainMenu.Name = "MainMenu"; this.MainMenu.Size = new System.Drawing.Size(521, 24); this.MainMenu.TabIndex = 2; this.MainMenu.Text = "menuStrip1"; // // MenuFile // this.MenuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.OpenFolder, this.lastFoldersToolStripMenuItem, this.toolStripSeparator1, this.exit}); this.MenuFile.Name = "MenuFile"; this.MenuFile.Size = new System.Drawing.Size(37, 20); this.MenuFile.Text = "File"; // // OpenFolder // this.OpenFolder.Name = "OpenFolder"; this.OpenFolder.Size = new System.Drawing.Size(136, 22); this.OpenFolder.Text = "OpenFolder"; this.OpenFolder.Click += new System.EventHandler(this.OpenFolder_Click); // // lastFoldersToolStripMenuItem // this.lastFoldersToolStripMenuItem.Name = "lastFoldersToolStripMenuItem"; this.lastFoldersToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.lastFoldersToolStripMenuItem.Text = "Last Folders"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6); // // exit // this.exit.Name = "exit"; this.exit.Size = new System.Drawing.Size(136, 22); this.exit.Text = "Exit"; this.exit.Click += new System.EventHandler(this.exit_Click); // // MenuService // this.MenuService.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fastST, this.pathSystem, this.toolStripSeparator3, this.Settings}); this.MenuService.Name = "MenuService"; this.MenuService.Size = new System.Drawing.Size(56, 20); this.MenuService.Text = "Service"; // // fastST // this.fastST.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.l2ini}); this.fastST.Name = "fastST"; this.fastST.Size = new System.Drawing.Size(140, 22); this.fastST.Text = "Fast Settings"; // // l2ini // this.l2ini.Name = "l2ini"; this.l2ini.Size = new System.Drawing.Size(99, 22); this.l2ini.Text = "l2.ini"; this.l2ini.Click += new System.EventHandler(this.l2ini_Click); // // pathSystem // this.pathSystem.Name = "pathSystem"; this.pathSystem.Size = new System.Drawing.Size(140, 22); this.pathSystem.Text = "Path system"; this.pathSystem.Click += new System.EventHandler(this.pathSystem_Click_1); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(137, 6); // // Settings // this.Settings.Name = "Settings"; this.Settings.Size = new System.Drawing.Size(140, 22); this.Settings.Text = "Settings"; this.Settings.Click += new System.EventHandler(this.Settings_Click); // // MenuAbout // this.MenuAbout.Name = "MenuAbout"; this.MenuAbout.Size = new System.Drawing.Size(24, 20); this.MenuAbout.Text = "?"; this.MenuAbout.Click += new System.EventHandler(this.MenuAbout_Click_1); // // StatusProgress // this.StatusProgress.Location = new System.Drawing.Point(366, 643); this.StatusProgress.Name = "StatusProgress"; this.StatusProgress.Size = new System.Drawing.Size(139, 16); this.StatusProgress.TabIndex = 3; // // RightClick // this.RightClick.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.CutR, this.CopyR, this.PasteR, this.toolStripSeparator2, this.SelectAll}); this.RightClick.Name = "RightClick"; this.RightClick.Size = new System.Drawing.Size(123, 98); this.RightClick.Text = "Right"; // // CutR // this.CutR.Name = "CutR"; this.CutR.Size = new System.Drawing.Size(122, 22); this.CutR.Text = "Cut"; this.CutR.Click += new System.EventHandler(this.CutR_Click); // // CopyR // this.CopyR.Name = "CopyR"; this.CopyR.Size = new System.Drawing.Size(122, 22); this.CopyR.Text = "Copy"; this.CopyR.Click += new System.EventHandler(this.CopyR_Click); // // PasteR // this.PasteR.Name = "PasteR"; this.PasteR.Size = new System.Drawing.Size(122, 22); this.PasteR.Text = "Paste"; this.PasteR.Click += new System.EventHandler(this.PasteR_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(119, 6); // // SelectAll // this.SelectAll.Name = "SelectAll"; this.SelectAll.Size = new System.Drawing.Size(122, 22); this.SelectAll.Text = "Select All"; this.SelectAll.Click += new System.EventHandler(this.SelectAll_Click); // // path // this.path.AutoSize = true; this.path.BackColor = System.Drawing.Color.Transparent; this.path.Location = new System.Drawing.Point(12, 619); this.path.Name = "path"; this.path.Size = new System.Drawing.Size(32, 14); this.path.TabIndex = 9; this.path.Text = "Path"; // // StatusLabel // this.StatusLabel.AutoSize = true; this.StatusLabel.Location = new System.Drawing.Point(13, 646); this.StatusLabel.Name = "StatusLabel"; this.StatusLabel.Size = new System.Drawing.Size(70, 14); this.StatusLabel.TabIndex = 5; this.StatusLabel.Text = "StatusLabel"; // // ChLabel // this.ChLabel.AutoSize = true; this.ChLabel.BackColor = System.Drawing.SystemColors.InactiveCaption; this.ChLabel.Location = new System.Drawing.Point(370, 4); this.ChLabel.Name = "ChLabel"; this.ChLabel.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ChLabel.Size = new System.Drawing.Size(39, 14); this.ChLabel.TabIndex = 6; this.ChLabel.Text = "NONE"; this.ChLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.ChLabel.Click += new System.EventHandler(this.ChLabel_Click); // // statusStrip1 // this.statusStrip1.Location = new System.Drawing.Point(0, 641); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(521, 22); this.statusStrip1.TabIndex = 10; this.statusStrip1.Text = "statusStrip1"; // // ChronicleInfo // this.ChronicleInfo.AutoSize = true; this.ChronicleInfo.BackColor = System.Drawing.SystemColors.InactiveCaption; this.ChronicleInfo.Location = new System.Drawing.Point(311, 4); this.ChronicleInfo.Name = "ChronicleInfo"; this.ChronicleInfo.Size = new System.Drawing.Size(60, 14); this.ChronicleInfo.TabIndex = 11; this.ChronicleInfo.Text = "Chronicle:"; // // FileDialog // this.FileDialog.Filter = "Binary file|*.exe"; // // ColorDialog // this.ColorDialog.FullOpen = true; // // IniTab // this.IniTab.Controls.Add(this.NumLines); this.IniTab.Controls.Add(this.Counts); this.IniTab.Controls.Add(this.EncText); this.IniTab.Controls.Add(this.EnCod); this.IniTab.Controls.Add(this.FileIniComboName); this.IniTab.Controls.Add(this.clearl2ini); this.IniTab.Controls.Add(this.savel2ini); this.IniTab.Controls.Add(this.IniTextBox); this.IniTab.Controls.Add(this.OpenL2iniText); this.IniTab.Location = new System.Drawing.Point(4, 23); this.IniTab.Name = "IniTab"; this.IniTab.Padding = new System.Windows.Forms.Padding(3); this.IniTab.Size = new System.Drawing.Size(489, 552); this.IniTab.TabIndex = 1; this.IniTab.Text = "ini/int Files"; this.IniTab.UseVisualStyleBackColor = true; // // NumLines // this.NumLines.AutoSize = true; this.NumLines.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.NumLines.Location = new System.Drawing.Point(347, 215); this.NumLines.Name = "NumLines"; this.NumLines.Size = new System.Drawing.Size(97, 13); this.NumLines.TabIndex = 11; this.NumLines.Text = "Number of lines:"; // // Counts // this.Counts.AutoSize = true; this.Counts.Location = new System.Drawing.Point(461, 214); this.Counts.Name = "Counts"; this.Counts.Size = new System.Drawing.Size(14, 14); this.Counts.TabIndex = 10; this.Counts.Text = "0"; // // EncText // this.EncText.AutoSize = true; this.EncText.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.EncText.Location = new System.Drawing.Point(347, 185); this.EncText.Name = "EncText"; this.EncText.Size = new System.Drawing.Size(60, 13); this.EncText.TabIndex = 9; this.EncText.Text = "Encoding:"; // // EnCod // this.EnCod.AutoSize = true; this.EnCod.Location = new System.Drawing.Point(422, 185); this.EnCod.Name = "EnCod"; this.EnCod.Size = new System.Drawing.Size(14, 14); this.EnCod.TabIndex = 8; this.EnCod.Text = "0"; // // FileIniComboName // this.FileIniComboName.Cursor = System.Windows.Forms.Cursors.Default; this.FileIniComboName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.FileIniComboName.Location = new System.Drawing.Point(355, 17); this.FileIniComboName.Name = "FileIniComboName"; this.FileIniComboName.Size = new System.Drawing.Size(128, 22); this.FileIniComboName.TabIndex = 5; this.FileIniComboName.SelectedIndexChanged += new System.EventHandler(this.FileIniComboName_SelectedIndexChanged); // // clearl2ini // this.clearl2ini.Location = new System.Drawing.Point(352, 130); this.clearl2ini.Name = "clearl2ini"; this.clearl2ini.Size = new System.Drawing.Size(131, 30); this.clearl2ini.TabIndex = 3; this.clearl2ini.Text = "Clear"; this.clearl2ini.UseVisualStyleBackColor = true; this.clearl2ini.Click += new System.EventHandler(this.clearl2ini_Click); // // savel2ini // this.savel2ini.Location = new System.Drawing.Point(352, 94); this.savel2ini.Name = "savel2ini"; this.savel2ini.Size = new System.Drawing.Size(131, 30); this.savel2ini.TabIndex = 4; this.savel2ini.Text = "Save"; this.savel2ini.UseVisualStyleBackColor = true; this.savel2ini.Click += new System.EventHandler(this.savel2ini_Click); // // IniTextBox // this.IniTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.IniTextBox.ContextMenuStrip = this.RightClick; this.IniTextBox.Enabled = false; this.IniTextBox.Location = new System.Drawing.Point(18, 17); this.IniTextBox.Name = "IniTextBox"; this.IniTextBox.Size = new System.Drawing.Size(328, 529); this.IniTextBox.TabIndex = 2; this.IniTextBox.Text = ""; // // OpenL2iniText // this.OpenL2iniText.Location = new System.Drawing.Point(352, 58); this.OpenL2iniText.Name = "OpenL2iniText"; this.OpenL2iniText.Size = new System.Drawing.Size(131, 30); this.OpenL2iniText.TabIndex = 0; this.OpenL2iniText.Text = "Open"; this.OpenL2iniText.UseVisualStyleBackColor = true; this.OpenL2iniText.Click += new System.EventHandler(this.OpenIniButton_Click); // // DatTab // this.DatTab.Controls.Add(this._mergeButton); this.DatTab.Controls.Add(this.lockBtn); this.DatTab.Controls.Add(this.editorBtn); this.DatTab.Controls.Add(this.startBtn2); this.DatTab.Controls.Add(this.exportBtn2); this.DatTab.Controls.Add(this.importBtn2); this.DatTab.Controls.Add(this.SaveBtn2); this.DatTab.Controls.Add(this.LoadBtn2); this.DatTab.Controls.Add(this.FileNameCombo); this.DatTab.Location = new System.Drawing.Point(4, 23); this.DatTab.Name = "DatTab"; this.DatTab.Padding = new System.Windows.Forms.Padding(3); this.DatTab.Size = new System.Drawing.Size(489, 552); this.DatTab.TabIndex = 0; this.DatTab.Text = "dat Files"; this.DatTab.UseVisualStyleBackColor = true; // // _mergeButton // this._mergeButton.DescriptionText = ""; this._mergeButton.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this._mergeButton.HeaderText = "Merge"; this._mergeButton.Image = global::com.jds.PathEditor.Resources.MERGE; this._mergeButton.ImageScalingSize = new System.Drawing.Size(16, 16); this._mergeButton.Location = new System.Drawing.Point(361, 256); this._mergeButton.Name = "_mergeButton"; this._mergeButton.Size = new System.Drawing.Size(122, 50); this._mergeButton.TabIndex = 9; this._mergeButton.Click += new System.EventHandler(this._mergeButton_Click); // // lockBtn // this.lockBtn.AutoSize = true; this.lockBtn.Location = new System.Drawing.Point(364, 380); this.lockBtn.Name = "lockBtn"; this.lockBtn.Size = new System.Drawing.Size(57, 18); this.lockBtn.TabIndex = 8; this.lockBtn.Text = "Lock?"; this.lockBtn.UseVisualStyleBackColor = true; this.lockBtn.CheckedChanged += new System.EventHandler(this.lockBtn_CheckedChanged); // // editorBtn // this.editorBtn.DescriptionText = ""; this.editorBtn.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.editorBtn.HeaderText = "Editor"; this.editorBtn.Image = global::com.jds.PathEditor.Resources.editor; this.editorBtn.ImageScalingSize = new System.Drawing.Size(16, 16); this.editorBtn.Location = new System.Drawing.Point(361, 312); this.editorBtn.Name = "editorBtn"; this.editorBtn.Size = new System.Drawing.Size(122, 50); this.editorBtn.TabIndex = 8; this.editorBtn.Click += new System.EventHandler(this.expToWindow_Click); // // startBtn2 // this.startBtn2.DescriptionText = ""; this.startBtn2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.startBtn2.HeaderText = "Start L2"; this.startBtn2.Image = global::com.jds.PathEditor.Resources.START; this.startBtn2.ImageScalingSize = new System.Drawing.Size(16, 16); this.startBtn2.Location = new System.Drawing.Point(361, 493); this.startBtn2.Name = "startBtn2"; this.startBtn2.Size = new System.Drawing.Size(122, 50); this.startBtn2.TabIndex = 8; this.startBtn2.Click += new System.EventHandler(this.StartL2_Click); // // exportBtn2 // this.exportBtn2.DescriptionText = ""; this.exportBtn2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.exportBtn2.HeaderText = "Export"; this.exportBtn2.Image = global::com.jds.PathEditor.Resources.EXPORT; this.exportBtn2.ImageScalingSize = new System.Drawing.Size(16, 16); this.exportBtn2.Location = new System.Drawing.Point(361, 200); this.exportBtn2.Name = "exportBtn2"; this.exportBtn2.Size = new System.Drawing.Size(122, 50); this.exportBtn2.TabIndex = 8; this.exportBtn2.Click += new System.EventHandler(this.ExpBtn_Click); // // importBtn2 // this.importBtn2.DescriptionText = ""; this.importBtn2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.importBtn2.HeaderText = "Import"; this.importBtn2.Image = global::com.jds.PathEditor.Resources.IMPORT; this.importBtn2.ImageScalingSize = new System.Drawing.Size(16, 16); this.importBtn2.Location = new System.Drawing.Point(361, 140); this.importBtn2.Name = "importBtn2"; this.importBtn2.Size = new System.Drawing.Size(122, 50); this.importBtn2.TabIndex = 8; this.importBtn2.Click += new System.EventHandler(this.ImpBtn_Click); // // SaveBtn2 // this.SaveBtn2.DescriptionText = ""; this.SaveBtn2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.SaveBtn2.HeaderText = "Save"; this.SaveBtn2.Image = global::com.jds.PathEditor.Resources.SAVE; this.SaveBtn2.ImageScalingSize = new System.Drawing.Size(16, 16); this.SaveBtn2.Location = new System.Drawing.Point(361, 80); this.SaveBtn2.Name = "SaveBtn2"; this.SaveBtn2.Size = new System.Drawing.Size(122, 50); this.SaveBtn2.TabIndex = 8; this.SaveBtn2.Click += new System.EventHandler(this.SaveBtn_Click); // // LoadBtn2 // this.LoadBtn2.DescriptionText = ""; this.LoadBtn2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.LoadBtn2.HeaderText = "Load"; this.LoadBtn2.Image = global::com.jds.PathEditor.Resources.LOAD; this.LoadBtn2.ImageScalingSize = new System.Drawing.Size(16, 16); this.LoadBtn2.Location = new System.Drawing.Point(361, 20); this.LoadBtn2.Name = "LoadBtn2"; this.LoadBtn2.Size = new System.Drawing.Size(122, 50); this.LoadBtn2.TabIndex = 8; this.LoadBtn2.Click += new System.EventHandler(this.LoadBtn_Click); // // FileNameCombo // this.FileNameCombo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.FileNameCombo.FormattingEnabled = true; this.FileNameCombo.ItemHeight = 14; this.FileNameCombo.Location = new System.Drawing.Point(23, 21); this.FileNameCombo.Name = "FileNameCombo"; this.FileNameCombo.Size = new System.Drawing.Size(332, 522); this.FileNameCombo.TabIndex = 5; this.FileNameCombo.SelectedIndexChanged += new System.EventHandler(this.FileNameCombo_SelectedIndexChanged); // // Tabs // this.Tabs.Controls.Add(this.DatTab); this.Tabs.Controls.Add(this.IniTab); this.Tabs.Location = new System.Drawing.Point(12, 37); this.Tabs.Multiline = true; this.Tabs.Name = "Tabs"; this.Tabs.SelectedIndex = 0; this.Tabs.Size = new System.Drawing.Size(497, 579); this.Tabs.TabIndex = 4; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(521, 663); this.Controls.Add(this.StatusProgress); this.Controls.Add(this.path); this.Controls.Add(this.StatusLabel); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.Tabs); this.Controls.Add(this.ChronicleInfo); this.Controls.Add(this.ChLabel); this.Controls.Add(this.MainMenu); this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.MainMenu; this.MaximizeBox = false; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Path Editor"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed); this.Load += new System.EventHandler(this.MainForm_Load); this.Resize += new System.EventHandler(this.MainForm_Resize); this.HideMenu.ResumeLayout(false); this.MainMenu.ResumeLayout(false); this.MainMenu.PerformLayout(); this.RightClick.ResumeLayout(false); this.IniTab.ResumeLayout(false); this.IniTab.PerformLayout(); this.DatTab.ResumeLayout(false); this.DatTab.PerformLayout(); this.Tabs.ResumeLayout(false); 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.lblID = new System.Windows.Forms.Label(); this.lblX = new System.Windows.Forms.Label(); this.lblY = new System.Windows.Forms.Label(); this.lblWidth = new System.Windows.Forms.Label(); this.lblHeight = new System.Windows.Forms.Label(); this.lblLineColor = new System.Windows.Forms.Label(); this.lblFillColor = new System.Windows.Forms.Label(); this.lblLineWidth = new System.Windows.Forms.Label(); this.tbX = new System.Windows.Forms.TextBox(); this.tbY = new System.Windows.Forms.TextBox(); this.tbWidth = new System.Windows.Forms.TextBox(); this.tbHeight = new System.Windows.Forms.TextBox(); this.btnLineColor = new System.Windows.Forms.Button(); this.btnFillColor = new System.Windows.Forms.Button(); this.numericLineWidth = new System.Windows.Forms.NumericUpDown(); this.tbID = new System.Windows.Forms.TextBox(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.colorDialog = new System.Windows.Forms.ColorDialog(); ((System.ComponentModel.ISupportInitialize)(this.numericLineWidth)).BeginInit(); this.SuspendLayout(); // // lblID // this.lblID.AutoSize = true; this.lblID.Location = new System.Drawing.Point(10, 25); this.lblID.Name = "lblID"; this.lblID.Size = new System.Drawing.Size(18, 13); this.lblID.TabIndex = 0; this.lblID.Text = "ID"; // // lblX // this.lblX.AutoSize = true; this.lblX.Location = new System.Drawing.Point(10, 50); this.lblX.Name = "lblX"; this.lblX.Size = new System.Drawing.Size(14, 13); this.lblX.TabIndex = 2; this.lblX.Text = "X"; // // lblY // this.lblY.AutoSize = true; this.lblY.Location = new System.Drawing.Point(54, 50); this.lblY.Name = "lblY"; this.lblY.Size = new System.Drawing.Size(14, 13); this.lblY.TabIndex = 3; this.lblY.Text = "Y"; // // lblWidth // this.lblWidth.AutoSize = true; this.lblWidth.Location = new System.Drawing.Point(10, 75); this.lblWidth.Name = "lblWidth"; this.lblWidth.Size = new System.Drawing.Size(35, 13); this.lblWidth.TabIndex = 4; this.lblWidth.Text = "Width"; // // lblHeight // this.lblHeight.AutoSize = true; this.lblHeight.Location = new System.Drawing.Point(10, 100); this.lblHeight.Name = "lblHeight"; this.lblHeight.Size = new System.Drawing.Size(38, 13); this.lblHeight.TabIndex = 5; this.lblHeight.Text = "Height"; // // lblLineColor // this.lblLineColor.AutoSize = true; this.lblLineColor.Location = new System.Drawing.Point(117, 50); this.lblLineColor.Name = "lblLineColor"; this.lblLineColor.Size = new System.Drawing.Size(54, 13); this.lblLineColor.TabIndex = 6; this.lblLineColor.Text = "Line Color"; // // lblFillColor // this.lblFillColor.AutoSize = true; this.lblFillColor.Location = new System.Drawing.Point(117, 75); this.lblFillColor.Name = "lblFillColor"; this.lblFillColor.Size = new System.Drawing.Size(46, 13); this.lblFillColor.TabIndex = 7; this.lblFillColor.Text = "Fill Color"; // // lblLineWidth // this.lblLineWidth.AutoSize = true; this.lblLineWidth.Location = new System.Drawing.Point(117, 100); this.lblLineWidth.Name = "lblLineWidth"; this.lblLineWidth.Size = new System.Drawing.Size(58, 13); this.lblLineWidth.TabIndex = 8; this.lblLineWidth.Text = "Line Width"; // // tbX // this.tbX.Location = new System.Drawing.Point(23, 47); this.tbX.Name = "tbX"; this.tbX.Size = new System.Drawing.Size(30, 20); this.tbX.TabIndex = 9; this.tbX.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // tbY // this.tbY.Location = new System.Drawing.Point(69, 47); this.tbY.Name = "tbY"; this.tbY.Size = new System.Drawing.Size(30, 20); this.tbY.TabIndex = 10; this.tbY.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // tbWidth // this.tbWidth.Location = new System.Drawing.Point(51, 72); this.tbWidth.Name = "tbWidth"; this.tbWidth.Size = new System.Drawing.Size(48, 20); this.tbWidth.TabIndex = 11; this.tbWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // tbHeight // this.tbHeight.Location = new System.Drawing.Point(51, 97); this.tbHeight.Name = "tbHeight"; this.tbHeight.Size = new System.Drawing.Size(48, 20); this.tbHeight.TabIndex = 12; this.tbHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // btnLineColor // this.btnLineColor.Location = new System.Drawing.Point(194, 44); this.btnLineColor.Name = "btnLineColor"; this.btnLineColor.Size = new System.Drawing.Size(25, 25); this.btnLineColor.TabIndex = 13; this.btnLineColor.UseVisualStyleBackColor = true; this.btnLineColor.Click += new System.EventHandler(this.btnLineColor_Click); // // btnFillColor // this.btnFillColor.Location = new System.Drawing.Point(194, 69); this.btnFillColor.Name = "btnFillColor"; this.btnFillColor.Size = new System.Drawing.Size(25, 25); this.btnFillColor.TabIndex = 14; this.btnFillColor.UseVisualStyleBackColor = true; this.btnFillColor.Click += new System.EventHandler(this.btnFillColor_Click); // // numericLineWidth // this.numericLineWidth.Location = new System.Drawing.Point(181, 98); this.numericLineWidth.Name = "numericLineWidth"; this.numericLineWidth.Size = new System.Drawing.Size(38, 20); this.numericLineWidth.TabIndex = 15; this.numericLineWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // tbID // this.tbID.Location = new System.Drawing.Point(26, 22); this.tbID.Name = "tbID"; this.tbID.ReadOnly = true; this.tbID.Size = new System.Drawing.Size(27, 20); this.tbID.TabIndex = 16; this.tbID.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // btnOK // this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(24, 138); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 17; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(120, 138); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 18; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // ShapePropertiesForm // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(226, 174); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.tbID); this.Controls.Add(this.numericLineWidth); this.Controls.Add(this.btnFillColor); this.Controls.Add(this.btnLineColor); this.Controls.Add(this.tbHeight); this.Controls.Add(this.tbWidth); this.Controls.Add(this.tbY); this.Controls.Add(this.tbX); this.Controls.Add(this.lblLineWidth); this.Controls.Add(this.lblFillColor); this.Controls.Add(this.lblLineColor); this.Controls.Add(this.lblHeight); this.Controls.Add(this.lblWidth); this.Controls.Add(this.lblY); this.Controls.Add(this.lblX); this.Controls.Add(this.lblID); this.Name = "ShapePropertiesForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Properties"; this.Load += new System.EventHandler(this.ShapePropertiesForm_Load); ((System.ComponentModel.ISupportInitialize)(this.numericLineWidth)).EndInit(); 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.groupBox1 = new System.Windows.Forms.GroupBox(); this.timeUpDownStartTime = new Nikse.SubtitleEdit.Controls.TimeUpDown(); this.labelStartTime = new System.Windows.Forms.Label(); this.comboBoxTimeCodeRate = new System.Windows.Forms.ComboBox(); this.labelTimeCodeRate = new System.Windows.Forms.Label(); this.textBoxEditRate = new System.Windows.Forms.TextBox(); this.labelEditRate = new System.Windows.Forms.Label(); this.buttonToday = new System.Windows.Forms.Button(); this.textBoxIssueDate = new System.Windows.Forms.TextBox(); this.labelIssueDate = new System.Windows.Forms.Label(); this.comboBoxLanguage = new System.Windows.Forms.ComboBox(); this.labelLanguage = new System.Windows.Forms.Label(); this.buttonGenerateID = new System.Windows.Forms.Button(); this.numericUpDownReelNumber = new System.Windows.Forms.NumericUpDown(); this.groupBoxFont = new System.Windows.Forms.GroupBox(); this.buttonGenFontUri = new System.Windows.Forms.Button(); this.numericUpDownTopBottomMargin = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.panelFontEffectColor = new System.Windows.Forms.Panel(); this.buttonFontEffectColor = new System.Windows.Forms.Button(); this.panelFontColor = new System.Windows.Forms.Panel(); this.buttonFontColor = new System.Windows.Forms.Button(); this.labelEffectColor = new System.Windows.Forms.Label(); this.numericUpDownFontSize = new System.Windows.Forms.NumericUpDown(); this.labelFontSize = new System.Windows.Forms.Label(); this.comboBoxFontEffect = new System.Windows.Forms.ComboBox(); this.labelEffect = new System.Windows.Forms.Label(); this.labelFontColor = new System.Windows.Forms.Label(); this.textBoxFontID = new System.Windows.Forms.TextBox(); this.labelFontId = new System.Windows.Forms.Label(); this.textBoxFontUri = new System.Windows.Forms.TextBox(); this.labelFontUri = new System.Windows.Forms.Label(); this.labelReelNumber = new System.Windows.Forms.Label(); this.textBoxMovieTitle = new System.Windows.Forms.TextBox(); this.labelMovieTitle = new System.Windows.Forms.Label(); this.textBoxSubtitleID = new System.Windows.Forms.TextBox(); this.labelSubtitleID = new System.Windows.Forms.Label(); this.buttonCancel = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownReelNumber)).BeginInit(); this.groupBoxFont.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTopBottomMargin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownFontSize)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.timeUpDownStartTime); this.groupBox1.Controls.Add(this.labelStartTime); this.groupBox1.Controls.Add(this.comboBoxTimeCodeRate); this.groupBox1.Controls.Add(this.labelTimeCodeRate); this.groupBox1.Controls.Add(this.textBoxEditRate); this.groupBox1.Controls.Add(this.labelEditRate); this.groupBox1.Controls.Add(this.buttonToday); this.groupBox1.Controls.Add(this.textBoxIssueDate); this.groupBox1.Controls.Add(this.labelIssueDate); this.groupBox1.Controls.Add(this.comboBoxLanguage); this.groupBox1.Controls.Add(this.labelLanguage); this.groupBox1.Controls.Add(this.buttonGenerateID); this.groupBox1.Controls.Add(this.numericUpDownReelNumber); this.groupBox1.Controls.Add(this.groupBoxFont); this.groupBox1.Controls.Add(this.labelReelNumber); this.groupBox1.Controls.Add(this.textBoxMovieTitle); this.groupBox1.Controls.Add(this.labelMovieTitle); this.groupBox1.Controls.Add(this.textBoxSubtitleID); this.groupBox1.Controls.Add(this.labelSubtitleID); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(583, 453); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // timeUpDownStartTime // this.timeUpDownStartTime.AutoSize = true; this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.timeUpDownStartTime.Location = new System.Drawing.Point(181, 214); this.timeUpDownStartTime.Name = "timeUpDownStartTime"; this.timeUpDownStartTime.Size = new System.Drawing.Size(96, 24); this.timeUpDownStartTime.TabIndex = 8; // // labelStartTime // this.labelStartTime.AutoSize = true; this.labelStartTime.Location = new System.Drawing.Point(15, 214); this.labelStartTime.Name = "labelStartTime"; this.labelStartTime.Size = new System.Drawing.Size(51, 13); this.labelStartTime.TabIndex = 39; this.labelStartTime.Text = "Start time"; // // comboBoxTimeCodeRate // this.comboBoxTimeCodeRate.FormattingEnabled = true; this.comboBoxTimeCodeRate.Items.AddRange(new object[] { "24", "25", "30", "48"}); this.comboBoxTimeCodeRate.Location = new System.Drawing.Point(181, 185); this.comboBoxTimeCodeRate.Name = "comboBoxTimeCodeRate"; this.comboBoxTimeCodeRate.Size = new System.Drawing.Size(112, 21); this.comboBoxTimeCodeRate.TabIndex = 7; // // labelTimeCodeRate // this.labelTimeCodeRate.AutoSize = true; this.labelTimeCodeRate.Location = new System.Drawing.Point(15, 188); this.labelTimeCodeRate.Name = "labelTimeCodeRate"; this.labelTimeCodeRate.Size = new System.Drawing.Size(78, 13); this.labelTimeCodeRate.TabIndex = 37; this.labelTimeCodeRate.Text = "Time code rate"; // // textBoxEditRate // this.textBoxEditRate.Location = new System.Drawing.Point(181, 161); this.textBoxEditRate.Name = "textBoxEditRate"; this.textBoxEditRate.Size = new System.Drawing.Size(112, 20); this.textBoxEditRate.TabIndex = 6; this.textBoxEditRate.Text = "1 24"; // // labelEditRate // this.labelEditRate.AutoSize = true; this.labelEditRate.Location = new System.Drawing.Point(15, 163); this.labelEditRate.Name = "labelEditRate"; this.labelEditRate.Size = new System.Drawing.Size(46, 13); this.labelEditRate.TabIndex = 35; this.labelEditRate.Text = "Edit rate"; // // buttonToday // this.buttonToday.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonToday.Location = new System.Drawing.Point(461, 134); this.buttonToday.Name = "buttonToday"; this.buttonToday.Size = new System.Drawing.Size(100, 21); this.buttonToday.TabIndex = 5; this.buttonToday.Text = "Now"; this.buttonToday.UseVisualStyleBackColor = true; this.buttonToday.Click += new System.EventHandler(this.ButtonToday_Click); // // textBoxIssueDate // this.textBoxIssueDate.Location = new System.Drawing.Point(181, 135); this.textBoxIssueDate.Name = "textBoxIssueDate"; this.textBoxIssueDate.Size = new System.Drawing.Size(274, 20); this.textBoxIssueDate.TabIndex = 4; this.textBoxIssueDate.Text = "2005-07-14T21:52:02.000-00:00"; // // labelIssueDate // this.labelIssueDate.AutoSize = true; this.labelIssueDate.Location = new System.Drawing.Point(15, 138); this.labelIssueDate.Name = "labelIssueDate"; this.labelIssueDate.Size = new System.Drawing.Size(56, 13); this.labelIssueDate.TabIndex = 32; this.labelIssueDate.Text = "Issue date"; // // comboBoxLanguage // this.comboBoxLanguage.FormattingEnabled = true; this.comboBoxLanguage.Location = new System.Drawing.Point(181, 108); this.comboBoxLanguage.Name = "comboBoxLanguage"; this.comboBoxLanguage.Size = new System.Drawing.Size(112, 21); this.comboBoxLanguage.TabIndex = 3; // // labelLanguage // this.labelLanguage.AutoSize = true; this.labelLanguage.Location = new System.Drawing.Point(15, 111); this.labelLanguage.Name = "labelLanguage"; this.labelLanguage.Size = new System.Drawing.Size(55, 13); this.labelLanguage.TabIndex = 30; this.labelLanguage.Text = "Language"; // // buttonGenerateID // this.buttonGenerateID.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonGenerateID.Location = new System.Drawing.Point(461, 29); this.buttonGenerateID.Name = "buttonGenerateID"; this.buttonGenerateID.Size = new System.Drawing.Size(100, 21); this.buttonGenerateID.TabIndex = 1; this.buttonGenerateID.Text = "Generate ID"; this.buttonGenerateID.UseVisualStyleBackColor = true; this.buttonGenerateID.Click += new System.EventHandler(this.ButtonGenerateID_Click); // // numericUpDownReelNumber // this.numericUpDownReelNumber.Location = new System.Drawing.Point(181, 82); this.numericUpDownReelNumber.Maximum = new decimal(new int[] { 250, 0, 0, 0}); this.numericUpDownReelNumber.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numericUpDownReelNumber.Name = "numericUpDownReelNumber"; this.numericUpDownReelNumber.Size = new System.Drawing.Size(112, 20); this.numericUpDownReelNumber.TabIndex = 2; this.numericUpDownReelNumber.Value = new decimal(new int[] { 1, 0, 0, 0}); // // groupBoxFont // this.groupBoxFont.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBoxFont.Controls.Add(this.buttonGenFontUri); this.groupBoxFont.Controls.Add(this.numericUpDownTopBottomMargin); this.groupBoxFont.Controls.Add(this.label2); this.groupBoxFont.Controls.Add(this.panelFontEffectColor); this.groupBoxFont.Controls.Add(this.buttonFontEffectColor); this.groupBoxFont.Controls.Add(this.panelFontColor); this.groupBoxFont.Controls.Add(this.buttonFontColor); this.groupBoxFont.Controls.Add(this.labelEffectColor); this.groupBoxFont.Controls.Add(this.numericUpDownFontSize); this.groupBoxFont.Controls.Add(this.labelFontSize); this.groupBoxFont.Controls.Add(this.comboBoxFontEffect); this.groupBoxFont.Controls.Add(this.labelEffect); this.groupBoxFont.Controls.Add(this.labelFontColor); this.groupBoxFont.Controls.Add(this.textBoxFontID); this.groupBoxFont.Controls.Add(this.labelFontId); this.groupBoxFont.Controls.Add(this.textBoxFontUri); this.groupBoxFont.Controls.Add(this.labelFontUri); this.groupBoxFont.Location = new System.Drawing.Point(6, 237); this.groupBoxFont.Name = "groupBoxFont"; this.groupBoxFont.Size = new System.Drawing.Size(571, 206); this.groupBoxFont.TabIndex = 9; this.groupBoxFont.TabStop = false; this.groupBoxFont.Text = "Font"; // // buttonGenFontUri // this.buttonGenFontUri.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonGenFontUri.Location = new System.Drawing.Point(454, 41); this.buttonGenFontUri.Name = "buttonGenFontUri"; this.buttonGenFontUri.Size = new System.Drawing.Size(100, 21); this.buttonGenFontUri.TabIndex = 2; this.buttonGenFontUri.Text = "Generate"; this.buttonGenFontUri.UseVisualStyleBackColor = true; this.buttonGenFontUri.Click += new System.EventHandler(this.Button1_Click); // // numericUpDownTopBottomMargin // this.numericUpDownTopBottomMargin.Location = new System.Drawing.Point(175, 176); this.numericUpDownTopBottomMargin.Maximum = new decimal(new int[] { 50, 0, 0, 0}); this.numericUpDownTopBottomMargin.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numericUpDownTopBottomMargin.Name = "numericUpDownTopBottomMargin"; this.numericUpDownTopBottomMargin.Size = new System.Drawing.Size(112, 20); this.numericUpDownTopBottomMargin.TabIndex = 9; this.numericUpDownTopBottomMargin.Value = new decimal(new int[] { 1, 0, 0, 0}); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(10, 178); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(97, 13); this.label2.TabIndex = 28; this.label2.Text = "Top/bottom margin"; // // panelFontEffectColor // this.panelFontEffectColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelFontEffectColor.Location = new System.Drawing.Point(297, 123); this.panelFontEffectColor.Name = "panelFontEffectColor"; this.panelFontEffectColor.Size = new System.Drawing.Size(21, 20); this.panelFontEffectColor.TabIndex = 7; this.panelFontEffectColor.Click += new System.EventHandler(this.ButtonFontEffectColor_Click); // // buttonFontEffectColor // this.buttonFontEffectColor.Location = new System.Drawing.Point(175, 123); this.buttonFontEffectColor.Name = "buttonFontEffectColor"; this.buttonFontEffectColor.Size = new System.Drawing.Size(112, 21); this.buttonFontEffectColor.TabIndex = 6; this.buttonFontEffectColor.Text = "Choose color"; this.buttonFontEffectColor.UseVisualStyleBackColor = true; this.buttonFontEffectColor.Click += new System.EventHandler(this.ButtonFontEffectColor_Click); // // panelFontColor // this.panelFontColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelFontColor.Location = new System.Drawing.Point(297, 70); this.panelFontColor.Name = "panelFontColor"; this.panelFontColor.Size = new System.Drawing.Size(21, 20); this.panelFontColor.TabIndex = 4; this.panelFontColor.Click += new System.EventHandler(this.ButtonFontColor_Click); // // buttonFontColor // this.buttonFontColor.Location = new System.Drawing.Point(175, 70); this.buttonFontColor.Name = "buttonFontColor"; this.buttonFontColor.Size = new System.Drawing.Size(112, 21); this.buttonFontColor.TabIndex = 3; this.buttonFontColor.Text = "Choose color"; this.buttonFontColor.UseVisualStyleBackColor = true; this.buttonFontColor.Click += new System.EventHandler(this.ButtonFontColor_Click); // // labelEffectColor // this.labelEffectColor.AutoSize = true; this.labelEffectColor.Location = new System.Drawing.Point(10, 127); this.labelEffectColor.Name = "labelEffectColor"; this.labelEffectColor.Size = new System.Drawing.Size(61, 13); this.labelEffectColor.TabIndex = 27; this.labelEffectColor.Text = "Effect color"; // // numericUpDownFontSize // this.numericUpDownFontSize.Location = new System.Drawing.Point(175, 150); this.numericUpDownFontSize.Maximum = new decimal(new int[] { 250, 0, 0, 0}); this.numericUpDownFontSize.Name = "numericUpDownFontSize"; this.numericUpDownFontSize.Size = new System.Drawing.Size(112, 20); this.numericUpDownFontSize.TabIndex = 8; // // labelFontSize // this.labelFontSize.AutoSize = true; this.labelFontSize.Location = new System.Drawing.Point(10, 152); this.labelFontSize.Name = "labelFontSize"; this.labelFontSize.Size = new System.Drawing.Size(27, 13); this.labelFontSize.TabIndex = 25; this.labelFontSize.Text = "Size"; // // comboBoxFontEffect // this.comboBoxFontEffect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxFontEffect.FormattingEnabled = true; this.comboBoxFontEffect.Items.AddRange(new object[] { "None", "Border", "Shadow"}); this.comboBoxFontEffect.Location = new System.Drawing.Point(175, 97); this.comboBoxFontEffect.Name = "comboBoxFontEffect"; this.comboBoxFontEffect.Size = new System.Drawing.Size(112, 21); this.comboBoxFontEffect.TabIndex = 5; // // labelEffect // this.labelEffect.AutoSize = true; this.labelEffect.Location = new System.Drawing.Point(10, 100); this.labelEffect.Name = "labelEffect"; this.labelEffect.Size = new System.Drawing.Size(35, 13); this.labelEffect.TabIndex = 22; this.labelEffect.Text = "Effect"; // // labelFontColor // this.labelFontColor.AutoSize = true; this.labelFontColor.Location = new System.Drawing.Point(10, 74); this.labelFontColor.Name = "labelFontColor"; this.labelFontColor.Size = new System.Drawing.Size(31, 13); this.labelFontColor.TabIndex = 18; this.labelFontColor.Text = "Color"; // // textBoxFontID // this.textBoxFontID.Location = new System.Drawing.Point(175, 19); this.textBoxFontID.Name = "textBoxFontID"; this.textBoxFontID.Size = new System.Drawing.Size(274, 20); this.textBoxFontID.TabIndex = 0; this.textBoxFontID.Text = "Freds_Font"; // // labelFontId // this.labelFontId.AutoSize = true; this.labelFontId.Location = new System.Drawing.Point(10, 22); this.labelFontId.Name = "labelFontId"; this.labelFontId.Size = new System.Drawing.Size(18, 13); this.labelFontId.TabIndex = 16; this.labelFontId.Text = "ID"; // // textBoxFontUri // this.textBoxFontUri.Location = new System.Drawing.Point(175, 45); this.textBoxFontUri.Name = "textBoxFontUri"; this.textBoxFontUri.Size = new System.Drawing.Size(274, 20); this.textBoxFontUri.TabIndex = 1; this.textBoxFontUri.Text = "Fred.ttf"; // // labelFontUri // this.labelFontUri.AutoSize = true; this.labelFontUri.Location = new System.Drawing.Point(10, 48); this.labelFontUri.Name = "labelFontUri"; this.labelFontUri.Size = new System.Drawing.Size(26, 13); this.labelFontUri.TabIndex = 14; this.labelFontUri.Text = "URI"; // // labelReelNumber // this.labelReelNumber.AutoSize = true; this.labelReelNumber.Location = new System.Drawing.Point(15, 85); this.labelReelNumber.Name = "labelReelNumber"; this.labelReelNumber.Size = new System.Drawing.Size(67, 13); this.labelReelNumber.TabIndex = 4; this.labelReelNumber.Text = "Reel number"; // // textBoxMovieTitle // this.textBoxMovieTitle.Location = new System.Drawing.Point(181, 56); this.textBoxMovieTitle.Name = "textBoxMovieTitle"; this.textBoxMovieTitle.Size = new System.Drawing.Size(274, 20); this.textBoxMovieTitle.TabIndex = 2; this.textBoxMovieTitle.Text = "Bedtime For Bonzo"; // // labelMovieTitle // this.labelMovieTitle.AutoSize = true; this.labelMovieTitle.Location = new System.Drawing.Point(15, 59); this.labelMovieTitle.Name = "labelMovieTitle"; this.labelMovieTitle.Size = new System.Drawing.Size(55, 13); this.labelMovieTitle.TabIndex = 2; this.labelMovieTitle.Text = "Movie title"; // // textBoxSubtitleID // this.textBoxSubtitleID.Location = new System.Drawing.Point(181, 30); this.textBoxSubtitleID.Name = "textBoxSubtitleID"; this.textBoxSubtitleID.Size = new System.Drawing.Size(274, 20); this.textBoxSubtitleID.TabIndex = 0; this.textBoxSubtitleID.Text = "40950d85-63eb-4ee2-b1e8-45c126601b94"; // // labelSubtitleID // this.labelSubtitleID.AutoSize = true; this.labelSubtitleID.Location = new System.Drawing.Point(15, 33); this.labelSubtitleID.Name = "labelSubtitleID"; this.labelSubtitleID.Size = new System.Drawing.Size(56, 13); this.labelSubtitleID.TabIndex = 0; this.labelSubtitleID.Text = "Subtitle ID"; // // buttonCancel // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonCancel.Location = new System.Drawing.Point(521, 470); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 21); this.buttonCancel.TabIndex = 2; this.buttonCancel.Text = "C&ancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); // // buttonOK // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonOK.Location = new System.Drawing.Point(440, 470); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 21); this.buttonOK.TabIndex = 1; this.buttonOK.Text = "&OK"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click_1); // // DCinemaPropertiesSmpte // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(607, 504); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DCinemaPropertiesSmpte"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "D-Cinema properties (SMPTE)"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownReelNumber)).EndInit(); this.groupBoxFont.ResumeLayout(false); this.groupBoxFont.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTopBottomMargin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownFontSize)).EndInit(); this.ResumeLayout(false); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapControl)); this.TableLayout = new System.Windows.Forms.TableLayoutPanel(); this.YRuler = new System.Windows.Forms.Panel(); this.XRuler = new System.Windows.Forms.Panel(); this.MapToolStripRuler = new System.Windows.Forms.PictureBox(); this.MapPicture = new ScrollableMapControl(); this.VillageTooltip = new System.Windows.Forms.ToolTip(this.components); this.PickColor = new System.Windows.Forms.ColorDialog(); this.MapLinesMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.MapToolStripRosterContinent = new System.Windows.Forms.ToolStripMenuItem(); this.MapToolStripRosterProvince = new System.Windows.Forms.ToolStripMenuItem(); this.MapHideMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.abandonedVillagesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.villagesWithoutTribeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.villagesWithTribeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TableLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.MapToolStripRuler)).BeginInit(); this.MapLinesMenu.SuspendLayout(); this.MapHideMenu.SuspendLayout(); this.SuspendLayout(); // // TableLayout // this.TableLayout.ColumnCount = 2; this.TableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.TableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.TableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.TableLayout.Controls.Add(this.YRuler, 0, 1); this.TableLayout.Controls.Add(this.XRuler, 1, 0); this.TableLayout.Controls.Add(this.MapToolStripRuler, 0, 0); this.TableLayout.Controls.Add(this.MapPicture, 1, 1); this.TableLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.TableLayout.Location = new System.Drawing.Point(0, 0); this.TableLayout.Margin = new System.Windows.Forms.Padding(0); this.TableLayout.Name = "TableLayout"; this.TableLayout.RowCount = 2; this.TableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.TableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.TableLayout.Size = new System.Drawing.Size(121, 117); this.TableLayout.TabIndex = 6; // // YRuler // this.YRuler.Dock = System.Windows.Forms.DockStyle.Fill; this.YRuler.Location = new System.Drawing.Point(0, 20); this.YRuler.Margin = new System.Windows.Forms.Padding(0); this.YRuler.Name = "YRuler"; this.YRuler.Size = new System.Drawing.Size(20, 111); this.YRuler.TabIndex = 7; this.YRuler.Paint += new System.Windows.Forms.PaintEventHandler(this.YRuler_Paint); // // XRuler // this.XRuler.Dock = System.Windows.Forms.DockStyle.Fill; this.XRuler.Location = new System.Drawing.Point(20, 0); this.XRuler.Margin = new System.Windows.Forms.Padding(0); this.XRuler.Name = "XRuler"; this.XRuler.Size = new System.Drawing.Size(122, 20); this.XRuler.TabIndex = 6; this.XRuler.Paint += new System.Windows.Forms.PaintEventHandler(this.XRuler_Paint); // // MapToolStripRuler // this.MapToolStripRuler.Dock = System.Windows.Forms.DockStyle.Fill; this.MapToolStripRuler.Image = ((System.Drawing.Image)(resources.GetObject("MapToolStripRuler.Image"))); this.MapToolStripRuler.Location = new System.Drawing.Point(3, 3); this.MapToolStripRuler.Name = "MapToolStripRuler"; this.MapToolStripRuler.Size = new System.Drawing.Size(14, 14); this.MapToolStripRuler.TabIndex = 0; this.MapToolStripRuler.TabStop = false; // // MapPicture // this.MapPicture.BackColor = System.Drawing.Color.Green; this.MapPicture.Dock = System.Windows.Forms.DockStyle.Fill; this.MapPicture.Location = new System.Drawing.Point(20, 20); this.MapPicture.Margin = new System.Windows.Forms.Padding(0); this.MapPicture.Name = "MapPicture"; this.MapPicture.Size = new System.Drawing.Size(122, 111); this.MapPicture.TabIndex = 8; // // VillageTooltip // this.VillageTooltip.IsBalloon = true; // // MapLinesMenu // this.MapLinesMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.MapToolStripRosterContinent, this.MapToolStripRosterProvince}); this.MapLinesMenu.Name = "MapLinesMenu"; this.MapLinesMenu.Size = new System.Drawing.Size(133, 48); // // MapToolStripRosterContinent // this.MapToolStripRosterContinent.Checked = true; this.MapToolStripRosterContinent.CheckState = System.Windows.Forms.CheckState.Checked; this.MapToolStripRosterContinent.Name = "MapToolStripRosterContinent"; this.MapToolStripRosterContinent.Size = new System.Drawing.Size(132, 22); this.MapToolStripRosterContinent.Text = "&Continent"; // // MapToolStripRosterProvince // this.MapToolStripRosterProvince.Name = "MapToolStripRosterProvince"; this.MapToolStripRosterProvince.Size = new System.Drawing.Size(132, 22); this.MapToolStripRosterProvince.Text = "&Province"; // // MapHideMenu // this.MapHideMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.abandonedVillagesToolStripMenuItem, this.villagesWithoutTribeToolStripMenuItem, this.villagesWithTribeToolStripMenuItem}); this.MapHideMenu.Name = "MapHideMenu"; this.MapHideMenu.Size = new System.Drawing.Size(185, 70); // // abandonedVillagesToolStripMenuItem // this.abandonedVillagesToolStripMenuItem.Name = "abandonedVillagesToolStripMenuItem"; this.abandonedVillagesToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.abandonedVillagesToolStripMenuItem.Text = "Abandoned villages"; // // villagesWithoutTribeToolStripMenuItem // this.villagesWithoutTribeToolStripMenuItem.Name = "villagesWithoutTribeToolStripMenuItem"; this.villagesWithoutTribeToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.villagesWithoutTribeToolStripMenuItem.Text = "Villages without tribe"; // // villagesWithTribeToolStripMenuItem // this.villagesWithTribeToolStripMenuItem.Name = "villagesWithTribeToolStripMenuItem"; this.villagesWithTribeToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.villagesWithTribeToolStripMenuItem.Text = "Villages with tribe"; // // MapControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.TableLayout); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "MapControl"; this.Size = new System.Drawing.Size(121, 117); this.TableLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.MapToolStripRuler)).EndInit(); this.MapLinesMenu.ResumeLayout(false); this.MapHideMenu.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Display Rhino's color selection dialog. /// </summary> /// <param name="color"> /// [in/out] Default color for dialog, and will receive new color if function returns true. /// </param> /// <param name="includeButtonColors"> /// Display button face and text options at top of named color list. /// </param> /// <param name="dialogTitle">The title of the dialog.</param> /// <returns>true if the color changed. false if the color has not changed or the user pressed cancel.</returns> public static bool ShowColorDialog(ref System.Drawing.Color color, bool includeButtonColors, string dialogTitle) { bool rc = false; try { int abgr = System.Drawing.ColorTranslator.ToWin32(color); rc = UnsafeNativeMethods.RHC_RhinoColorDialog(ref abgr, includeButtonColors, dialogTitle); if (rc) color = Runtime.Interop.ColorFromWin32(abgr); } catch (EntryPointNotFoundException) { if (!Runtime.HostUtils.RunningInRhino) { System.Windows.Forms.ColorDialog cd = new System.Windows.Forms.ColorDialog(); cd.Color = color; if (cd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rc = true; color = cd.Color; } } } return rc; }
void rctColor_MouseUp(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rctColor.Fill = new SolidColorBrush(Color.FromArgb(0xFF, dialog.Color.R, dialog.Color.G, dialog.Color.B)); if (isReadOnlyMode) { RenderMap(); } } }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBarChart)); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.label8 = new System.Windows.Forms.Label(); this.numericUpDownThreshold = new System.Windows.Forms.NumericUpDown(); this.checkBoxGroup = new System.Windows.Forms.CheckBox(); this.checkBoxRemoveZeroValue = new System.Windows.Forms.CheckBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.labelBorder = new System.Windows.Forms.Label(); this.trackBarBorder = new System.Windows.Forms.TrackBar(); this.buttonColorBorder = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.labelShadowOuterWidth = new System.Windows.Forms.Label(); this.labelShadowInnerWidth = new System.Windows.Forms.Label(); this.trackBarOuterShadow = new System.Windows.Forms.TrackBar(); this.trackBarInnerShadow = new System.Windows.Forms.TrackBar(); this.label7 = new System.Windows.Forms.Label(); this.comboBoxShadowMode = new System.Windows.Forms.ComboBox(); this.buttonColorOuterShadow = new System.Windows.Forms.Button(); this.buttonColorInnerShadow = new System.Windows.Forms.Button(); this.comboBoxDrawingMode = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.groupBoxSizing = new System.Windows.Forms.GroupBox(); this.trackBarWidthBar = new System.Windows.Forms.TrackBar(); this.labelGapValue = new System.Windows.Forms.Label(); this.trackBarGap = new System.Windows.Forms.TrackBar(); this.labelBarWidthValue = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioButtonBKSolid = new System.Windows.Forms.RadioButton(); this.radioButtonBKRadial = new System.Windows.Forms.RadioButton(); this.radioButtonBKGradient = new System.Windows.Forms.RadioButton(); this.buttonBKColor2 = new System.Windows.Forms.Button(); this.buttonBKColor1 = new System.Windows.Forms.Button(); this.buttonBKColorSolid = new System.Windows.Forms.Button(); this.textBoxDesc = new System.Windows.Forms.TextBox(); this.buttonColorLabel = new System.Windows.Forms.Button(); this.buttonColorDesc = new System.Windows.Forms.Button(); this.buttonColorValues = new System.Windows.Forms.Button(); this.buttonValueFont = new System.Windows.Forms.Button(); this.buttonDesc = new System.Windows.Forms.Button(); this.buttonLabelFont = new System.Windows.Forms.Button(); this.checkBoxTooltips = new System.Windows.Forms.CheckBox(); this.checkBoxDescription = new System.Windows.Forms.CheckBox(); this.checkBoxLabels = new System.Windows.Forms.CheckBox(); this.checkBoxShowValues = new System.Windows.Forms.CheckBox(); this.comboBoxValueMode = new System.Windows.Forms.ComboBox(); this.comboBoxSizingMode = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); this.barChart = new BarChart.HBarChart(); this.colorDialog = new System.Windows.Forms.ColorDialog(); this.fontDialog = new System.Windows.Forms.FontDialog(); this.panel1.SuspendLayout(); this.groupBox5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThreshold)).BeginInit(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarBorder)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarOuterShadow)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarInnerShadow)).BeginInit(); this.groupBoxSizing.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarWidthBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarGap)).BeginInit(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.groupBox5); this.panel1.Controls.Add(this.groupBox3); this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.comboBoxDrawingMode); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.groupBoxSizing); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.textBoxDesc); this.panel1.Controls.Add(this.buttonColorLabel); this.panel1.Controls.Add(this.buttonColorDesc); this.panel1.Controls.Add(this.buttonColorValues); this.panel1.Controls.Add(this.buttonValueFont); this.panel1.Controls.Add(this.buttonDesc); this.panel1.Controls.Add(this.buttonLabelFont); this.panel1.Controls.Add(this.checkBoxTooltips); this.panel1.Controls.Add(this.checkBoxDescription); this.panel1.Controls.Add(this.checkBoxLabels); this.panel1.Controls.Add(this.checkBoxShowValues); this.panel1.Controls.Add(this.comboBoxValueMode); this.panel1.Controls.Add(this.comboBoxSizingMode); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(220, 632); this.panel1.TabIndex = 1; // // groupBox5 // this.groupBox5.Controls.Add(this.label8); this.groupBox5.Controls.Add(this.numericUpDownThreshold); this.groupBox5.Controls.Add(this.checkBoxGroup); this.groupBox5.Controls.Add(this.checkBoxRemoveZeroValue); this.groupBox5.Location = new System.Drawing.Point(6, 521); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(206, 100); this.groupBox5.TabIndex = 32; this.groupBox5.TabStop = false; this.groupBox5.Text = "Data"; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label8.Location = new System.Drawing.Point(25, 70); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(72, 16); this.label8.TabIndex = 20; this.label8.Text = "Threshold"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // numericUpDownThreshold // this.numericUpDownThreshold.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.numericUpDownThreshold.DecimalPlaces = 2; this.numericUpDownThreshold.Increment = new decimal(new int[] { 1, 0, 0, 131072}); this.numericUpDownThreshold.Location = new System.Drawing.Point(97, 68); this.numericUpDownThreshold.Maximum = new decimal(new int[] { 1, 0, 0, 0}); this.numericUpDownThreshold.Name = "numericUpDownThreshold"; this.numericUpDownThreshold.Size = new System.Drawing.Size(48, 20); this.numericUpDownThreshold.TabIndex = 21; this.numericUpDownThreshold.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.numericUpDownThreshold.Value = new decimal(new int[] { 7, 0, 0, 131072}); this.numericUpDownThreshold.ValueChanged += new System.EventHandler(this.numericUpDownThreshold_ValueChanged); // // checkBoxGroup // this.checkBoxGroup.AutoSize = true; this.checkBoxGroup.Checked = true; this.checkBoxGroup.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxGroup.Location = new System.Drawing.Point(16, 43); this.checkBoxGroup.Name = "checkBoxGroup"; this.checkBoxGroup.Size = new System.Drawing.Size(55, 17); this.checkBoxGroup.TabIndex = 1; this.checkBoxGroup.Text = "Group"; this.checkBoxGroup.UseVisualStyleBackColor = true; this.checkBoxGroup.CheckedChanged += new System.EventHandler(this.checkBoxGroup_CheckedChanged); // // checkBoxRemoveZeroValue // this.checkBoxRemoveZeroValue.AutoSize = true; this.checkBoxRemoveZeroValue.Checked = true; this.checkBoxRemoveZeroValue.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxRemoveZeroValue.Location = new System.Drawing.Point(16, 20); this.checkBoxRemoveZeroValue.Name = "checkBoxRemoveZeroValue"; this.checkBoxRemoveZeroValue.Size = new System.Drawing.Size(118, 17); this.checkBoxRemoveZeroValue.TabIndex = 0; this.checkBoxRemoveZeroValue.Text = "Remove zero value"; this.checkBoxRemoveZeroValue.UseVisualStyleBackColor = true; this.checkBoxRemoveZeroValue.CheckedChanged += new System.EventHandler(this.checkBoxRemoveZeroValue_CheckedChanged); // // groupBox3 // this.groupBox3.Controls.Add(this.labelBorder); this.groupBox3.Controls.Add(this.trackBarBorder); this.groupBox3.Controls.Add(this.buttonColorBorder); this.groupBox3.Location = new System.Drawing.Point(7, 462); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(202, 55); this.groupBox3.TabIndex = 17; this.groupBox3.TabStop = false; this.groupBox3.Text = "Border"; // // labelBorder // this.labelBorder.AutoSize = true; this.labelBorder.Location = new System.Drawing.Point(6, 25); this.labelBorder.Name = "labelBorder"; this.labelBorder.Size = new System.Drawing.Size(62, 13); this.labelBorder.TabIndex = 1; this.labelBorder.Text = "Size && color"; // // trackBarBorder // this.trackBarBorder.AutoSize = false; this.trackBarBorder.LargeChange = 1; this.trackBarBorder.Location = new System.Drawing.Point(64, 19); this.trackBarBorder.Maximum = 100; this.trackBarBorder.Name = "trackBarBorder"; this.trackBarBorder.Size = new System.Drawing.Size(90, 23); this.trackBarBorder.TabIndex = 1; this.trackBarBorder.TickFrequency = 0; this.trackBarBorder.Value = 10; this.trackBarBorder.Scroll += new System.EventHandler(this.trackBarBorder_Scroll); // // buttonColorBorder // this.buttonColorBorder.BackColor = System.Drawing.Color.White; this.buttonColorBorder.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorBorder.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorBorder.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorBorder.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorBorder.Location = new System.Drawing.Point(160, 21); this.buttonColorBorder.Name = "buttonColorBorder"; this.buttonColorBorder.Size = new System.Drawing.Size(25, 21); this.buttonColorBorder.TabIndex = 8; this.buttonColorBorder.Text = "..."; this.buttonColorBorder.UseVisualStyleBackColor = false; this.buttonColorBorder.Click += new System.EventHandler(this.buttonColorBorder_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.labelShadowOuterWidth); this.groupBox2.Controls.Add(this.labelShadowInnerWidth); this.groupBox2.Controls.Add(this.trackBarOuterShadow); this.groupBox2.Controls.Add(this.trackBarInnerShadow); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.comboBoxShadowMode); this.groupBox2.Controls.Add(this.buttonColorOuterShadow); this.groupBox2.Controls.Add(this.buttonColorInnerShadow); this.groupBox2.Location = new System.Drawing.Point(7, 347); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(202, 109); this.groupBox2.TabIndex = 17; this.groupBox2.TabStop = false; this.groupBox2.Text = "Shadow"; // // labelShadowOuterWidth // this.labelShadowOuterWidth.AutoSize = true; this.labelShadowOuterWidth.Location = new System.Drawing.Point(6, 79); this.labelShadowOuterWidth.Name = "labelShadowOuterWidth"; this.labelShadowOuterWidth.Size = new System.Drawing.Size(33, 13); this.labelShadowOuterWidth.TabIndex = 1; this.labelShadowOuterWidth.Text = "Outer"; // // labelShadowInnerWidth // this.labelShadowInnerWidth.AutoSize = true; this.labelShadowInnerWidth.Location = new System.Drawing.Point(6, 48); this.labelShadowInnerWidth.Name = "labelShadowInnerWidth"; this.labelShadowInnerWidth.Size = new System.Drawing.Size(31, 13); this.labelShadowInnerWidth.TabIndex = 1; this.labelShadowInnerWidth.Text = "Inner"; // // trackBarOuterShadow // this.trackBarOuterShadow.AutoSize = false; this.trackBarOuterShadow.LargeChange = 1; this.trackBarOuterShadow.Location = new System.Drawing.Point(64, 75); this.trackBarOuterShadow.Maximum = 100; this.trackBarOuterShadow.Name = "trackBarOuterShadow"; this.trackBarOuterShadow.Size = new System.Drawing.Size(90, 23); this.trackBarOuterShadow.TabIndex = 1; this.trackBarOuterShadow.TickFrequency = 0; this.trackBarOuterShadow.Value = 5; this.trackBarOuterShadow.Scroll += new System.EventHandler(this.trackBarShadowOuter_Scroll); // // trackBarInnerShadow // this.trackBarInnerShadow.AutoSize = false; this.trackBarInnerShadow.LargeChange = 1; this.trackBarInnerShadow.Location = new System.Drawing.Point(64, 48); this.trackBarInnerShadow.Maximum = 100; this.trackBarInnerShadow.Name = "trackBarInnerShadow"; this.trackBarInnerShadow.Size = new System.Drawing.Size(90, 23); this.trackBarInnerShadow.TabIndex = 1; this.trackBarInnerShadow.TickFrequency = 0; this.trackBarInnerShadow.Value = 5; this.trackBarInnerShadow.Scroll += new System.EventHandler(this.trackBarShadowInner_Scroll); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(4, 24); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(34, 13); this.label7.TabIndex = 1; this.label7.Text = "Mode"; // // comboBoxShadowMode // this.comboBoxShadowMode.FormattingEnabled = true; this.comboBoxShadowMode.Items.AddRange(new object[] { "None", "Inner", "Outer", "Both"}); this.comboBoxShadowMode.Location = new System.Drawing.Point(64, 21); this.comboBoxShadowMode.Name = "comboBoxShadowMode"; this.comboBoxShadowMode.Size = new System.Drawing.Size(121, 21); this.comboBoxShadowMode.TabIndex = 0; this.comboBoxShadowMode.SelectedIndexChanged += new System.EventHandler(this.comboBoxShadowMode_SelectedIndexChanged); // // buttonColorOuterShadow // this.buttonColorOuterShadow.BackColor = System.Drawing.Color.White; this.buttonColorOuterShadow.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorOuterShadow.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorOuterShadow.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorOuterShadow.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorOuterShadow.Location = new System.Drawing.Point(160, 75); this.buttonColorOuterShadow.Name = "buttonColorOuterShadow"; this.buttonColorOuterShadow.Size = new System.Drawing.Size(25, 21); this.buttonColorOuterShadow.TabIndex = 8; this.buttonColorOuterShadow.Text = "..."; this.buttonColorOuterShadow.UseVisualStyleBackColor = false; this.buttonColorOuterShadow.Click += new System.EventHandler(this.buttonColorOuterShadow_Click); // // buttonColorInnerShadow // this.buttonColorInnerShadow.BackColor = System.Drawing.Color.White; this.buttonColorInnerShadow.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorInnerShadow.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorInnerShadow.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorInnerShadow.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorInnerShadow.Location = new System.Drawing.Point(160, 48); this.buttonColorInnerShadow.Name = "buttonColorInnerShadow"; this.buttonColorInnerShadow.Size = new System.Drawing.Size(25, 21); this.buttonColorInnerShadow.TabIndex = 5; this.buttonColorInnerShadow.Text = "..."; this.buttonColorInnerShadow.UseVisualStyleBackColor = false; this.buttonColorInnerShadow.Click += new System.EventHandler(this.buttonColorInnerShadow_Click); // // comboBoxDrawingMode // this.comboBoxDrawingMode.FormattingEnabled = true; this.comboBoxDrawingMode.Items.AddRange(new object[] { "Glass", "Rubber", "Solid"}); this.comboBoxDrawingMode.Location = new System.Drawing.Point(72, 37); this.comboBoxDrawingMode.Name = "comboBoxDrawingMode"; this.comboBoxDrawingMode.Size = new System.Drawing.Size(118, 21); this.comboBoxDrawingMode.TabIndex = 16; this.comboBoxDrawingMode.SelectionChangeCommitted += new System.EventHandler(this.comboBoxBarDrawingMode_SelectionChangeCommitted); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(4, 38); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(46, 13); this.label6.TabIndex = 15; this.label6.Text = "Drawing"; // // groupBoxSizing // this.groupBoxSizing.Controls.Add(this.trackBarWidthBar); this.groupBoxSizing.Controls.Add(this.labelGapValue); this.groupBoxSizing.Controls.Add(this.trackBarGap); this.groupBoxSizing.Controls.Add(this.labelBarWidthValue); this.groupBoxSizing.Location = new System.Drawing.Point(7, 278); this.groupBoxSizing.Name = "groupBoxSizing"; this.groupBoxSizing.Size = new System.Drawing.Size(202, 62); this.groupBoxSizing.TabIndex = 14; this.groupBoxSizing.TabStop = false; this.groupBoxSizing.Text = "Bars"; // // trackBarWidthBar // this.trackBarWidthBar.AutoSize = false; this.trackBarWidthBar.LargeChange = 1; this.trackBarWidthBar.Location = new System.Drawing.Point(79, 33); this.trackBarWidthBar.Maximum = 100; this.trackBarWidthBar.Minimum = 24; this.trackBarWidthBar.Name = "trackBarWidthBar"; this.trackBarWidthBar.Size = new System.Drawing.Size(106, 23); this.trackBarWidthBar.TabIndex = 3; this.trackBarWidthBar.TickFrequency = 0; this.trackBarWidthBar.Value = 24; this.trackBarWidthBar.Scroll += new System.EventHandler(this.trackBarWidthBar_Scroll); // // labelGapValue // this.labelGapValue.AutoSize = true; this.labelGapValue.Location = new System.Drawing.Point(3, 16); this.labelGapValue.Name = "labelGapValue"; this.labelGapValue.Size = new System.Drawing.Size(60, 13); this.labelGapValue.TabIndex = 0; this.labelGapValue.Text = "Gap size(4)"; // // trackBarGap // this.trackBarGap.AutoSize = false; this.trackBarGap.LargeChange = 1; this.trackBarGap.Location = new System.Drawing.Point(79, 10); this.trackBarGap.Maximum = 20; this.trackBarGap.Name = "trackBarGap"; this.trackBarGap.Size = new System.Drawing.Size(106, 23); this.trackBarGap.TabIndex = 1; this.trackBarGap.TickFrequency = 0; this.trackBarGap.Value = 4; this.trackBarGap.Scroll += new System.EventHandler(this.trackBarGap_Scroll); // // labelBarWidthValue // this.labelBarWidthValue.AutoSize = true; this.labelBarWidthValue.Location = new System.Drawing.Point(4, 39); this.labelBarWidthValue.Name = "labelBarWidthValue"; this.labelBarWidthValue.Size = new System.Drawing.Size(72, 13); this.labelBarWidthValue.TabIndex = 2; this.labelBarWidthValue.Text = "Bar Width(24)"; // // groupBox1 // this.groupBox1.Controls.Add(this.radioButtonBKSolid); this.groupBox1.Controls.Add(this.radioButtonBKRadial); this.groupBox1.Controls.Add(this.radioButtonBKGradient); this.groupBox1.Controls.Add(this.buttonBKColor2); this.groupBox1.Controls.Add(this.buttonBKColor1); this.groupBox1.Controls.Add(this.buttonBKColorSolid); this.groupBox1.Location = new System.Drawing.Point(7, 168); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(202, 104); this.groupBox1.TabIndex = 13; this.groupBox1.TabStop = false; this.groupBox1.Text = "Background"; // // radioButtonBKSolid // this.radioButtonBKSolid.AutoSize = true; this.radioButtonBKSolid.Location = new System.Drawing.Point(7, 68); this.radioButtonBKSolid.Name = "radioButtonBKSolid"; this.radioButtonBKSolid.Size = new System.Drawing.Size(48, 17); this.radioButtonBKSolid.TabIndex = 3; this.radioButtonBKSolid.TabStop = true; this.radioButtonBKSolid.Text = "Solid"; this.radioButtonBKSolid.UseVisualStyleBackColor = true; this.radioButtonBKSolid.CheckedChanged += new System.EventHandler(this.radioButtonBKSolid_CheckedChanged); // // radioButtonBKRadial // this.radioButtonBKRadial.AutoSize = true; this.radioButtonBKRadial.Location = new System.Drawing.Point(7, 42); this.radioButtonBKRadial.Name = "radioButtonBKRadial"; this.radioButtonBKRadial.Size = new System.Drawing.Size(55, 17); this.radioButtonBKRadial.TabIndex = 0; this.radioButtonBKRadial.TabStop = true; this.radioButtonBKRadial.Text = "Radial"; this.radioButtonBKRadial.UseVisualStyleBackColor = true; this.radioButtonBKRadial.CheckedChanged += new System.EventHandler(this.radioButtonBKRadial_CheckedChanged); // // radioButtonBKGradient // this.radioButtonBKGradient.AutoSize = true; this.radioButtonBKGradient.Location = new System.Drawing.Point(7, 15); this.radioButtonBKGradient.Name = "radioButtonBKGradient"; this.radioButtonBKGradient.Size = new System.Drawing.Size(65, 17); this.radioButtonBKGradient.TabIndex = 0; this.radioButtonBKGradient.TabStop = true; this.radioButtonBKGradient.Text = "Gradient"; this.radioButtonBKGradient.UseVisualStyleBackColor = true; this.radioButtonBKGradient.CheckedChanged += new System.EventHandler(this.radioButtonBKGradient_CheckedChanged); // // buttonBKColor2 // this.buttonBKColor2.BackColor = System.Drawing.Color.Transparent; this.buttonBKColor2.Location = new System.Drawing.Point(138, 12); this.buttonBKColor2.Name = "buttonBKColor2"; this.buttonBKColor2.Size = new System.Drawing.Size(45, 22); this.buttonBKColor2.TabIndex = 2; this.buttonBKColor2.Text = "Color2"; this.buttonBKColor2.UseVisualStyleBackColor = false; this.buttonBKColor2.Click += new System.EventHandler(this.buttonBKColor2_Click); // // buttonBKColor1 // this.buttonBKColor1.BackColor = System.Drawing.Color.Transparent; this.buttonBKColor1.Location = new System.Drawing.Point(90, 12); this.buttonBKColor1.Name = "buttonBKColor1"; this.buttonBKColor1.Size = new System.Drawing.Size(45, 22); this.buttonBKColor1.TabIndex = 1; this.buttonBKColor1.Text = "Color1"; this.buttonBKColor1.UseVisualStyleBackColor = false; this.buttonBKColor1.Click += new System.EventHandler(this.buttonBKColor1_Click); // // buttonBKColorSolid // this.buttonBKColorSolid.BackColor = System.Drawing.Color.Transparent; this.buttonBKColorSolid.Location = new System.Drawing.Point(90, 65); this.buttonBKColorSolid.Name = "buttonBKColorSolid"; this.buttonBKColorSolid.Size = new System.Drawing.Size(93, 22); this.buttonBKColorSolid.TabIndex = 4; this.buttonBKColorSolid.Text = "Select Color"; this.buttonBKColorSolid.UseVisualStyleBackColor = false; this.buttonBKColorSolid.Click += new System.EventHandler(this.buttonBKColorSolid_Click); // // textBoxDesc // this.textBoxDesc.Location = new System.Drawing.Point(72, 116); this.textBoxDesc.Name = "textBoxDesc"; this.textBoxDesc.Size = new System.Drawing.Size(58, 20); this.textBoxDesc.TabIndex = 10; // // buttonColorLabel // this.buttonColorLabel.BackColor = System.Drawing.Color.White; this.buttonColorLabel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorLabel.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorLabel.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorLabel.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorLabel.Location = new System.Drawing.Point(187, 92); this.buttonColorLabel.Name = "buttonColorLabel"; this.buttonColorLabel.Size = new System.Drawing.Size(25, 21); this.buttonColorLabel.TabIndex = 8; this.buttonColorLabel.Text = "..."; this.buttonColorLabel.UseVisualStyleBackColor = false; this.buttonColorLabel.Click += new System.EventHandler(this.buttonColorLabels_Click); // // buttonColorDesc // this.buttonColorDesc.BackColor = System.Drawing.Color.White; this.buttonColorDesc.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorDesc.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorDesc.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorDesc.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorDesc.Location = new System.Drawing.Point(187, 116); this.buttonColorDesc.Name = "buttonColorDesc"; this.buttonColorDesc.Size = new System.Drawing.Size(25, 21); this.buttonColorDesc.TabIndex = 12; this.buttonColorDesc.Text = "..."; this.buttonColorDesc.UseVisualStyleBackColor = false; this.buttonColorDesc.Click += new System.EventHandler(this.buttonColorDesc_Click); // // buttonColorValues // this.buttonColorValues.BackColor = System.Drawing.Color.White; this.buttonColorValues.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.buttonColorValues.Cursor = System.Windows.Forms.Cursors.Hand; this.buttonColorValues.FlatAppearance.BorderColor = System.Drawing.Color.White; this.buttonColorValues.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonColorValues.Location = new System.Drawing.Point(187, 68); this.buttonColorValues.Name = "buttonColorValues"; this.buttonColorValues.Size = new System.Drawing.Size(25, 21); this.buttonColorValues.TabIndex = 5; this.buttonColorValues.Text = "..."; this.buttonColorValues.UseVisualStyleBackColor = false; this.buttonColorValues.Click += new System.EventHandler(this.buttonColorValues_Click); // // buttonValueFont // this.buttonValueFont.BackColor = System.Drawing.Color.Transparent; this.buttonValueFont.Location = new System.Drawing.Point(138, 68); this.buttonValueFont.Name = "buttonValueFont"; this.buttonValueFont.Size = new System.Drawing.Size(45, 22); this.buttonValueFont.TabIndex = 4; this.buttonValueFont.Text = "Font"; this.buttonValueFont.UseVisualStyleBackColor = false; this.buttonValueFont.Click += new System.EventHandler(this.buttonValueFont_Click); // // buttonDesc // this.buttonDesc.BackColor = System.Drawing.Color.Transparent; this.buttonDesc.Location = new System.Drawing.Point(138, 116); this.buttonDesc.Name = "buttonDesc"; this.buttonDesc.Size = new System.Drawing.Size(45, 22); this.buttonDesc.TabIndex = 11; this.buttonDesc.Text = "Font"; this.buttonDesc.UseVisualStyleBackColor = false; this.buttonDesc.Click += new System.EventHandler(this.buttonDesc_Click); // // buttonLabelFont // this.buttonLabelFont.BackColor = System.Drawing.Color.Transparent; this.buttonLabelFont.Location = new System.Drawing.Point(138, 92); this.buttonLabelFont.Name = "buttonLabelFont"; this.buttonLabelFont.Size = new System.Drawing.Size(45, 22); this.buttonLabelFont.TabIndex = 7; this.buttonLabelFont.Text = "Font"; this.buttonLabelFont.UseVisualStyleBackColor = false; this.buttonLabelFont.Click += new System.EventHandler(this.buttonLabelFont_Click); // // checkBoxTooltips // this.checkBoxTooltips.AutoSize = true; this.checkBoxTooltips.Location = new System.Drawing.Point(7, 141); this.checkBoxTooltips.Name = "checkBoxTooltips"; this.checkBoxTooltips.Size = new System.Drawing.Size(63, 17); this.checkBoxTooltips.TabIndex = 9; this.checkBoxTooltips.Text = "Tooltips"; this.checkBoxTooltips.UseVisualStyleBackColor = true; this.checkBoxTooltips.CheckedChanged += new System.EventHandler(this.checkBoxTooltips_CheckedChanged); // // checkBoxDescription // this.checkBoxDescription.AutoSize = true; this.checkBoxDescription.Location = new System.Drawing.Point(7, 116); this.checkBoxDescription.Name = "checkBoxDescription"; this.checkBoxDescription.Size = new System.Drawing.Size(51, 17); this.checkBoxDescription.TabIndex = 9; this.checkBoxDescription.Text = "Desc"; this.checkBoxDescription.UseVisualStyleBackColor = true; this.checkBoxDescription.CheckedChanged += new System.EventHandler(this.checkBoxDescription_CheckedChanged); // // checkBoxLabels // this.checkBoxLabels.AutoSize = true; this.checkBoxLabels.Location = new System.Drawing.Point(7, 92); this.checkBoxLabels.Name = "checkBoxLabels"; this.checkBoxLabels.Size = new System.Drawing.Size(57, 17); this.checkBoxLabels.TabIndex = 6; this.checkBoxLabels.Text = "Labels"; this.checkBoxLabels.UseVisualStyleBackColor = true; this.checkBoxLabels.CheckedChanged += new System.EventHandler(this.checkBoxLabels_CheckedChanged); // // checkBoxShowValues // this.checkBoxShowValues.AutoSize = true; this.checkBoxShowValues.Location = new System.Drawing.Point(7, 68); this.checkBoxShowValues.Name = "checkBoxShowValues"; this.checkBoxShowValues.Size = new System.Drawing.Size(58, 17); this.checkBoxShowValues.TabIndex = 2; this.checkBoxShowValues.Text = "Values"; this.checkBoxShowValues.UseVisualStyleBackColor = true; this.checkBoxShowValues.CheckedChanged += new System.EventHandler(this.checkBoxShowValues_CheckedChanged); // // comboBoxValueMode // this.comboBoxValueMode.FormattingEnabled = true; this.comboBoxValueMode.Items.AddRange(new object[] { "Digit", "Percent"}); this.comboBoxValueMode.Location = new System.Drawing.Point(72, 68); this.comboBoxValueMode.Name = "comboBoxValueMode"; this.comboBoxValueMode.Size = new System.Drawing.Size(58, 21); this.comboBoxValueMode.TabIndex = 3; this.comboBoxValueMode.SelectedIndexChanged += new System.EventHandler(this.comboBoxValueMode_SelectedIndexChanged); // // comboBoxSizingMode // this.comboBoxSizingMode.FormattingEnabled = true; this.comboBoxSizingMode.Items.AddRange(new object[] { "AutoScale", "Normal"}); this.comboBoxSizingMode.Location = new System.Drawing.Point(72, 9); this.comboBoxSizingMode.Name = "comboBoxSizingMode"; this.comboBoxSizingMode.Size = new System.Drawing.Size(118, 21); this.comboBoxSizingMode.TabIndex = 1; this.comboBoxSizingMode.SelectionChangeCommitted += new System.EventHandler(this.comboBoxSizingMode_SelectionChangeCommitted); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(4, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(62, 13); this.label1.TabIndex = 0; this.label1.Text = "SizingMode"; // // panel2 // this.panel2.Controls.Add(this.button1); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(220, 589); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(700, 43); this.panel2.TabIndex = 2; // // button1 // this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.Location = new System.Drawing.Point(265, 13); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(93, 22); this.button1.TabIndex = 5; this.button1.Text = "Save Image"; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel3 // this.panel3.Controls.Add(this.barChart); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(220, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(700, 589); this.panel3.TabIndex = 3; // // barChart // this.barChart.Background.GradientColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(210)))), ((int)(((byte)(245))))); this.barChart.Background.GradientColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(30)))), ((int)(((byte)(90))))); this.barChart.Background.PaintingMode = BarChart.CBackgroundProperty.PaintingModes.RadialGradient; this.barChart.Background.SolidColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(30)))), ((int)(((byte)(90))))); this.barChart.BarsGap = 4; this.barChart.BarWidth = 24; this.barChart.Border.BoundRect = ((System.Drawing.RectangleF)(resources.GetObject("resource.BoundRect"))); this.barChart.Border.Color = System.Drawing.Color.White; this.barChart.Border.Visible = true; this.barChart.Border.Width = 1; this.barChart.Description.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.barChart.Description.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Bold); this.barChart.Description.FontDefaultSize = 14F; this.barChart.Description.Text = ""; this.barChart.Description.Visible = true; this.barChart.Dock = System.Windows.Forms.DockStyle.Fill; this.barChart.Items.DefaultWidth = 0; this.barChart.Items.DrawingMode = BarChart.HBarItems.DrawingModes.Glass; this.barChart.Items.ShouldReCalculate = false; this.barChart.Label.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.barChart.Label.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.barChart.Label.FontDefaultSize = 8F; this.barChart.Label.Visible = true; this.barChart.Location = new System.Drawing.Point(0, 0); this.barChart.Name = "barChart"; this.barChart.Shadow.ColorInner = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.barChart.Shadow.ColorOuter = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.barChart.Shadow.Mode = BarChart.CShadowProperty.Modes.Inner; this.barChart.Shadow.WidthInner = 5; this.barChart.Shadow.WidthOuter = 5; this.barChart.Size = new System.Drawing.Size(700, 589); this.barChart.SizingMode = BarChart.HBarChart.BarSizingMode.Normal; this.barChart.TabIndex = 0; this.barChart.Values.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.barChart.Values.Font = new System.Drawing.Font("Tahoma", 7F); this.barChart.Values.FontDefaultSize = 7F; this.barChart.Values.Mode = BarChart.CValueProperty.ValueMode.Digit; this.barChart.Values.Visible = true; // // frmBarChart // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(920, 632); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "frmBarChart"; this.Text = "frmBarChart"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownThreshold)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarBorder)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarOuterShadow)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarInnerShadow)).EndInit(); this.groupBoxSizing.ResumeLayout(false); this.groupBoxSizing.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarWidthBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBarGap)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }
private void rctColor6_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { System.Windows.Forms.ColorDialog dialog = new System.Windows.Forms.ColorDialog(); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { rctColor6.Fill = new SolidColorBrush(Color.FromArgb(240, dialog.Color.R, dialog.Color.G, dialog.Color.B)); } }
/// <summary> /// Invoked when the <see cref="addCustomColorMenuItem"/> is clicked. /// </summary> /// <param name="sender">The <see cref="MenuItem"/> where the event handler is attached.</param> /// <param name="e">The event data.</param> private void AddCustomColorMenuItemClick(object sender, RoutedEventArgs e) { ColorDialog dialog = new ColorDialog(); dialog.AnyColor = true; dialog.FullOpen = true; dialog.CustomColors = ColorManager.Instance.AllColors .Where(c => c != Color.DefaultColor) .Select(c => c.ToInt()) .ToArray(); DialogResult result = dialog.ShowDialog(); if (result == DialogResult.OK) { Color color = new Color(dialog.Color.R, dialog.Color.G, dialog.Color.B); ColorManager.Instance.Add(color); this.timerWindow.Options.Color = color; } }
// Phương thức cho phép người dùng chọn một màu từ bảng màu private SolidColorBrush editColor() { System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); colorDialog.FullOpen = true; colorDialog.ShowDialog(); System.Windows.Media.Color color = new System.Windows.Media.Color(); color.A = colorDialog.Color.A; color.B = colorDialog.Color.B; color.G = colorDialog.Color.G; color.R = colorDialog.Color.R; SolidColorBrush colorBrush = new SolidColorBrush(); colorBrush.Color = color; return colorBrush; }
private void Button_Click(object sender, RoutedEventArgs e) { // Instancier une boite de dilogue de Winform System.Windows.Forms.ColorDialog dialogBox = new System.Windows.Forms.ColorDialog(); // Affichage de la boite de dialogue if (dialogBox.ShowDialog() == System.Windows.Forms.DialogResult.OK) { TypeConverter converter = TypeDescriptor.GetConverter(typeof(Brush)); //Converti la couleur en Hexa ((App)App.Current).personnalisation.BackGroundLogScreenColor = (Brush)converter.ConvertFrom(string.Concat("#", (dialogBox.Color.ToArgb() & 0x00FFFFFF).ToString("X6"))); RegistryKey regVersion; regVersion = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Sitaff2011\\1.0", true); regVersion.SetValue("BackGroundLogScreenColor", string.Concat("#", (dialogBox.Color.ToArgb() & 0x00FFFFFF).ToString("X6"))); regVersion.Close(); ((App)App.Current).personnalisation.InitLogScreen(this); } else { } }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormSettings)); this.ButtonOK = new System.Windows.Forms.Button(); this.ButtonCancel = new System.Windows.Forms.Button(); this.TabControlSettings = new System.Windows.Forms.TabControl(); this.TabPageActivity = new System.Windows.Forms.TabPage(); this.ToolStripContainerActivity = new System.Windows.Forms.ToolStripContainer(); this.ToolStripActivity = new System.Windows.Forms.ToolStrip(); this.ToolStripButtonAdd = new System.Windows.Forms.ToolStripButton(); this.ToolStripButtonEdit = new System.Windows.Forms.ToolStripButton(); this.ToolStripButtonDelete = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.ToolStripButtonUp = new System.Windows.Forms.ToolStripButton(); this.ToolStripButtonDown = new System.Windows.Forms.ToolStripButton(); this.ListViewActivity = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.LabelActivity = new System.Windows.Forms.Label(); this.PictureBoxActivity = new System.Windows.Forms.PictureBox(); this.TabPageReminder = new System.Windows.Forms.TabPage(); this.LabelReminder = new System.Windows.Forms.Label(); this.PictureBoxReminder = new System.Windows.Forms.PictureBox(); this.GroupBoxDisplay = new System.Windows.Forms.GroupBox(); this.RadioButtonBalloon = new System.Windows.Forms.RadioButton(); this.RadioButtonSplash = new System.Windows.Forms.RadioButton(); this.GroupBoxSplash = new System.Windows.Forms.GroupBox(); this.LabelSound = new System.Windows.Forms.Label(); this.ButtonBrowseSound = new System.Windows.Forms.Button(); this.CheckBoxSound = new System.Windows.Forms.CheckBox(); this.ButtonSplashBackColor = new System.Windows.Forms.Button(); this.ButtonSplashFont = new System.Windows.Forms.Button(); this.LabelSplashExample = new System.Windows.Forms.Label(); this.TabPageDefaults = new System.Windows.Forms.TabPage(); this.GroupBoxDefaults = new System.Windows.Forms.GroupBox(); this.NumericReminderPost = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.NumericReminderPre = new System.Windows.Forms.NumericUpDown(); this.LabelReminderDuration = new System.Windows.Forms.Label(); this.LabelReminderInterval = new System.Windows.Forms.Label(); this.LabelReminderDurationSeconds = new System.Windows.Forms.Label(); this.NumericReminderDuration = new System.Windows.Forms.NumericUpDown(); this.LabelReminderIntervalMinutes = new System.Windows.Forms.Label(); this.LabelDefaults = new System.Windows.Forms.Label(); this.PictureBoxDefaults = new System.Windows.Forms.PictureBox(); this.TabPageSystemSettings = new System.Windows.Forms.TabPage(); this.GroupBoxApplicationSettings = new System.Windows.Forms.GroupBox(); this.ButtonResetSettings = new System.Windows.Forms.Button(); this.GroupBoxSystemSettings = new System.Windows.Forms.GroupBox(); this.CheckBoxWindowsStartMinimize = new System.Windows.Forms.CheckBox(); this.CheckBoxWindowsStart = new System.Windows.Forms.CheckBox(); this.LabelSystem = new System.Windows.Forms.Label(); this.PictureBoxSystem = new System.Windows.Forms.PictureBox(); this.FitnessTimer = new System.Windows.Forms.Timer(this.components); this.FitnessNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); this.ContextMenuStripNotify = new System.Windows.Forms.ContextMenuStrip(this.components); this.openSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.pauseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resumeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ImageListActivity = new System.Windows.Forms.ImageList(this.components); this.FontDialogSplash = new System.Windows.Forms.FontDialog(); this.ColorDialogSplash = new System.Windows.Forms.ColorDialog(); this.OpenFileDialogSound = new System.Windows.Forms.OpenFileDialog(); this.HelpProviderSettings = new System.Windows.Forms.HelpProvider(); this.TabControlSettings.SuspendLayout(); this.TabPageActivity.SuspendLayout(); this.ToolStripContainerActivity.BottomToolStripPanel.SuspendLayout(); this.ToolStripContainerActivity.ContentPanel.SuspendLayout(); this.ToolStripContainerActivity.SuspendLayout(); this.ToolStripActivity.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxActivity)).BeginInit(); this.TabPageReminder.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxReminder)).BeginInit(); this.GroupBoxDisplay.SuspendLayout(); this.GroupBoxSplash.SuspendLayout(); this.TabPageDefaults.SuspendLayout(); this.GroupBoxDefaults.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderPost)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderPre)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderDuration)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxDefaults)).BeginInit(); this.TabPageSystemSettings.SuspendLayout(); this.GroupBoxApplicationSettings.SuspendLayout(); this.GroupBoxSystemSettings.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxSystem)).BeginInit(); this.ContextMenuStripNotify.SuspendLayout(); this.SuspendLayout(); // // ButtonOK // this.ButtonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ButtonOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.HelpProviderSettings.SetHelpString(this.ButtonOK, "Saves current settings, minimizes the window and starts the reminder timer."); this.ButtonOK.Location = new System.Drawing.Point(150, 358); this.ButtonOK.Name = "ButtonOK"; this.HelpProviderSettings.SetShowHelp(this.ButtonOK, true); this.ButtonOK.Size = new System.Drawing.Size(108, 23); this.ButtonOK.TabIndex = 0; this.ButtonOK.Text = "Save && &Run"; this.ButtonOK.UseVisualStyleBackColor = true; this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click); // // ButtonCancel // this.ButtonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.HelpProviderSettings.SetHelpString(this.ButtonCancel, "Closes the window. If Fitnes Reminder was previously started, it continues withou" + "t saving changes. If Fitness Reminder was just started, Fitness Reminder will ex" + "it."); this.ButtonCancel.Location = new System.Drawing.Point(264, 358); this.ButtonCancel.Name = "ButtonCancel"; this.HelpProviderSettings.SetShowHelp(this.ButtonCancel, true); this.ButtonCancel.Size = new System.Drawing.Size(84, 23); this.ButtonCancel.TabIndex = 1; this.ButtonCancel.Text = "&Cancel"; this.ButtonCancel.UseVisualStyleBackColor = true; this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); // // TabControlSettings // this.TabControlSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TabControlSettings.Controls.Add(this.TabPageActivity); this.TabControlSettings.Controls.Add(this.TabPageReminder); this.TabControlSettings.Controls.Add(this.TabPageDefaults); this.TabControlSettings.Controls.Add(this.TabPageSystemSettings); this.TabControlSettings.Location = new System.Drawing.Point(12, 12); this.TabControlSettings.Name = "TabControlSettings"; this.TabControlSettings.SelectedIndex = 0; this.TabControlSettings.Size = new System.Drawing.Size(336, 339); this.TabControlSettings.TabIndex = 8; // // TabPageActivity // this.TabPageActivity.Controls.Add(this.ToolStripContainerActivity); this.TabPageActivity.Controls.Add(this.LabelActivity); this.TabPageActivity.Controls.Add(this.PictureBoxActivity); this.TabPageActivity.Location = new System.Drawing.Point(4, 22); this.TabPageActivity.Name = "TabPageActivity"; this.TabPageActivity.Padding = new System.Windows.Forms.Padding(3); this.TabPageActivity.Size = new System.Drawing.Size(328, 313); this.TabPageActivity.TabIndex = 0; this.TabPageActivity.Text = "Activity List"; this.TabPageActivity.UseVisualStyleBackColor = true; // // ToolStripContainerActivity // this.ToolStripContainerActivity.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); // // ToolStripContainerActivity.BottomToolStripPanel // this.ToolStripContainerActivity.BottomToolStripPanel.Controls.Add(this.ToolStripActivity); this.ToolStripContainerActivity.BottomToolStripPanel.Tag = "B"; // // ToolStripContainerActivity.ContentPanel // this.ToolStripContainerActivity.ContentPanel.Controls.Add(this.ListViewActivity); this.ToolStripContainerActivity.ContentPanel.Size = new System.Drawing.Size(304, 182); // // ToolStripContainerActivity.LeftToolStripPanel // this.ToolStripContainerActivity.LeftToolStripPanel.Tag = "L"; this.ToolStripContainerActivity.Location = new System.Drawing.Point(11, 67); this.ToolStripContainerActivity.Name = "ToolStripContainerActivity"; // // ToolStripContainerActivity.RightToolStripPanel // this.ToolStripContainerActivity.RightToolStripPanel.Tag = "R"; this.ToolStripContainerActivity.Size = new System.Drawing.Size(304, 232); this.ToolStripContainerActivity.TabIndex = 12; this.ToolStripContainerActivity.Text = "ToolStripContainerActivity"; // // ToolStripContainerActivity.TopToolStripPanel // this.ToolStripContainerActivity.TopToolStripPanel.Tag = "T"; // // ToolStripActivity // this.ToolStripActivity.Dock = System.Windows.Forms.DockStyle.None; this.ToolStripActivity.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripButtonAdd, this.ToolStripButtonEdit, this.ToolStripButtonDelete, this.toolStripSeparator2, this.ToolStripButtonUp, this.ToolStripButtonDown}); this.ToolStripActivity.Location = new System.Drawing.Point(3, 0); this.ToolStripActivity.Name = "ToolStripActivity"; this.ToolStripActivity.Size = new System.Drawing.Size(133, 25); this.ToolStripActivity.TabIndex = 0; // // ToolStripButtonAdd // this.ToolStripButtonAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonAdd.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonAdd.Image"))); this.ToolStripButtonAdd.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonAdd.Name = "ToolStripButtonAdd"; this.ToolStripButtonAdd.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonAdd.Text = "Add Activity."; this.ToolStripButtonAdd.Click += new System.EventHandler(this.ToolStripButtonAdd_Click); // // ToolStripButtonEdit // this.ToolStripButtonEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonEdit.Enabled = false; this.ToolStripButtonEdit.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonEdit.Image"))); this.ToolStripButtonEdit.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonEdit.Name = "ToolStripButtonEdit"; this.ToolStripButtonEdit.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonEdit.Text = "Edit Activity."; this.ToolStripButtonEdit.Click += new System.EventHandler(this.ToolStripButtonEdit_Click); // // ToolStripButtonDelete // this.ToolStripButtonDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonDelete.Enabled = false; this.ToolStripButtonDelete.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonDelete.Image"))); this.ToolStripButtonDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonDelete.Name = "ToolStripButtonDelete"; this.ToolStripButtonDelete.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonDelete.Text = "Delete Activity."; this.ToolStripButtonDelete.Click += new System.EventHandler(this.ToolStripButtonDelete_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // ToolStripButtonUp // this.ToolStripButtonUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonUp.Enabled = false; this.ToolStripButtonUp.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonUp.Image"))); this.ToolStripButtonUp.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonUp.Name = "ToolStripButtonUp"; this.ToolStripButtonUp.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonUp.Text = "Slide activity up."; this.ToolStripButtonUp.Click += new System.EventHandler(this.ToolStripButtonUp_Click); // // ToolStripButtonDown // this.ToolStripButtonDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonDown.Enabled = false; this.ToolStripButtonDown.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonDown.Image"))); this.ToolStripButtonDown.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonDown.Name = "ToolStripButtonDown"; this.ToolStripButtonDown.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonDown.Text = "Slide activity down."; this.ToolStripButtonDown.Click += new System.EventHandler(this.ToolStripButtonDown_Click); // // ListViewActivity // this.ListViewActivity.CheckBoxes = true; this.ListViewActivity.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1}); this.ListViewActivity.Dock = System.Windows.Forms.DockStyle.Fill; this.ListViewActivity.FullRowSelect = true; this.ListViewActivity.GridLines = true; this.ListViewActivity.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.ListViewActivity.Location = new System.Drawing.Point(0, 0); this.ListViewActivity.MultiSelect = false; this.ListViewActivity.Name = "ListViewActivity"; this.ListViewActivity.Size = new System.Drawing.Size(304, 182); this.ListViewActivity.TabIndex = 0; this.ListViewActivity.UseCompatibleStateImageBehavior = false; this.ListViewActivity.View = System.Windows.Forms.View.Details; this.ListViewActivity.SelectedIndexChanged += new System.EventHandler(this.ListViewActivity_SelectedIndexChanged); // // columnHeader1 // this.columnHeader1.Text = "Activity"; this.columnHeader1.Width = 274; // // LabelActivity // this.LabelActivity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LabelActivity.Location = new System.Drawing.Point(65, 13); this.LabelActivity.Name = "LabelActivity"; this.LabelActivity.Size = new System.Drawing.Size(250, 48); this.LabelActivity.TabIndex = 11; this.LabelActivity.Text = "List of activites that the reminder will display. Diplayed in order from top to b" + "ottom. Unchecked items will be skipped."; this.LabelActivity.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // PictureBoxActivity // this.PictureBoxActivity.Image = ((System.Drawing.Image)(resources.GetObject("PictureBoxActivity.Image"))); this.PictureBoxActivity.Location = new System.Drawing.Point(11, 13); this.PictureBoxActivity.Name = "PictureBoxActivity"; this.PictureBoxActivity.Size = new System.Drawing.Size(48, 48); this.PictureBoxActivity.TabIndex = 10; this.PictureBoxActivity.TabStop = false; // // TabPageReminder // this.TabPageReminder.Controls.Add(this.LabelReminder); this.TabPageReminder.Controls.Add(this.PictureBoxReminder); this.TabPageReminder.Controls.Add(this.GroupBoxDisplay); this.TabPageReminder.Controls.Add(this.GroupBoxSplash); this.TabPageReminder.Location = new System.Drawing.Point(4, 22); this.TabPageReminder.Name = "TabPageReminder"; this.TabPageReminder.Padding = new System.Windows.Forms.Padding(3); this.TabPageReminder.Size = new System.Drawing.Size(328, 313); this.TabPageReminder.TabIndex = 1; this.TabPageReminder.Text = "Reminder Settings"; this.TabPageReminder.UseVisualStyleBackColor = true; // // LabelReminder // this.LabelReminder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LabelReminder.Location = new System.Drawing.Point(65, 13); this.LabelReminder.Name = "LabelReminder"; this.LabelReminder.Size = new System.Drawing.Size(250, 48); this.LabelReminder.TabIndex = 17; this.LabelReminder.Text = "The reminder can be displayed in a balloon tip or as a Splash screen. Select the " + "Splash option to tweak the font and the background."; this.LabelReminder.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // PictureBoxReminder // this.PictureBoxReminder.Image = ((System.Drawing.Image)(resources.GetObject("PictureBoxReminder.Image"))); this.PictureBoxReminder.Location = new System.Drawing.Point(11, 13); this.PictureBoxReminder.Name = "PictureBoxReminder"; this.PictureBoxReminder.Size = new System.Drawing.Size(48, 48); this.PictureBoxReminder.TabIndex = 16; this.PictureBoxReminder.TabStop = false; // // GroupBoxDisplay // this.GroupBoxDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.GroupBoxDisplay.Controls.Add(this.RadioButtonBalloon); this.GroupBoxDisplay.Controls.Add(this.RadioButtonSplash); this.GroupBoxDisplay.Location = new System.Drawing.Point(11, 69); this.GroupBoxDisplay.Name = "GroupBoxDisplay"; this.GroupBoxDisplay.Size = new System.Drawing.Size(304, 84); this.GroupBoxDisplay.TabIndex = 14; this.GroupBoxDisplay.TabStop = false; this.GroupBoxDisplay.Text = "Reminder Type"; // // RadioButtonBalloon // this.RadioButtonBalloon.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.HelpProviderSettings.SetHelpString(this.RadioButtonBalloon, "Shows a balloon tip from the tray icon. Warning, delays may occur due to Windows." + " Might even not show at all."); this.RadioButtonBalloon.Location = new System.Drawing.Point(21, 51); this.RadioButtonBalloon.Name = "RadioButtonBalloon"; this.HelpProviderSettings.SetShowHelp(this.RadioButtonBalloon, true); this.RadioButtonBalloon.Size = new System.Drawing.Size(255, 17); this.RadioButtonBalloon.TabIndex = 0; this.RadioButtonBalloon.Text = "Balloon Tip (Notification from Tray Icon)"; this.RadioButtonBalloon.UseVisualStyleBackColor = true; this.RadioButtonBalloon.CheckedChanged += new System.EventHandler(this.RadioButtonBalloon_CheckedChanged); // // RadioButtonSplash // this.RadioButtonSplash.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.RadioButtonSplash.Checked = true; this.HelpProviderSettings.SetHelpString(this.RadioButtonSplash, "Shows a full screen window on all screens containing the activity name."); this.RadioButtonSplash.Location = new System.Drawing.Point(21, 27); this.RadioButtonSplash.Name = "RadioButtonSplash"; this.HelpProviderSettings.SetShowHelp(this.RadioButtonSplash, true); this.RadioButtonSplash.Size = new System.Drawing.Size(255, 17); this.RadioButtonSplash.TabIndex = 1; this.RadioButtonSplash.TabStop = true; this.RadioButtonSplash.Text = "Splash screen (Full screen)"; this.RadioButtonSplash.UseVisualStyleBackColor = true; this.RadioButtonSplash.CheckedChanged += new System.EventHandler(this.RadioButtonSplash_CheckedChanged); // // GroupBoxSplash // this.GroupBoxSplash.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.GroupBoxSplash.Controls.Add(this.LabelSound); this.GroupBoxSplash.Controls.Add(this.ButtonBrowseSound); this.GroupBoxSplash.Controls.Add(this.CheckBoxSound); this.GroupBoxSplash.Controls.Add(this.ButtonSplashBackColor); this.GroupBoxSplash.Controls.Add(this.ButtonSplashFont); this.GroupBoxSplash.Controls.Add(this.LabelSplashExample); this.GroupBoxSplash.Location = new System.Drawing.Point(11, 161); this.GroupBoxSplash.Name = "GroupBoxSplash"; this.GroupBoxSplash.Size = new System.Drawing.Size(304, 129); this.GroupBoxSplash.TabIndex = 16; this.GroupBoxSplash.TabStop = false; this.GroupBoxSplash.Text = "Splash screen options"; // // LabelSound // this.HelpProviderSettings.SetHelpString(this.LabelSound, "Sound file name that will be played when the activity is shown. Click here to hea" + "r an example."); this.LabelSound.Location = new System.Drawing.Point(102, 96); this.LabelSound.Name = "LabelSound"; this.HelpProviderSettings.SetShowHelp(this.LabelSound, true); this.LabelSound.Size = new System.Drawing.Size(83, 17); this.LabelSound.TabIndex = 13; this.LabelSound.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.LabelSound.Click += new System.EventHandler(this.LabelSound_Click); // // ButtonBrowseSound // this.ButtonBrowseSound.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ButtonBrowseSound.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.ButtonBrowseSound.Enabled = false; this.ButtonBrowseSound.Location = new System.Drawing.Point(192, 92); this.ButtonBrowseSound.Name = "ButtonBrowseSound"; this.ButtonBrowseSound.Size = new System.Drawing.Size(90, 23); this.ButtonBrowseSound.TabIndex = 12; this.ButtonBrowseSound.Text = "Bro&wse"; this.ButtonBrowseSound.UseVisualStyleBackColor = true; this.ButtonBrowseSound.Click += new System.EventHandler(this.ButtonBrowseSound_Click); // // CheckBoxSound // this.HelpProviderSettings.SetHelpString(this.CheckBoxSound, "Enable the playback of a sound when the activity is shown."); this.CheckBoxSound.Location = new System.Drawing.Point(21, 97); this.CheckBoxSound.Name = "CheckBoxSound"; this.HelpProviderSettings.SetShowHelp(this.CheckBoxSound, true); this.CheckBoxSound.Size = new System.Drawing.Size(82, 17); this.CheckBoxSound.TabIndex = 11; this.CheckBoxSound.Text = "Play sound"; this.CheckBoxSound.UseVisualStyleBackColor = true; this.CheckBoxSound.CheckedChanged += new System.EventHandler(this.CheckBoxSound_CheckedChanged); // // ButtonSplashBackColor // this.ButtonSplashBackColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ButtonSplashBackColor.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.ButtonSplashBackColor.Location = new System.Drawing.Point(192, 61); this.ButtonSplashBackColor.Name = "ButtonSplashBackColor"; this.ButtonSplashBackColor.Size = new System.Drawing.Size(90, 23); this.ButtonSplashBackColor.TabIndex = 10; this.ButtonSplashBackColor.Text = "Back &color"; this.ButtonSplashBackColor.UseVisualStyleBackColor = true; this.ButtonSplashBackColor.Click += new System.EventHandler(this.ButtonSplashBackColor_Click); // // ButtonSplashFont // this.ButtonSplashFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ButtonSplashFont.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.ButtonSplashFont.Location = new System.Drawing.Point(192, 32); this.ButtonSplashFont.Name = "ButtonSplashFont"; this.ButtonSplashFont.Size = new System.Drawing.Size(90, 23); this.ButtonSplashFont.TabIndex = 9; this.ButtonSplashFont.Text = "&Font"; this.ButtonSplashFont.UseVisualStyleBackColor = true; this.ButtonSplashFont.Click += new System.EventHandler(this.ButtonSplashFont_Click); // // LabelSplashExample // this.LabelSplashExample.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LabelSplashExample.BackColor = System.Drawing.Color.Orange; this.LabelSplashExample.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.LabelSplashExample.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.HelpProviderSettings.SetHelpString(this.LabelSplashExample, "Example of the selected visual style. Click here to see a full screen example."); this.LabelSplashExample.Location = new System.Drawing.Point(21, 32); this.LabelSplashExample.Name = "LabelSplashExample"; this.HelpProviderSettings.SetShowHelp(this.LabelSplashExample, true); this.LabelSplashExample.Size = new System.Drawing.Size(153, 52); this.LabelSplashExample.TabIndex = 0; this.LabelSplashExample.Text = "Example"; this.LabelSplashExample.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.LabelSplashExample.Click += new System.EventHandler(this.LabelSplashExample_Click); // // TabPageDefaults // this.TabPageDefaults.Controls.Add(this.GroupBoxDefaults); this.TabPageDefaults.Controls.Add(this.LabelDefaults); this.TabPageDefaults.Controls.Add(this.PictureBoxDefaults); this.TabPageDefaults.Location = new System.Drawing.Point(4, 22); this.TabPageDefaults.Name = "TabPageDefaults"; this.TabPageDefaults.Padding = new System.Windows.Forms.Padding(3); this.TabPageDefaults.Size = new System.Drawing.Size(328, 313); this.TabPageDefaults.TabIndex = 2; this.TabPageDefaults.Text = "Default Timers"; this.TabPageDefaults.UseVisualStyleBackColor = true; // // GroupBoxDefaults // this.GroupBoxDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.GroupBoxDefaults.Controls.Add(this.NumericReminderPost); this.GroupBoxDefaults.Controls.Add(this.label2); this.GroupBoxDefaults.Controls.Add(this.label3); this.GroupBoxDefaults.Controls.Add(this.NumericReminderPre); this.GroupBoxDefaults.Controls.Add(this.LabelReminderDuration); this.GroupBoxDefaults.Controls.Add(this.LabelReminderInterval); this.GroupBoxDefaults.Controls.Add(this.LabelReminderDurationSeconds); this.GroupBoxDefaults.Controls.Add(this.NumericReminderDuration); this.GroupBoxDefaults.Controls.Add(this.LabelReminderIntervalMinutes); this.GroupBoxDefaults.Location = new System.Drawing.Point(11, 69); this.GroupBoxDefaults.Name = "GroupBoxDefaults"; this.GroupBoxDefaults.Size = new System.Drawing.Size(304, 117); this.GroupBoxDefaults.TabIndex = 16; this.GroupBoxDefaults.TabStop = false; this.GroupBoxDefaults.Text = "Default Reminder Timers"; // // NumericReminderPost // this.NumericReminderPost.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.NumericReminderPost.Location = new System.Drawing.Point(117, 84); this.NumericReminderPost.Maximum = new decimal(new int[] { 600, 0, 0, 0}); this.NumericReminderPost.Name = "NumericReminderPost"; this.NumericReminderPost.Size = new System.Drawing.Size(99, 21); this.NumericReminderPost.TabIndex = 33; this.NumericReminderPost.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.NumericReminderPost.Value = new decimal(new int[] { 5, 0, 0, 0}); // // label2 // this.label2.Location = new System.Drawing.Point(16, 86); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(89, 13); this.label2.TabIndex = 32; this.label2.Text = "Post-Delay :"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label3.Location = new System.Drawing.Point(230, 86); this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(57, 13); this.label3.TabIndex = 34; this.label3.Text = "minutes"; // // NumericReminderPre // this.NumericReminderPre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.NumericReminderPre.Location = new System.Drawing.Point(117, 23); this.NumericReminderPre.Maximum = new decimal(new int[] { 600, 0, 0, 0}); this.NumericReminderPre.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.NumericReminderPre.Name = "NumericReminderPre"; this.NumericReminderPre.Size = new System.Drawing.Size(99, 21); this.NumericReminderPre.TabIndex = 27; this.NumericReminderPre.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.NumericReminderPre.Value = new decimal(new int[] { 10, 0, 0, 0}); // // LabelReminderDuration // this.LabelReminderDuration.Location = new System.Drawing.Point(16, 56); this.LabelReminderDuration.Name = "LabelReminderDuration"; this.LabelReminderDuration.Size = new System.Drawing.Size(89, 13); this.LabelReminderDuration.TabIndex = 29; this.LabelReminderDuration.Text = "Duration :"; this.LabelReminderDuration.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // LabelReminderInterval // this.LabelReminderInterval.Location = new System.Drawing.Point(16, 25); this.LabelReminderInterval.Name = "LabelReminderInterval"; this.LabelReminderInterval.Size = new System.Drawing.Size(89, 13); this.LabelReminderInterval.TabIndex = 26; this.LabelReminderInterval.Text = "Pre-Delay :"; this.LabelReminderInterval.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // LabelReminderDurationSeconds // this.LabelReminderDurationSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.LabelReminderDurationSeconds.Location = new System.Drawing.Point(230, 56); this.LabelReminderDurationSeconds.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.LabelReminderDurationSeconds.Name = "LabelReminderDurationSeconds"; this.LabelReminderDurationSeconds.Size = new System.Drawing.Size(58, 13); this.LabelReminderDurationSeconds.TabIndex = 31; this.LabelReminderDurationSeconds.Text = "seconds"; // // NumericReminderDuration // this.NumericReminderDuration.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.NumericReminderDuration.Increment = new decimal(new int[] { 10, 0, 0, 0}); this.NumericReminderDuration.Location = new System.Drawing.Point(117, 54); this.NumericReminderDuration.Maximum = new decimal(new int[] { 3600, 0, 0, 0}); this.NumericReminderDuration.Minimum = new decimal(new int[] { 5, 0, 0, 0}); this.NumericReminderDuration.Name = "NumericReminderDuration"; this.NumericReminderDuration.Size = new System.Drawing.Size(99, 21); this.NumericReminderDuration.TabIndex = 30; this.NumericReminderDuration.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.NumericReminderDuration.Value = new decimal(new int[] { 30, 0, 0, 0}); // // LabelReminderIntervalMinutes // this.LabelReminderIntervalMinutes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.LabelReminderIntervalMinutes.Location = new System.Drawing.Point(230, 25); this.LabelReminderIntervalMinutes.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.LabelReminderIntervalMinutes.Name = "LabelReminderIntervalMinutes"; this.LabelReminderIntervalMinutes.Size = new System.Drawing.Size(57, 13); this.LabelReminderIntervalMinutes.TabIndex = 28; this.LabelReminderIntervalMinutes.Text = "minutes"; // // LabelDefaults // this.LabelDefaults.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LabelDefaults.Location = new System.Drawing.Point(65, 13); this.LabelDefaults.Name = "LabelDefaults"; this.LabelDefaults.Size = new System.Drawing.Size(250, 48); this.LabelDefaults.TabIndex = 15; this.LabelDefaults.Text = "When creating a new activity in the activity list, these settings will be use as " + "defaults."; this.LabelDefaults.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // PictureBoxDefaults // this.PictureBoxDefaults.Image = ((System.Drawing.Image)(resources.GetObject("PictureBoxDefaults.Image"))); this.PictureBoxDefaults.Location = new System.Drawing.Point(11, 13); this.PictureBoxDefaults.Name = "PictureBoxDefaults"; this.PictureBoxDefaults.Size = new System.Drawing.Size(48, 48); this.PictureBoxDefaults.TabIndex = 14; this.PictureBoxDefaults.TabStop = false; // // TabPageSystemSettings // this.TabPageSystemSettings.Controls.Add(this.GroupBoxApplicationSettings); this.TabPageSystemSettings.Controls.Add(this.GroupBoxSystemSettings); this.TabPageSystemSettings.Controls.Add(this.LabelSystem); this.TabPageSystemSettings.Controls.Add(this.PictureBoxSystem); this.TabPageSystemSettings.Location = new System.Drawing.Point(4, 22); this.TabPageSystemSettings.Name = "TabPageSystemSettings"; this.TabPageSystemSettings.Padding = new System.Windows.Forms.Padding(3); this.TabPageSystemSettings.Size = new System.Drawing.Size(328, 313); this.TabPageSystemSettings.TabIndex = 3; this.TabPageSystemSettings.Text = "System"; this.TabPageSystemSettings.UseVisualStyleBackColor = true; // // GroupBoxApplicationSettings // this.GroupBoxApplicationSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.GroupBoxApplicationSettings.Controls.Add(this.ButtonResetSettings); this.GroupBoxApplicationSettings.Location = new System.Drawing.Point(11, 180); this.GroupBoxApplicationSettings.Name = "GroupBoxApplicationSettings"; this.GroupBoxApplicationSettings.Size = new System.Drawing.Size(304, 60); this.GroupBoxApplicationSettings.TabIndex = 20; this.GroupBoxApplicationSettings.TabStop = false; this.GroupBoxApplicationSettings.Text = "Application settings"; // // ButtonResetSettings // this.ButtonResetSettings.Location = new System.Drawing.Point(55, 25); this.ButtonResetSettings.Name = "ButtonResetSettings"; this.ButtonResetSettings.Size = new System.Drawing.Size(194, 23); this.ButtonResetSettings.TabIndex = 19; this.ButtonResetSettings.Text = "Re&set all settings to defaults"; this.ButtonResetSettings.UseVisualStyleBackColor = true; this.ButtonResetSettings.Click += new System.EventHandler(this.ButtonResetSettings_Click); // // GroupBoxSystemSettings // this.GroupBoxSystemSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.GroupBoxSystemSettings.Controls.Add(this.CheckBoxWindowsStartMinimize); this.GroupBoxSystemSettings.Controls.Add(this.CheckBoxWindowsStart); this.GroupBoxSystemSettings.Location = new System.Drawing.Point(11, 69); this.GroupBoxSystemSettings.Name = "GroupBoxSystemSettings"; this.GroupBoxSystemSettings.Size = new System.Drawing.Size(304, 83); this.GroupBoxSystemSettings.TabIndex = 19; this.GroupBoxSystemSettings.TabStop = false; this.GroupBoxSystemSettings.Text = "System settings"; // // CheckBoxWindowsStartMinimize // this.CheckBoxWindowsStartMinimize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.CheckBoxWindowsStartMinimize.Enabled = false; this.CheckBoxWindowsStartMinimize.Location = new System.Drawing.Point(32, 46); this.CheckBoxWindowsStartMinimize.Name = "CheckBoxWindowsStartMinimize"; this.CheckBoxWindowsStartMinimize.Size = new System.Drawing.Size(255, 17); this.CheckBoxWindowsStartMinimize.TabIndex = 19; this.CheckBoxWindowsStartMinimize.Text = "Automatically run activities (minimized to tray)."; this.CheckBoxWindowsStartMinimize.UseVisualStyleBackColor = true; // // CheckBoxWindowsStart // this.CheckBoxWindowsStart.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.CheckBoxWindowsStart.Location = new System.Drawing.Point(16, 23); this.CheckBoxWindowsStart.Name = "CheckBoxWindowsStart"; this.CheckBoxWindowsStart.Size = new System.Drawing.Size(271, 17); this.CheckBoxWindowsStart.TabIndex = 18; this.CheckBoxWindowsStart.Text = "Automatically start during Windows logon."; this.CheckBoxWindowsStart.UseVisualStyleBackColor = true; this.CheckBoxWindowsStart.CheckedChanged += new System.EventHandler(this.CheckBoxWindowsStart_CheckedChanged); // // LabelSystem // this.LabelSystem.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LabelSystem.Location = new System.Drawing.Point(65, 13); this.LabelSystem.Name = "LabelSystem"; this.LabelSystem.Size = new System.Drawing.Size(250, 48); this.LabelSystem.TabIndex = 17; this.LabelSystem.Text = "Fitness Reminder can be set to start automatically when you logon."; this.LabelSystem.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // PictureBoxSystem // this.PictureBoxSystem.Image = ((System.Drawing.Image)(resources.GetObject("PictureBoxSystem.Image"))); this.PictureBoxSystem.Location = new System.Drawing.Point(11, 13); this.PictureBoxSystem.Name = "PictureBoxSystem"; this.PictureBoxSystem.Size = new System.Drawing.Size(48, 48); this.PictureBoxSystem.TabIndex = 16; this.PictureBoxSystem.TabStop = false; // // FitnessTimer // this.FitnessTimer.Enabled = true; this.FitnessTimer.Interval = 1000; this.FitnessTimer.Tick += new System.EventHandler(this.FitnessTimer_Tick); // // FitnessNotifyIcon // this.FitnessNotifyIcon.ContextMenuStrip = this.ContextMenuStripNotify; this.FitnessNotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("FitnessNotifyIcon.Icon"))); this.FitnessNotifyIcon.Text = "Fitness Reminder"; this.FitnessNotifyIcon.Visible = true; this.FitnessNotifyIcon.DoubleClick += new System.EventHandler(this.FitnessNotifyIcon_DoubleClick); // // ContextMenuStripNotify // this.ContextMenuStripNotify.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openSettingsToolStripMenuItem, this.toolStripSeparator3, this.pauseToolStripMenuItem, this.resumeToolStripMenuItem, this.toolStripSeparator1, this.exitToolStripMenuItem}); this.ContextMenuStripNotify.Name = "ContextMenuStripNotify"; this.ContextMenuStripNotify.Size = new System.Drawing.Size(117, 104); // // openSettingsToolStripMenuItem // this.openSettingsToolStripMenuItem.Name = "openSettingsToolStripMenuItem"; this.openSettingsToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.openSettingsToolStripMenuItem.Text = "Open"; this.openSettingsToolStripMenuItem.Click += new System.EventHandler(this.openSettingsToolStripMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(113, 6); // // pauseToolStripMenuItem // this.pauseToolStripMenuItem.Enabled = false; this.pauseToolStripMenuItem.Name = "pauseToolStripMenuItem"; this.pauseToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.pauseToolStripMenuItem.Text = "Pause"; this.pauseToolStripMenuItem.Click += new System.EventHandler(this.pauseToolStripMenuItem_Click); // // resumeToolStripMenuItem // this.resumeToolStripMenuItem.Name = "resumeToolStripMenuItem"; this.resumeToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.resumeToolStripMenuItem.Text = "Resume"; this.resumeToolStripMenuItem.Visible = false; this.resumeToolStripMenuItem.Click += new System.EventHandler(this.resumeToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(113, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // ImageListActivity // this.ImageListActivity.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageListActivity.ImageStream"))); this.ImageListActivity.TransparentColor = System.Drawing.Color.Transparent; this.ImageListActivity.Images.SetKeyName(0, "Disaster.png"); // // FontDialogSplash // this.FontDialogSplash.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); // // FormSettings // this.AcceptButton = this.ButtonOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.ButtonCancel; this.ClientSize = new System.Drawing.Size(358, 391); this.Controls.Add(this.TabControlSettings); this.Controls.Add(this.ButtonCancel); this.Controls.Add(this.ButtonOK); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.HelpButton = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormSettings"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Fitness Reminder"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormSettings_FormClosing); this.Load += new System.EventHandler(this.FormSettings_Load); this.Shown += new System.EventHandler(this.FormSettings_Shown); this.TabControlSettings.ResumeLayout(false); this.TabPageActivity.ResumeLayout(false); this.ToolStripContainerActivity.BottomToolStripPanel.ResumeLayout(false); this.ToolStripContainerActivity.BottomToolStripPanel.PerformLayout(); this.ToolStripContainerActivity.ContentPanel.ResumeLayout(false); this.ToolStripContainerActivity.ResumeLayout(false); this.ToolStripContainerActivity.PerformLayout(); this.ToolStripActivity.ResumeLayout(false); this.ToolStripActivity.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxActivity)).EndInit(); this.TabPageReminder.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxReminder)).EndInit(); this.GroupBoxDisplay.ResumeLayout(false); this.GroupBoxSplash.ResumeLayout(false); this.TabPageDefaults.ResumeLayout(false); this.GroupBoxDefaults.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderPost)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderPre)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NumericReminderDuration)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxDefaults)).EndInit(); this.TabPageSystemSettings.ResumeLayout(false); this.GroupBoxApplicationSettings.ResumeLayout(false); this.GroupBoxSystemSettings.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxSystem)).EndInit(); this.ContextMenuStripNotify.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(WordProcessor)); this.mainMenu = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusBar = new System.Windows.Forms.StatusStrip(); this.standardToolbar = new System.Windows.Forms.ToolStrip(); this.newToolStripButton = new System.Windows.Forms.ToolStripButton(); this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); this.printToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.cutToolStripButton = new System.Windows.Forms.ToolStripButton(); this.copyToolStripButton = new System.Windows.Forms.ToolStripButton(); this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.undoToolStripSplitButton = new System.Windows.Forms.ToolStripButton(); this.redoToolStripSplitButton = new System.Windows.Forms.ToolStripButton(); this.menuAndToolbarContainer = new System.Windows.Forms.ToolStripContainer(); this.formattingToolbar = new System.Windows.Forms.ToolStrip(); this.toolStripComboBoxFont = new System.Windows.Forms.ToolStripComboBox(); this.toolStripComboBoxFontSize = new System.Windows.Forms.ToolStripComboBox(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButtonBold = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonItalic = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonUnderline = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButtonBullet = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButtonSetBackgroundColor = new System.Windows.Forms.ToolStripButton(); this.openDocumentDialog = new System.Windows.Forms.OpenFileDialog(); this.colorDialogEditorColor = new System.Windows.Forms.ColorDialog(); this.toolStripButtonSetFontColor = new System.Windows.Forms.ToolStripButton(); this.mainMenu.SuspendLayout(); this.standardToolbar.SuspendLayout(); this.menuAndToolbarContainer.TopToolStripPanel.SuspendLayout(); this.menuAndToolbarContainer.SuspendLayout(); this.formattingToolbar.SuspendLayout(); this.SuspendLayout(); // // mainMenu // this.mainMenu.Dock = System.Windows.Forms.DockStyle.None; this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.windowToolStripMenuItem}); this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.MdiWindowListItem = this.windowToolStripMenuItem; this.mainMenu.Name = "mainMenu"; this.mainMenu.Size = new System.Drawing.Size(792, 24); this.mainMenu.TabIndex = 1; this.mainMenu.Text = "Main menu"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.closeToolStripMenuItem, this.toolStripSeparator, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator1, this.printToolStripMenuItem, this.printPreviewToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); this.fileToolStripMenuItem.Text = "&File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image"))); this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.newToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.newToolStripMenuItem.Text = "&New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.NewDocument); // // openToolStripMenuItem // this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image"))); this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.openToolStripMenuItem.Text = "&Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenDocument); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.closeToolStripMenuItem.Text = "&Close"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.CloseDocument); // // toolStripSeparator // this.toolStripSeparator.Name = "toolStripSeparator"; this.toolStripSeparator.Size = new System.Drawing.Size(148, 6); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveDocument); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.saveAsToolStripMenuItem.Text = "Save &As"; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveDocumentAs); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(148, 6); // // printToolStripMenuItem // this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image"))); this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.printToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.printToolStripMenuItem.Text = "&Print"; this.printToolStripMenuItem.Visible = false; this.printToolStripMenuItem.Click += new System.EventHandler(this.PrintDocument); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image"))); this.printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.printPreviewToolStripMenuItem.Text = "Print Pre&view"; this.printPreviewToolStripMenuItem.Visible = false; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.PrintPreviewDocument); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(148, 6); this.toolStripSeparator2.Visible = false; // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(151, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitApplication); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.undoToolStripMenuItem, this.redoToolStripMenuItem, this.toolStripSeparator3, this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator4, this.selectAllToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.editToolStripMenuItem.Text = "&Edit"; // // undoToolStripMenuItem // this.undoToolStripMenuItem.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Undo; this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this.undoToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.undoToolStripMenuItem.Text = "&Undo"; this.undoToolStripMenuItem.Click += new System.EventHandler(this.UndoAction); // // redoToolStripMenuItem // this.redoToolStripMenuItem.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Redo; this.redoToolStripMenuItem.Name = "redoToolStripMenuItem"; this.redoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y))); this.redoToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.redoToolStripMenuItem.Text = "&Redo"; this.redoToolStripMenuItem.Click += new System.EventHandler(this.RedoAction); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(164, 6); // // cutToolStripMenuItem // this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image"))); this.cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.cutToolStripMenuItem.Text = "Cu&t"; this.cutToolStripMenuItem.Click += new System.EventHandler(this.CutText); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image"))); this.copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.copyToolStripMenuItem.Text = "&Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyText); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image"))); this.pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.pasteToolStripMenuItem.Text = "&Paste"; this.pasteToolStripMenuItem.Click += new System.EventHandler(this.PasteText); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(164, 6); // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.selectAllToolStripMenuItem.Text = "Select &All"; this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.SelectAllText); // // windowToolStripMenuItem // this.windowToolStripMenuItem.Name = "windowToolStripMenuItem"; this.windowToolStripMenuItem.Size = new System.Drawing.Size(57, 20); this.windowToolStripMenuItem.Text = "&Window"; // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 444); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(792, 22); this.statusBar.TabIndex = 3; this.statusBar.Text = "Status bar"; // // standardToolbar // this.standardToolbar.Dock = System.Windows.Forms.DockStyle.None; this.standardToolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripButton, this.openToolStripButton, this.saveToolStripButton, this.printToolStripButton, this.toolStripSeparator7, this.cutToolStripButton, this.copyToolStripButton, this.pasteToolStripButton, this.toolStripSeparator8, this.undoToolStripSplitButton, this.redoToolStripSplitButton}); this.standardToolbar.Location = new System.Drawing.Point(0, 24); this.standardToolbar.Name = "standardToolbar"; this.standardToolbar.Size = new System.Drawing.Size(792, 25); this.standardToolbar.Stretch = true; this.standardToolbar.TabIndex = 6; this.standardToolbar.Text = "Standard toolbar"; // // newToolStripButton // this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image"))); this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.newToolStripButton.Name = "newToolStripButton"; this.newToolStripButton.Size = new System.Drawing.Size(23, 22); this.newToolStripButton.Text = "&New"; this.newToolStripButton.Click += new System.EventHandler(this.NewDocument); // // openToolStripButton // this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image"))); this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.openToolStripButton.Name = "openToolStripButton"; this.openToolStripButton.Size = new System.Drawing.Size(23, 22); this.openToolStripButton.Text = "&Open"; this.openToolStripButton.Click += new System.EventHandler(this.OpenDocument); // // saveToolStripButton // this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image"))); this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveToolStripButton.Name = "saveToolStripButton"; this.saveToolStripButton.Size = new System.Drawing.Size(23, 22); this.saveToolStripButton.Text = "&Save"; this.saveToolStripButton.Click += new System.EventHandler(this.SaveDocument); // // printToolStripButton // this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image"))); this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripButton.Name = "printToolStripButton"; this.printToolStripButton.Size = new System.Drawing.Size(23, 22); this.printToolStripButton.Text = "&Print"; this.printToolStripButton.Click += new System.EventHandler(this.PrintDocument); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); // // cutToolStripButton // this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image"))); this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.cutToolStripButton.Name = "cutToolStripButton"; this.cutToolStripButton.Size = new System.Drawing.Size(23, 22); this.cutToolStripButton.Text = "C&ut"; this.cutToolStripButton.Click += new System.EventHandler(this.CutText); // // copyToolStripButton // this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image"))); this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyToolStripButton.Name = "copyToolStripButton"; this.copyToolStripButton.Size = new System.Drawing.Size(23, 22); this.copyToolStripButton.Text = "&Copy"; this.copyToolStripButton.Click += new System.EventHandler(this.CopyText); // // pasteToolStripButton // this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image"))); this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteToolStripButton.Name = "pasteToolStripButton"; this.pasteToolStripButton.Size = new System.Drawing.Size(23, 22); this.pasteToolStripButton.Text = "&Paste"; this.pasteToolStripButton.Click += new System.EventHandler(this.PasteText); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25); // // undoToolStripSplitButton // this.undoToolStripSplitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.undoToolStripSplitButton.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Undo; this.undoToolStripSplitButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.undoToolStripSplitButton.Name = "undoToolStripSplitButton"; this.undoToolStripSplitButton.Size = new System.Drawing.Size(23, 22); this.undoToolStripSplitButton.Text = "Undo"; this.undoToolStripSplitButton.MouseEnter += new System.EventHandler(this.UndoToolStripSplitButton_MouseEnter); this.undoToolStripSplitButton.Click += new System.EventHandler(this.UndoAction); // // redoToolStripSplitButton // this.redoToolStripSplitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.redoToolStripSplitButton.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Redo; this.redoToolStripSplitButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.redoToolStripSplitButton.Name = "redoToolStripSplitButton"; this.redoToolStripSplitButton.Size = new System.Drawing.Size(23, 22); this.redoToolStripSplitButton.Text = "Redo"; this.redoToolStripSplitButton.MouseEnter += new System.EventHandler(this.RedoToolStripSplitButton_MouseEnter); this.redoToolStripSplitButton.Click += new System.EventHandler(this.RedoAction); // // menuAndToolbarContainer // this.menuAndToolbarContainer.BottomToolStripPanelVisible = false; // // menuAndToolbarContainer.ContentPanel // this.menuAndToolbarContainer.ContentPanel.Size = new System.Drawing.Size(792, 0); this.menuAndToolbarContainer.Dock = System.Windows.Forms.DockStyle.Top; this.menuAndToolbarContainer.LeftToolStripPanelVisible = false; this.menuAndToolbarContainer.Location = new System.Drawing.Point(0, 0); this.menuAndToolbarContainer.Name = "menuAndToolbarContainer"; this.menuAndToolbarContainer.RightToolStripPanelVisible = false; this.menuAndToolbarContainer.Size = new System.Drawing.Size(792, 74); this.menuAndToolbarContainer.TabIndex = 7; this.menuAndToolbarContainer.Text = "toolStripContainer1"; // // menuAndToolbarContainer.TopToolStripPanel // this.menuAndToolbarContainer.TopToolStripPanel.Controls.Add(this.mainMenu); this.menuAndToolbarContainer.TopToolStripPanel.Controls.Add(this.standardToolbar); this.menuAndToolbarContainer.TopToolStripPanel.Controls.Add(this.formattingToolbar); // // formattingToolbar // this.formattingToolbar.Dock = System.Windows.Forms.DockStyle.None; this.formattingToolbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripComboBoxFont, this.toolStripComboBoxFontSize, this.toolStripSeparator10, this.toolStripButtonBold, this.toolStripButtonItalic, this.toolStripButtonUnderline, this.toolStripSeparator6, this.toolStripButtonBullet, this.toolStripSeparator5, this.toolStripButtonSetFontColor, this.toolStripButtonSetBackgroundColor}); this.formattingToolbar.Location = new System.Drawing.Point(0, 49); this.formattingToolbar.Name = "formattingToolbar"; this.formattingToolbar.Size = new System.Drawing.Size(792, 25); this.formattingToolbar.Stretch = true; this.formattingToolbar.TabIndex = 9; this.formattingToolbar.Text = "Formatting toolbar"; // // toolStripComboBoxFont // this.toolStripComboBoxFont.Name = "toolStripComboBoxFont"; this.toolStripComboBoxFont.Size = new System.Drawing.Size(121, 25); this.toolStripComboBoxFont.Text = "Microsoft Sans Serif"; this.toolStripComboBoxFont.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxFont_SelectedIndexChanged); // // toolStripComboBoxFontSize // this.toolStripComboBoxFontSize.Items.AddRange(new object[] { "8", "9", "10", "11", "12", "14", "16", "18", "20", "22", "24", "26", "28", "36", "48", "72"}); this.toolStripComboBoxFontSize.Name = "toolStripComboBoxFontSize"; this.toolStripComboBoxFontSize.Size = new System.Drawing.Size(75, 25); this.toolStripComboBoxFontSize.Text = "8.25"; this.toolStripComboBoxFontSize.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxFontSize_SelectedIndexChanged); // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Size = new System.Drawing.Size(6, 25); // // toolStripButtonBold // this.toolStripButtonBold.CheckOnClick = true; this.toolStripButtonBold.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButtonBold.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Bold; this.toolStripButtonBold.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonBold.Name = "toolStripButtonBold"; this.toolStripButtonBold.Size = new System.Drawing.Size(23, 22); this.toolStripButtonBold.Text = "Bold"; this.toolStripButtonBold.Click += new System.EventHandler(this.ToolStripButtonBold_Click); // // toolStripButtonItalic // this.toolStripButtonItalic.CheckOnClick = true; this.toolStripButtonItalic.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButtonItalic.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Italic; this.toolStripButtonItalic.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonItalic.Name = "toolStripButtonItalic"; this.toolStripButtonItalic.Size = new System.Drawing.Size(23, 22); this.toolStripButtonItalic.Text = "Italic"; this.toolStripButtonItalic.Click += new System.EventHandler(this.ToolStripButtonItalic_Click); // // toolStripButtonUnderline // this.toolStripButtonUnderline.CheckOnClick = true; this.toolStripButtonUnderline.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButtonUnderline.Image = global::IntermediateCSharp.Lesson09.Properties.Resources.Underline; this.toolStripButtonUnderline.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonUnderline.Name = "toolStripButtonUnderline"; this.toolStripButtonUnderline.Size = new System.Drawing.Size(23, 22); this.toolStripButtonUnderline.Text = "Underlined"; this.toolStripButtonUnderline.Click += new System.EventHandler(this.ToolStripButtonUnderline_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); // // toolStripButtonBullet // this.toolStripButtonBullet.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButtonBullet.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonBullet.Image"))); this.toolStripButtonBullet.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonBullet.Name = "toolStripButtonBullet"; this.toolStripButtonBullet.Size = new System.Drawing.Size(49, 22); this.toolStripButtonBullet.Text = "Bulleted"; this.toolStripButtonBullet.Click += new System.EventHandler(this.ToolStripButtonBullet_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripButtonSetBackgroundColor // this.toolStripButtonSetBackgroundColor.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSetBackgroundColor.Image"))); this.toolStripButtonSetBackgroundColor.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonSetBackgroundColor.Name = "toolStripButtonSetBackgroundColor"; this.toolStripButtonSetBackgroundColor.Size = new System.Drawing.Size(128, 22); this.toolStripButtonSetBackgroundColor.Text = "Set background color"; this.toolStripButtonSetBackgroundColor.Click += new System.EventHandler(this.ToolStripButtonSetBackgroundColor_Click); // // openDocumentDialog // this.openDocumentDialog.DefaultExt = "rtf"; this.openDocumentDialog.Filter = "Rich Text Format (*.rtf)|*.rtf|Text Files (*.txt)|*.txt|Unicode Text Files (*.txt" + ")|*.txt"; this.openDocumentDialog.Title = "Open document"; // // colorDialogEditorColor // this.colorDialogEditorColor.AnyColor = true; this.colorDialogEditorColor.Color = System.Drawing.Color.White; this.colorDialogEditorColor.FullOpen = true; this.colorDialogEditorColor.ShowHelp = true; // // toolStripButtonSetFontColor // this.toolStripButtonSetFontColor.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSetFontColor.Image"))); this.toolStripButtonSetFontColor.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonSetFontColor.Name = "toolStripButtonSetFontColor"; this.toolStripButtonSetFontColor.Size = new System.Drawing.Size(92, 22); this.toolStripButtonSetFontColor.Text = "Set font color"; this.toolStripButtonSetFontColor.Click += new System.EventHandler(this.ToolStripButtonSetFontColor_Click); // // WordProcessorMainGui // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(792, 466); this.Controls.Add(this.menuAndToolbarContainer); this.Controls.Add(this.statusBar); this.IsMdiContainer = true; this.MainMenuStrip = this.mainMenu; this.Name = "WordProcessorMainGui"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Word Processor"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.OnWordProcessorLoad); this.mainMenu.ResumeLayout(false); this.mainMenu.PerformLayout(); this.standardToolbar.ResumeLayout(false); this.standardToolbar.PerformLayout(); this.menuAndToolbarContainer.TopToolStripPanel.ResumeLayout(false); this.menuAndToolbarContainer.TopToolStripPanel.PerformLayout(); this.menuAndToolbarContainer.ResumeLayout(false); this.menuAndToolbarContainer.PerformLayout(); this.formattingToolbar.ResumeLayout(false); this.formattingToolbar.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }