/// <summary>
        /// Променя цвета на контура на селектиран елемент.
        /// </summary>
        public void ChangeBorderColor()
        {
            ColorDialog palete = new ColorDialog();

            if (palete.ShowDialog() == DialogResult.OK)
            {
                if (SelectedItem != null && SelectedItem.isGroup == false)
                {
                    SelectedItem.BorderColor = palete.Color;
                }

                if (SelectedItem != null && SelectedItem.isGroup == true)
                {
                    ChangeCascadeBorderColor(SelectedItem, palete.Color);
                }

                foreach (Shape figure in ObjectsDrawn)
                {
                    if (figure.Selected)
                    {
                        ObjectsDrawn[ObjectsDrawn.IndexOf(figure)].BorderColor = palete.Color; ;
                    }
                    if (figure.isGroup)
                    {
                        ChangeCascadeBorderColor(figure, palete.Color);
                    }
                }
            }
        }
        public StockIndicatorSelectorDlg(Dictionary<string, List<string>> theme)
        {
            InitializeComponent();
             colorDlg = new ColorDialog();
             colorDlg.AllowFullOpen = true;
             colorDlg.CustomColors = this.GetCustomColors();

             this.theme = theme;

             this.treeView1.ImageList = new ImageList();
             this.treeView1.ImageList.Images.Add("CURVE", Resources.Curve);
             this.treeView1.ImageList.Images.Add("CHART", Resources.Chart);
             this.treeView1.ImageList.Images.Add("SR", Resources.SR);
             this.treeView1.ImageList.Images.Add("Trail", Resources.trail);
             this.treeView1.ImageList.Images.Add("PB", Resources.PaintBar);
             this.treeView1.ImageList.Images.Add("VH", Resources.VolumeHistogram);
             this.treeView1.ImageList.Images.Add("LINE", Resources.Line);
             this.treeView1.ImageList.Images.Add("DECO", Resources.Decorator);

             this.groupBoxList.Add(indicatorConfigBox);
             this.groupBoxList.Add(curveConfigBox);
             this.groupBoxList.Add(lineConfigBox);
             this.groupBoxList.Add(graphConfigBox);
             this.groupBoxList.Add(paintBarGroupBox);
             this.groupBoxList.Add(trailStopGroupBox);

             suspendPreview = false;
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            ColorDialog cd = new ColorDialog();
            if(cd.ShowDialog()==DialogResult.OK){
                Color c = cd.Color;//color struct
                if (c.IsNamedColor) MessageBox.Show(c.Name);//get name of color, no name for custom colors.
                if (c.IsKnownColor) { MessageBox.Show(c.ToKnownColor().ToString()); }//show name of windows default colors
                //KnownColor.ActiveBorder;//enum of known colors in list

                Color co = Color.MintCream;//can set to a color.
                MessageBox.Show(co.Name);

                Color cr = Color.FromKnownColor(KnownColor.ActiveBorder);//pick color from knowncolor enum
                //MessageBox.Show(cr.Name);both works my version
                MessageBox.Show(cr.ToKnownColor().ToString());

                //color into a 32bit int, alpha, red, green, blue, gives hex or color.
                MessageBox.Show(cr.ToArgb().ToString("x")); //aabbccdd: aa = alpha, bb = red, cc = grean, dd = blue

                //change hex color to a color
                Color cc = Color.Black;
                int i = cc.ToArgb();
                Color b = Color.FromArgb(i);
                button1.BackColor = b;
            }
        }
Example #4
0
        private void LoadColorDialog(object sender, EventArgs eventArgs)
        {
            var btn = sender as Button;

            if (btn == null) return;

            var colorDiag = new ColorDialog
            {
                AnyColor = true,
                SolidColorOnly = true
            };

            if (colorDiag.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            if (btn == GoBtn) RadarSettings.Colors.GameObject = colorDiag.Color;
            if (btn == MeBtn) RadarSettings.Colors.PlayerMe = colorDiag.Color;
            if (btn == PetsBtn) RadarSettings.Colors.Pet = colorDiag.Color;
            if (btn == PetsDeadBtn) RadarSettings.Colors.PetDead = colorDiag.Color;
            if (btn == PlayersDeadBtn) RadarSettings.Colors.PlayerDead = colorDiag.Color;
            if (btn == PlayersOppBtn) RadarSettings.Colors.PlayerOpposing = colorDiag.Color;
            if (btn == PlayersSameBtn) RadarSettings.Colors.PlayerSame = colorDiag.Color;
            if (btn == RadarBtn) RadarSettings.Colors.Radar = colorDiag.Color;
            if (btn == TargetBtn) RadarSettings.Colors.Target = colorDiag.Color;
            if (btn == TargetDeadBtn) RadarSettings.Colors.TargetDead = colorDiag.Color;
            if (btn == UnitsBtn) RadarSettings.Colors.Unit = colorDiag.Color;
            if (btn == UnitsDeadBtn) RadarSettings.Colors.UnitDead = colorDiag.Color;

            btn.BackColor = colorDiag.Color;
        }
		private void SaveDefinedCustomColors(ColorDialog colorDialog)
		{
			if (colorDialog.CustomColors != null && colorDialog.CustomColors.Any())
			{
				customColors = colorDialog.CustomColors;
			}
		}
 private void m_colorBox_Click(object sender, EventArgs e)
 {
     if (PropertyModel != null)
     {
         ColorDialog dialog = new ColorDialog();
         PlayCanvas.Color color = PropertyModel.Data<PlayCanvas.Color>();
         dialog.Color = Color.FromArgb(
             0,
             (int)(color.R * 255.0f),
             (int)(color.G * 255.0f),
             (int)(color.B * 255.0f)
             );
         if (dialog.ShowDialog() == DialogResult.OK)
         {
             color = new PlayCanvas.Color(
                 (float)dialog.Color.R / 255.0f,
                 (float)dialog.Color.G / 255.0f,
                 (float)dialog.Color.B / 255.0f,
                 color.A
                 );
             PropertyModel.Data<PlayCanvas.Color>(color);
             UpdateEditor();
         }
     }
 }
Example #7
0
 public FormMain()
 {
     InitializeComponent();
     float screenWidth = Screen.PrimaryScreen.Bounds.Width;
     float screenHeight = Screen.PrimaryScreen.Bounds.Height;
     width_ratio = (screenWidth / this.Width);
     height_ratio = (screenHeight / this.Height);
     SizeF scale = new SizeF(width_ratio, height_ratio);
     //pbMain.Scale(scale);
     //this.Size = pbMain.Size;
     foreach (Control control in this.Controls)
     {
         if (control.Name == "pbMain")
             continue;
         control.Scale(scale);
     }
     foreach (Control control in this.Controls)
     {
         control.Font = new Font(control.Font.Name, control.Font.SizeInPoints * height_ratio * width_ratio, control.Font.Style);
     }
     level = new Level(pbMain.Width, pbMain.Height);
     DrawBoard();
     bPen = new Pen(Color.Black);
     blackBrush = new SolidBrush(Color.Black);
     blueBrush = new SolidBrush(Color.Blue);
     redBrush = new SolidBrush(Color.Red);
     whiteBrush = new SolidBrush(Color.White);
     myBrush = new SolidBrush(Color.Black);
     colorDialog = new ColorDialog();
     myImage = new Bitmap(pbMain.Width, pbMain.Height);
 }
        public FormMain()
        {
            InitializeComponent();

            cdialog = new ColorDialog();

            cdialog.Color = GraphicCore.NormalDotColor.Color;
            toolStripTextBoxCohenSutherlandFarbe.BackColor = cdialog.Color;

            dialog = new SaveFileDialog();
            dialog.RestoreDirectory = true;
            dialog.InitialDirectory = Environment.CurrentDirectory;
            dialog.OverwritePrompt = true;
            dialog.Filter = " Bitmaps (*.bmp)|*.bmp|All Files (*.*)|*.*";
            dialog.Title = "Save as Bitmap";

            //Textdateien (*.txt)|*.txt|Alle Dateien (*.*)|*.*"

            toolStripTextBoxCohenSutherlandOpacity.LostFocus += new EventHandler(toolStripTextBoxCohenSutherlandOpacity_LostFocus);
            toolStripTextBoxDotRadius.LostFocus += new EventHandler(toolStripTextBoxDotRadius_LostFocus);

            lvLogger.Columns.Add(new ColumnHeader() { Text = "Position", Width = 100 });
            lvLogger.Columns.Add(new ColumnHeader() { Text = "Outcode", Width = 70 });
            lvLogger.Columns.Add(new ColumnHeader() { Text = "Marked", Width = 70 });

            logic = new Logic(this.pbStage, this, lvLogger);

            logic.OnVectorClicked += new Action<Vector>(logic_OnVectorClicked);

            drawPointsToolStripMenuItem_Click(this, new EventArgs());

            lvLogger.HideSelection = false; //to show selection even if listview lost focus

            lvLogger.Focus();
        }
Example #9
0
 private void btn_Click(object sender, EventArgs e)
 {
     Button btn = sender as Button;
     if (btn == btnOtherColor)// 其他颜色
     {
         this.Deactivate -= new EventHandler(ColorPicker_Deactivate);// 取消因失去焦点而消失
         ColorDialog colorDialog = new ColorDialog();
         if (colorDialog.ShowDialog() == DialogResult.OK)
         {
             selectedColor = colorDialog.Color;
         }
         colorDialog.Dispose();
         SelectedColorChanged(selectedColor, EventArgs.Empty);
     }
     else if (btn == btnScreenColor)// 屏幕取色
     {
         this.Deactivate -= new EventHandler(ColorPicker_Deactivate);// 取消因失去焦点而消失
         GetScreenColorForm gscf = new GetScreenColorForm();
         if (gscf.ShowDialog() == DialogResult.OK)
         {
             selectedColor = gscf.SelectColor;
         }
         gscf.Dispose();
         SelectedColorChanged(selectedColor, EventArgs.Empty);
     }
     else if (btn != null)// 色块
     {
         selectedColor = btn.BackColor;
         SelectedColorChanged(selectedColor, EventArgs.Empty);
     }
 }
Example #10
0
        public static int selectcolor(OptsType opts, ArgsType args)
        {
            ColorDialog d = new ColorDialog();

              if (opts.ContainsKey("solid")) {
            d.SolidColorOnly = true;
              }
              if (opts.ContainsKey("full")) {
            d.AllowFullOpen = true;
              }
              else {
            d.AllowFullOpen = false;
              }

              if (d.ShowDialog() != DialogResult.OK) {
            return 1;
              }

              if (d.Color.IsKnownColor) {
            Console.Out.WriteLine(d.Color.ToString());
              }
              else {
            byte r = d.Color.R;
            byte g = d.Color.G;
            byte b = d.Color.B;
            Console.Out.WriteLine(String.Format("#{0,2:x2}{1,2:x2}{2,2:x2}", r, g, b));
              }

              return 0;
        }
        private void ColorPanel_OnMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            var panel = sender as Border;
            if (panel == null) return;

            var colorDialog = new ColorDialog
            {
                Color = GetColor(panel.Background as SolidColorBrush),
                FullOpen = true
            };
            if (colorDialog.ShowDialog() != DialogResult.OK) return;

            var hexString = StringUtil.GetHexValue(colorDialog.Color);
            var settings = DataContext as Settings;
            if (settings == null) return;

            if (panel.Name == "CitationTextBoxColorPanel")
            {
                settings.CitationTextBoxColor = hexString;
            }
            else if (panel.Name == "CitationFontColorPanel")
            {
                settings.CitationFontColor = hexString;
            }
        }
Example #12
0
 private void backgroundToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ColorDialog backgroundColor = new ColorDialog();
     if (backgroundColor.ShowDialog() == DialogResult.OK){
         notepad_interface.BackColor = backgroundColor.Color;
     }
 }
Example #13
0
 private void pColor_MouseClick(object sender, MouseEventArgs e)
 {
     ColorDialog dlg = new ColorDialog();
     dlg.Color = UserColor;
     if (dlg.ShowDialog() == DialogResult.OK)
         UserColor = dlg.Color;
 }
        public override void Execute(object @object)
        {
            if (!Enabled)
            {
                return;
            }

            if (EditorObserver.ActiveEditor == null)
            {
                return;
            }

            using (var cd = new ColorDialog())
            {
                if (cd.ShowDialog(EditorObserver.DialogOwner) == DialogResult.OK)
                {
                    try
                    {
                        EditorObserver.ActiveEditor.SetBackColor(cd.Color);
                    }
                    catch (Exception exception)
                    {
                        ExceptionManager.Instance.LogException(exception);
                        UIHelper.ShowMessage(operationCantBePerformedMessage,
                            MessageBoxButtons.OK, MessageBoxIcon.Error);
                    }
                }
            }
        }
Example #15
0
 private void buttonColor_MouseClick(object sender, MouseEventArgs e)
 {
     ColorDialog diag = new ColorDialog();
     diag.ShowDialog();
     Color col = diag.Color;
     _matColor = new Microsoft.Xna.Framework.Graphics.Color(col.R, col.G, col.B, trackBarAlpha.Value);
 }
Example #16
0
        public override void OnClick()
        {
            IRasterLayer     raslyr = m_mapControl.CustomProperty as IRasterLayer;
            IFeatureLayer    fealyr = m_mapControl.CustomProperty as IFeatureLayer;

            if (raslyr != null )
            {
                //LayerHelper.SetLayerColor(raslyr);
                //LayerHelper.ShowLayerAttribute(raslyr);
                //m_mapControl.Refresh(esriViewDrawPhase.esriViewGeography, null, null);
            }
            else
            {
                IGeoFeatureLayer geolyr = fealyr as IGeoFeatureLayer;

                ColorDialog clrDlg = new ColorDialog();

                if (clrDlg.ShowDialog() == DialogResult.OK)
                {
                    LayerHelper.SetLayerColor(geolyr, clrDlg.Color.R, clrDlg.Color.G, clrDlg.Color.B);

                    m_mapControl.Refresh(esriViewDrawPhase.esriViewGeography, null, null);
                }
            }
        }
Example #17
0
        public Form1()
        {
            InitializeComponent();
            Text = String.Format("{0} {1}", AboutBox1.AssemblyTitle, AboutBox1.AssemblyVersion);
            this.pathOfVtk = Directory.GetCurrentDirectory();

            GraphicsInitialization();
            EffectsInitialization();

            nodes = new Nodes();
            dataToRender = new DataToRender(this);
 
            Rotation = Matrix.RotationX(angleY) * Matrix.RotationY(angleX);
            viewMatrix = Matrix.LookAtRH(new Vector3(0, 0, -3.5f), new Vector3(0, 0, 0), new Vector3(0, 1, 0));

            aTimer = new System.Timers.Timer();
            aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
            aTimer.Interval = 800;
            aTimer.Enabled = true;

            colorDialog = new ColorDialog();
            colorDialog.Color = System.Drawing.Color.Red;
            StatusInfo = "No data loaded";
            toolStripProgressBar1.Value = 0;
            bielePozadieToolStripMenuItem.Checked = false;
            panel1.Resize += (sender, args) => resized = true;

            Configuration.EnableObjectTracking = false;
            resized = true;
            render = true;
        }
Example #18
0
        private void btnFillColor_Click(object sender, EventArgs e)
        {
            ColorDialog colorDialog = new ColorDialog();
            DialogResult result = colorDialog.ShowDialog();
            if (result == DialogResult.OK)
            {
                btnFillColor.BackColor = colorDialog.Color;

                ISymbol pSymbol = m_styleGalleryItem.Item as ISymbol;
                if (pSymbol == null) return;

                if (pSymbol is IMarkerSymbol)
                {
                    IMarkerSymbol markerSymbol = pSymbol as IMarkerSymbol;
                    markerSymbol.Color = GetRGBColor(colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B);
                }
                else if (pSymbol is ILineSymbol)
                {
                    ILineSymbol lineSymbol = pSymbol as ILineSymbol;
                    lineSymbol.Color = GetRGBColor(colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B);
                }
                else if (pSymbol is IFillSymbol)
                {
                    IFillSymbol fillSymbol = pSymbol as IFillSymbol;
                    fillSymbol.Color = GetRGBColor(colorDialog.Color.R, colorDialog.Color.G, colorDialog.Color.B);
                }
                else
                    return;

                PreviewImage();
            }
        }
Example #19
0
 private void OpenColorPicker(object sender, EventArgs e)
 {
     var spl = _textBox.Text.Split(' ');
     float r = 0, g = 0, b = 0;
     if (spl.Length >= 3)
     {
         float.TryParse(spl[0], NumberStyles.Float, CultureInfo.InvariantCulture, out r);
         float.TryParse(spl[1], NumberStyles.Float, CultureInfo.InvariantCulture, out g);
         float.TryParse(spl[2], NumberStyles.Float, CultureInfo.InvariantCulture, out b);
     }
     r *= 255;
     g *= 255;
     b *= 255;
     using (var cd = new ColorDialog { Color = Color.FromArgb((int)r, (int)g, (int)b) })
     {
         if (cd.ShowDialog() == DialogResult.OK)
         {
             r = cd.Color.R / 255f;
             g = cd.Color.G / 255f;
             b = cd.Color.B / 255f;
             if (spl.Length < 3) spl = new string[3];
             spl[0] = r.ToString(CultureInfo.InvariantCulture);
             spl[1] = g.ToString(CultureInfo.InvariantCulture);
             spl[2] = b.ToString(CultureInfo.InvariantCulture);
             _textBox.Text = String.Join(" ", spl);
         }
     }
 }
		private void ApplyCustomColors(ColorDialog colorDialog)
		{
			if (customColors != null && customColors.Any())
			{
				colorDialog.CustomColors = customColors;
			}
		}
 private void panelColor_MouseClick(object sender, MouseEventArgs e)
 {
     ColorDialog ColorPicker = new ColorDialog();
     if(ColorPicker.ShowDialog() != DialogResult.OK) return;
     panelColor.BackColor = ColorPicker.Color;
     panelColor.Refresh();
 }
Example #22
0
 void HandleColorButtonClick(object sender, EventArgs e)
 {
     ColorDialog colorDialog = new ColorDialog();
     colorDialog.Color =m_Button.BackColor;
     DialogResult dr = colorDialog.ShowDialog();
     m_Button.BackColor = colorDialog.Color;
 }
Example #23
0
 public void btnKolor_Click(object sender, EventArgs e)
 {
     ColorDialog dialog = new ColorDialog();
     dialog.Color = lblKolor.BackColor;
     dialog.ShowDialog();
     lblKolor.BackColor = dialog.Color;
 }
Example #24
0
        public TgcColorModifier(string varName, Color defaultValue)
            : base(varName)
        {
            colorPanel = new FlowLayoutPanel();
            colorPanel.Margin = new Padding(0);
            colorPanel.AutoSize = true;
            colorPanel.FlowDirection = FlowDirection.LeftToRight;
            
            colorLabel = new Label();
            colorLabel.Margin = new Padding(0);
            colorLabel.Size = new Size(80, 40);
            colorLabel.BackColor = defaultValue;
            colorLabel.BorderStyle = BorderStyle.FixedSingle;
            colorLabel.Click += new EventHandler(colorButton_click);

            colorPanel.Controls.Add(colorLabel);

            colorDialog = new ColorDialog();
            colorDialog.Color = defaultValue;
            colorDialog.AllowFullOpen = true;
            colorDialog.AnyColor = true;
            colorDialog.FullOpen = true;


            contentPanel.Controls.Add(colorPanel);
        }
Example #25
0
 private void panelFor3DBackColor_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     ColorDialog CD = new ColorDialog();
     CD.Color = panelFor3DBackColor.BackColor;
     if (CD.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
     panelFor3DBackColor.BackColor = CD.Color;
 }
Example #26
0
        public Form1()
        {
            InitializeComponent();
            cd = new ColorDialog();
            ld = new SHMUP.Screens.Levels.LevelManager.LevelData();
            sfd = new SaveFileDialog();
            sfd.Filter = "SHMUP Level File (*.lvl)|*.lvl";
            ofd = new OpenFileDialog();
            ofd.Filter = "SHMUP Level File (*.lvl)|*.lvl";

            //for (int i = 0; i < (int)SHMUP.Screens.Levels.LevelManager.bosses.ZZZEndOfList; i++)
            //{
            //    comBossType.Items.Add((SHMUP.Screens.Levels.LevelManager.bosses)i);
            //}

            string appPath = Application.ExecutablePath.Remove(Application.ExecutablePath.LastIndexOf(Path.DirectorySeparatorChar));

            String[] bosses = Directory.GetFiles(Path.Combine(Path.Combine(appPath, "Content"), "Bosses"), "*.bos");

            for (int i = 0; i < bosses.Length; i++)
            {
                bosses[i] = bosses[i].Remove(0, Path.Combine(Path.Combine(appPath, "Content"), "Bosses").Length + 1);
                bosses[i] = bosses[i].Remove(bosses[i].LastIndexOf(".bos"));
                comBossType.Items.Add(bosses[i]);
            }

            for (int i = 0; i < (int)SHMUP.Screens.Levels.LevelManager.enemies.ZZZEndOfList; i++)
            {
                comEnemyType.Items.Add((SHMUP.Screens.Levels.LevelManager.enemies)i);
            }

            ClearAll();
        }
 private void colorButton_Click(object sender, EventArgs e)
 {
     //create color chooser dialog
     colorDialog = new ColorDialog();
     colorDialog.ShowDialog();
     selectedColor = colorDialog.Color;
 }
        private void pnlBgColor_Click(object sender, EventArgs e)
        {
            ColorDialog clrDlg = new ColorDialog();

            DialogResult res = clrDlg.ShowDialog();

            if (res != DialogResult.OK)
                return;

            Application.DoEvents();

            this.pnlBgColor.Image = null;
            this.pnlBgColor.BackColor = clrDlg.Color;

            Extra.Enable = true;
            Extra.BackgroundColor = clrDlg.Color;

            Bitmap b = frmMain.FilterEffects(false);

            if (this.pbxPreview.Image != null)
            {
                Image prev = this.pbxPreview.Image;
                this.pbxPreview.Image = null;
                prev.Dispose();
            }

            this.pbxPreview.Image = b;

        }
Example #29
0
 private void btSelectColor_Click(object sender, EventArgs e)
 {
     ColorDialog frmSelectColor = new ColorDialog();
     frmSelectColor.Color = btSelectColor.BackColor;
     if (frmSelectColor.ShowDialog() == DialogResult.OK)
         btSelectColor.BackColor = frmSelectColor.Color;
 }
        public PlanningGridExtDisplayObject(string name, Color maxColor, Color minColor)
            : base(name, maxColor, minColor)
        {
            string[] gridTypes = Enum.GetNames(typeof(PlanningGrids));
            PlanningGrids[] values = (PlanningGrids[])Enum.GetValues(typeof(PlanningGrids));

            ToolStripMenuItem menuGetGrid = new ToolStripMenuItem("Get Grid");

            for (int i = 0; i < gridTypes.Length; i++) {
                ToolStripMenuItem gridItem = new ToolStripMenuItem();
                gridItem.Text = gridTypes[i];
                gridItem.Tag = values[i];
                gridItem.Click += new EventHandler(gridItem_Click);

                menuGetGrid.DropDownItems.Add(gridItem);
            }

            ToolStripMenuItem menuSetMaxColor = new ToolStripMenuItem("Set Max Color", null, menuSetMaxColor_Click);
            ToolStripMenuItem menuSetMinColor = new ToolStripMenuItem("Set Min Color", null, menuSetMinColor_Click);

            menuItems = new ToolStripMenuItem[] { menuGetGrid, menuSetMaxColor, menuSetMinColor };

            colorDialog = new ColorDialog();
            colorDialog.AnyColor = true;
            colorDialog.AllowFullOpen = true;
            colorDialog.FullOpen = true;
        }
Example #31
0
 private void 修改字幕颜色按钮点击事件(object sender, RoutedEventArgs e)
 {
     System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog();
     if (colorDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         System.Drawing.SolidBrush sb = new System.Drawing.SolidBrush(colorDialog.Color);
         //SolidColorBrush solidColorBrush = new SolidColorBrush(Color.FromArgb(sb.Color.A, sb.Color.R, sb.Color.G, sb.Color.B));
         字幕.字体颜色 = Color.FromArgb(sb.Color.A, sb.Color.R, sb.Color.G, sb.Color.B);
         sb.Dispose();
         //字幕.Foreground = solidColorBrush;
         if (弹幕.FontSize > 50)
         {
             弹幕.FontSize = 1;
         }
         else
         {
             弹幕.FontSize++;
         }
         sb.Dispose();
     }
     colorDialog.Dispose();
     首页焦点.Focus();
 }
Example #32
0
        private void buttonResponsibleColor_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                WinForm.ColorDialog colorDialog = new WinForm.ColorDialog();
                if (WinForm.DialogResult.OK == colorDialog.ShowDialog())
                {
                    System.Drawing.Color color = colorDialog.Color;
                    colorDialog.Dispose();

                    ColorDefinition selectedDefinition = (sender as Button).DataContext as ColorDefinition;
                    ColorDefinition colorDefinition    = new ColorDefinition(selectedDefinition);
                    colorDefinition.Color[0] = color.R;
                    colorDefinition.Color[1] = color.G;
                    colorDefinition.Color[2] = color.B;

                    System.Windows.Media.Color windowColor = System.Windows.Media.Color.FromRgb(colorDefinition.Color[0], colorDefinition.Color[1], colorDefinition.Color[2]);
                    colorDefinition.BackgroundColor = new SolidColorBrush(windowColor);

                    dataGridResponsibility.ItemsSource = null;
                    for (int i = 0; i < responsibleDefinitions.Count; i++)
                    {
                        if (responsibleDefinitions[i].ParameterValue == colorDefinition.ParameterValue)
                        {
                            responsibleDefinitions[i] = colorDefinition; break;
                        }
                    }
                    dataGridResponsibility.ItemsSource = responsibleDefinitions;

                    bool updated = BCFParser.UpdateColorSheet(responsibleScheme, selectedDefinition, colorDefinition, ModifyItem.Edit, colorSheetId);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Failed to set color.\n" + ex.Message, "Set Color", MessageBoxButton.OK, MessageBoxImage.Warning);
            }
        }
Example #33
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.DraPie       = new System.Windows.Forms.Button();
     this.textBox1     = new System.Windows.Forms.TextBox();
     this.AddSliceBtn  = new System.Windows.Forms.Button();
     this.colorDialog1 = new System.Windows.Forms.ColorDialog();
     this.ColorBtn     = new System.Windows.Forms.Button();
     this.listBox1     = new System.Windows.Forms.ListBox();
     this.FillChart    = new System.Windows.Forms.Button();
     this.label1       = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // DraPie
     //
     this.DraPie.Location = new System.Drawing.Point(24, 320);
     this.DraPie.Name     = "DraPie";
     this.DraPie.Size     = new System.Drawing.Size(88, 32);
     this.DraPie.TabIndex = 0;
     this.DraPie.Text     = "Draw Chart";
     this.DraPie.Click   += new System.EventHandler(this.DraPie_Click);
     //
     // textBox1
     //
     this.textBox1.AutoSize = false;
     this.textBox1.Location = new System.Drawing.Point(16, 24);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(72, 24);
     this.textBox1.TabIndex = 2;
     this.textBox1.Text     = "";
     //
     // AddSliceBtn
     //
     this.AddSliceBtn.Location = new System.Drawing.Point(264, 24);
     this.AddSliceBtn.Name     = "AddSliceBtn";
     this.AddSliceBtn.Size     = new System.Drawing.Size(88, 24);
     this.AddSliceBtn.TabIndex = 3;
     this.AddSliceBtn.Text     = "Add Slice";
     this.AddSliceBtn.Click   += new System.EventHandler(this.button1_Click);
     //
     // ColorBtn
     //
     this.ColorBtn.BackColor = System.Drawing.Color.Blue;
     this.ColorBtn.ForeColor = System.Drawing.Color.Yellow;
     this.ColorBtn.Location  = new System.Drawing.Point(96, 24);
     this.ColorBtn.Name      = "ColorBtn";
     this.ColorBtn.Size      = new System.Drawing.Size(88, 24);
     this.ColorBtn.TabIndex  = 4;
     this.ColorBtn.Text      = "Select Color";
     this.ColorBtn.Click    += new System.EventHandler(this.ColorBtn_Click);
     //
     // listBox1
     //
     this.listBox1.Location = new System.Drawing.Point(16, 72);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(224, 225);
     this.listBox1.TabIndex = 5;
     //
     // FillChart
     //
     this.FillChart.Location = new System.Drawing.Point(136, 320);
     this.FillChart.Name     = "FillChart";
     this.FillChart.Size     = new System.Drawing.Size(88, 32);
     this.FillChart.TabIndex = 6;
     this.FillChart.Text     = "Fill Chart";
     this.FillChart.Click   += new System.EventHandler(this.FillChart_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 16);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Enter Share";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 373);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.FillChart,
         this.listBox1,
         this.ColorBtn,
         this.AddSliceBtn,
         this.textBox1,
         this.DraPie
     });
     this.Name   = "Form1";
     this.Text   = "Pie Chart Application";
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.ResumeLayout(false);
 }
Example #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnOK               = new System.Windows.Forms.Button();
     this.lblSunShading       = new System.Windows.Forms.Label();
     this.chkSunShading       = new System.Windows.Forms.CheckBox();
     this.lblSunFixed         = new System.Windows.Forms.Label();
     this.chkSunFixed         = new System.Windows.Forms.CheckBox();
     this.lblSunHeading       = new System.Windows.Forms.Label();
     this.tbSunHeading        = new System.Windows.Forms.TrackBar();
     this.lblSunElevation     = new System.Windows.Forms.Label();
     this.tbSunElevation      = new System.Windows.Forms.TrackBar();
     this.lblColor            = new System.Windows.Forms.Label();
     this.colorDialog         = new System.Windows.Forms.ColorDialog();
     this.btnLightColorPicker = new System.Windows.Forms.Button();
     this.btnShadeColorPicker = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.tbSunHeading)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbSunElevation)).BeginInit();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(211, 225);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex     = 0;
     this.btnCancel.Text         = "Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(124, 225);
     this.btnOK.Name     = "btnOK";
     this.btnOK.Size     = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex = 1;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // lblSunShading
     //
     this.lblSunShading.AutoSize = true;
     this.lblSunShading.Location = new System.Drawing.Point(16, 18);
     this.lblSunShading.Name     = "lblSunShading";
     this.lblSunShading.Size     = new System.Drawing.Size(32, 13);
     this.lblSunShading.TabIndex = 2;
     this.lblSunShading.Text     = "Sun :";
     //
     // chkSunShading
     //
     this.chkSunShading.Location        = new System.Drawing.Point(98, 15);
     this.chkSunShading.Name            = "chkSunShading";
     this.chkSunShading.Size            = new System.Drawing.Size(104, 24);
     this.chkSunShading.TabIndex        = 3;
     this.chkSunShading.Text            = "Enable sunlight";
     this.chkSunShading.CheckedChanged += new System.EventHandler(this.FormChanged);
     //
     // lblSunFixed
     //
     this.lblSunFixed.AutoSize = true;
     this.lblSunFixed.Location = new System.Drawing.Point(16, 49);
     this.lblSunFixed.Name     = "lblSunFixed";
     this.lblSunFixed.Size     = new System.Drawing.Size(64, 13);
     this.lblSunFixed.TabIndex = 4;
     this.lblSunFixed.Text     = "Orientation :";
     //
     // chkSunFixed
     //
     this.chkSunFixed.Location        = new System.Drawing.Point(98, 46);
     this.chkSunFixed.Name            = "chkSunFixed";
     this.chkSunFixed.Size            = new System.Drawing.Size(104, 24);
     this.chkSunFixed.TabIndex        = 5;
     this.chkSunFixed.Text            = "Fixed";
     this.chkSunFixed.CheckedChanged += new System.EventHandler(this.FormChanged);
     //
     // lblSunHeading
     //
     this.lblSunHeading.AutoSize = true;
     this.lblSunHeading.Location = new System.Drawing.Point(16, 80);
     this.lblSunHeading.Name     = "lblSunHeading";
     this.lblSunHeading.Size     = new System.Drawing.Size(53, 13);
     this.lblSunHeading.TabIndex = 6;
     this.lblSunHeading.Text     = "Heading :";
     //
     // tbSunHeading
     //
     this.tbSunHeading.LargeChange   = 15;
     this.tbSunHeading.Location      = new System.Drawing.Point(92, 77);
     this.tbSunHeading.Maximum       = 180;
     this.tbSunHeading.Minimum       = -180;
     this.tbSunHeading.Name          = "tbSunHeading";
     this.tbSunHeading.Size          = new System.Drawing.Size(160, 37);
     this.tbSunHeading.TabIndex      = 7;
     this.tbSunHeading.TickFrequency = 30;
     this.tbSunHeading.ValueChanged += new System.EventHandler(this.FormChanged);
     //
     // lblSunElevation
     //
     this.lblSunElevation.AutoSize = true;
     this.lblSunElevation.Location = new System.Drawing.Point(16, 125);
     this.lblSunElevation.Name     = "lblSunElevation";
     this.lblSunElevation.Size     = new System.Drawing.Size(57, 13);
     this.lblSunElevation.TabIndex = 8;
     this.lblSunElevation.Text     = "Elevation :";
     //
     // tbSunElevation
     //
     this.tbSunElevation.Location      = new System.Drawing.Point(92, 122);
     this.tbSunElevation.Maximum       = 90;
     this.tbSunElevation.Minimum       = -10;
     this.tbSunElevation.Name          = "tbSunElevation";
     this.tbSunElevation.Size          = new System.Drawing.Size(160, 37);
     this.tbSunElevation.TabIndex      = 9;
     this.tbSunElevation.TickFrequency = 10;
     this.tbSunElevation.ValueChanged += new System.EventHandler(this.FormChanged);
     //
     // lblColor
     //
     this.lblColor.AutoSize = true;
     this.lblColor.Location = new System.Drawing.Point(16, 180);
     this.lblColor.Name     = "lblColor";
     this.lblColor.Size     = new System.Drawing.Size(57, 13);
     this.lblColor.TabIndex = 10;
     this.lblColor.Text     = "Colors :";
     //
     // btnLightColorPicker
     //
     this.btnLightColorPicker.Location = new System.Drawing.Point(100, 177);
     this.btnLightColorPicker.Name     = "btnLightColorPicker";
     this.btnLightColorPicker.Size     = new System.Drawing.Size(80, 23);
     this.btnLightColorPicker.TabIndex = 11;
     this.btnLightColorPicker.Text     = "Light Color";
     this.btnLightColorPicker.UseVisualStyleBackColor = true;
     this.btnLightColorPicker.Click += new System.EventHandler(this.btnLightColorPicker_Click);
     //
     // btnShadeColorPicker
     //
     this.btnShadeColorPicker.Location = new System.Drawing.Point(200, 177);
     this.btnShadeColorPicker.Name     = "btnShadeColorPicker";
     this.btnShadeColorPicker.Size     = new System.Drawing.Size(80, 23);
     this.btnShadeColorPicker.TabIndex = 12;
     this.btnShadeColorPicker.Text     = "Shade Color";
     this.btnShadeColorPicker.UseVisualStyleBackColor = true;
     this.btnShadeColorPicker.ForeColor = Color.White;
     this.btnShadeColorPicker.Click    += new System.EventHandler(this.btnShadeColorPicker_Click);
     //
     // LightDialog
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(306, 265);
     this.ControlBox        = false;
     this.Controls.Add(this.lblSunShading);
     this.Controls.Add(this.chkSunShading);
     this.Controls.Add(this.lblSunFixed);
     this.Controls.Add(this.chkSunFixed);
     this.Controls.Add(this.lblSunHeading);
     this.Controls.Add(this.tbSunHeading);
     this.Controls.Add(this.lblSunElevation);
     this.Controls.Add(this.tbSunElevation);
     this.Controls.Add(this.lblColor);
     this.Controls.Add(this.btnLightColorPicker);
     this.Controls.Add(this.btnShadeColorPicker);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.btnCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "LightDialog";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.TopMost         = true;
     ((System.ComponentModel.ISupportInitialize)(this.tbSunHeading)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbSunElevation)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(GraficadorForm));
     this.mainMenu1           = new System.Windows.Forms.MainMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     this.menuItem6           = new System.Windows.Forms.MenuItem();
     this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1     = new System.Windows.Forms.SaveFileDialog();
     this.colorDialog1        = new System.Windows.Forms.ColorDialog();
     this.menuItem7           = new System.Windows.Forms.MenuItem();
     this.menuItem8           = new System.Windows.Forms.MenuItem();
     this.printDocument1      = new System.Drawing.Printing.PrintDocument();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.menuItem9           = new System.Windows.Forms.MenuItem();
     this.menuItem10          = new System.Windows.Forms.MenuItem();
     this.menuItem11          = new System.Windows.Forms.MenuItem();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem9
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.menuItem3,
         this.menuItem2,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     this.menuItem1.Text      = "File";
     //
     // menuItem4
     //
     this.menuItem4.Index  = 0;
     this.menuItem4.Text   = "Open";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 1;
     this.menuItem3.Text   = "Save As...";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index      = 2;
     this.menuItem2.MergeOrder = 30;
     this.menuItem2.Text       = "Close";
     this.menuItem2.Click     += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 3;
     this.menuItem5.Text   = "Send";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 4;
     this.menuItem6.Text   = "Receive";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index  = 5;
     this.menuItem7.Text   = "Print Preview";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // menuItem8
     //
     this.menuItem8.Index  = 6;
     this.menuItem8.Text   = "Print";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon            = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Location        = new System.Drawing.Point(21, 82);
     this.printPreviewDialog1.MinimumSize     = new System.Drawing.Size(375, 250);
     this.printPreviewDialog1.Name            = "printPreviewDialog1";
     this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty;
     this.printPreviewDialog1.Visible         = false;
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem10,
         this.menuItem11
     });
     this.menuItem9.Text = "Edit";
     //
     // menuItem10
     //
     this.menuItem10.Index  = 0;
     this.menuItem10.Text   = "Color";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index  = 1;
     this.menuItem11.Text   = "Width";
     this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click);
     //
     // GraficadorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(656, 382);
     this.Menu       = this.mainMenu1;
     this.Name       = "GraficadorForm";
     this.Text       = "Graficador";
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.GraficadorForm_MouseDown);
     this.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.GraficadorForm_MouseUp);
     this.Paint     += new System.Windows.Forms.PaintEventHandler(this.GraficadorForm_Paint);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.GraficadorForm_MouseMove);
 }
Example #36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1          = new System.Windows.Forms.Label();
     this.mainMenu1       = new System.Windows.Forms.MainMenu();
     this.menuItem1       = new System.Windows.Forms.MenuItem();
     this.menuNew         = new System.Windows.Forms.MenuItem();
     this.menuOpen        = new System.Windows.Forms.MenuItem();
     this.menuSave        = new System.Windows.Forms.MenuItem();
     this.menuItem5       = new System.Windows.Forms.MenuItem();
     this.menuExit        = new System.Windows.Forms.MenuItem();
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                           | System.Windows.Forms.AnchorStyles.Right);
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label1.Location  = new System.Drawing.Point(0, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(738, 22);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Try clicking on the form several times then try left clicking, saving from the me" +
                             "nu etc.";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuNew,
         this.menuOpen,
         this.menuSave,
         this.menuItem5,
         this.menuExit
     });
     this.menuItem1.Text = "File";
     //
     // menuNew
     //
     this.menuNew.Index  = 0;
     this.menuNew.Text   = "New";
     this.menuNew.Click += new System.EventHandler(this.menuNew_Click);
     //
     // menuOpen
     //
     this.menuOpen.Index  = 1;
     this.menuOpen.Text   = "Open";
     this.menuOpen.Click += new System.EventHandler(this.menuOpen_Click);
     //
     // menuSave
     //
     this.menuSave.Index  = 2;
     this.menuSave.Text   = "Save";
     this.menuSave.Click += new System.EventHandler(this.menuSave_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 3;
     this.menuItem5.Text  = "-";
     //
     // menuExit
     //
     this.menuExit.Index  = 4;
     this.menuExit.Text   = "Exit";
     this.menuExit.Click += new System.EventHandler(this.menuExit_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt  = "dtz";
     this.openFileDialog1.Filter      = "\"Dot files (*.dtz)|*.dtz|All files (*.*)|*.*\"";
     this.openFileDialog1.FilterIndex = 0;
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "doc1";
     //
     // Form3
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(9, 22);
     this.ClientSize        = new System.Drawing.Size(816, 546);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1
     });
     this.Font       = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Menu       = this.mainMenu1;
     this.Name       = "Form3";
     this.Text       = "Form3";
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form3_MouseDown);
     this.Click     += new System.EventHandler(this.Form3_Click);
     this.Load      += new System.EventHandler(this.Form3_Load);
     this.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.Form3_MouseUp);
     this.Paint     += new System.Windows.Forms.PaintEventHandler(this.Form3_Paint);
     this.ResumeLayout(false);
 }
Example #37
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MemoControl));
     this.tlbMain        = new System.Windows.Forms.ToolBar();
     this.btnAdd         = new System.Windows.Forms.ToolBarButton();
     this.btnExport      = new System.Windows.Forms.ToolBarButton();
     this.Separator1     = new System.Windows.Forms.ToolBarButton();
     this.btnBold        = new System.Windows.Forms.ToolBarButton();
     this.btnItalics     = new System.Windows.Forms.ToolBarButton();
     this.btnUnderline   = new System.Windows.Forms.ToolBarButton();
     this.Separator2     = new System.Windows.Forms.ToolBarButton();
     this.btnColour      = new System.Windows.Forms.ToolBarButton();
     this.btnFont        = new System.Windows.Forms.ToolBarButton();
     this.ToolbarImages  = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1     = new System.Windows.Forms.StatusBar();
     this.dlgExport      = new System.Windows.Forms.SaveFileDialog();
     this.dlgColour      = new System.Windows.Forms.ColorDialog();
     this.dlgFont        = new System.Windows.Forms.FontDialog();
     this.rtxtResolution = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // tlbMain
     //
     this.tlbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.btnAdd,
         this.btnExport,
         this.Separator1,
         this.btnBold,
         this.btnItalics,
         this.btnUnderline,
         this.Separator2,
         this.btnColour,
         this.btnFont
     });
     this.tlbMain.ButtonSize     = new System.Drawing.Size(48, 48);
     this.tlbMain.DropDownArrows = true;
     this.tlbMain.ImageList      = this.ToolbarImages;
     this.tlbMain.Location       = new System.Drawing.Point(0, 0);
     this.tlbMain.Name           = "tlbMain";
     this.tlbMain.ShowToolTips   = true;
     this.tlbMain.Size           = new System.Drawing.Size(544, 50);
     this.tlbMain.TabIndex       = 0;
     this.tlbMain.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMain_ButtonClick);
     //
     // btnAdd
     //
     this.btnAdd.ImageIndex  = 0;
     this.btnAdd.Text        = "&Add";
     this.btnAdd.ToolTipText = "Add a date/time stamp";
     //
     // btnExport
     //
     this.btnExport.ImageIndex  = 1;
     this.btnExport.Text        = "&Export ...";
     this.btnExport.ToolTipText = "Export to an RTF file.";
     //
     // Separator1
     //
     this.Separator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // btnBold
     //
     this.btnBold.ImageIndex = 2;
     this.btnBold.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.btnBold.Text       = "&Bold";
     //
     // btnItalics
     //
     this.btnItalics.ImageIndex = 3;
     this.btnItalics.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.btnItalics.Text       = "&Italics";
     //
     // btnUnderline
     //
     this.btnUnderline.ImageIndex = 4;
     this.btnUnderline.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.btnUnderline.Text       = "&Underline";
     //
     // Separator2
     //
     this.Separator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // btnColour
     //
     this.btnColour.ImageIndex = 5;
     this.btnColour.Text       = "&Colour ...";
     //
     // btnFont
     //
     this.btnFont.ImageIndex = 6;
     this.btnFont.Text       = "Font ...";
     //
     // ToolbarImages
     //
     this.ToolbarImages.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.ToolbarImages.ImageSize        = new System.Drawing.Size(24, 24);
     this.ToolbarImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ToolbarImages.ImageStream")));
     this.ToolbarImages.TransparentColor = System.Drawing.Color.Transparent;
     //
     // statusBar1
     //
     this.statusBar1.Location   = new System.Drawing.Point(0, 432);
     this.statusBar1.Name       = "statusBar1";
     this.statusBar1.Size       = new System.Drawing.Size(544, 24);
     this.statusBar1.SizingGrip = false;
     this.statusBar1.TabIndex   = 2;
     //
     // dlgExport
     //
     this.dlgExport.DefaultExt = "rtf";
     this.dlgExport.Filter     = "Rich text files (*.rtf)|*.rtf|All files (*.*)|*.*";
     //
     // rtxtResolution
     //
     this.rtxtResolution.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.rtxtResolution.Location = new System.Drawing.Point(0, 50);
     this.rtxtResolution.Name     = "rtxtResolution";
     this.rtxtResolution.Size     = new System.Drawing.Size(544, 382);
     this.rtxtResolution.TabIndex = 3;
     this.rtxtResolution.Text     = "";
     //
     // MemoControl
     //
     this.Controls.Add(this.rtxtResolution);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.tlbMain);
     this.Name = "MemoControl";
     this.Size = new System.Drawing.Size(544, 456);
     this.ResumeLayout(false);
 }
Example #38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDefEdit));
     this.labelName    = new System.Windows.Forms.Label();
     this.labelValue   = new System.Windows.Forms.Label();
     this.textName     = new System.Windows.Forms.TextBox();
     this.textValue    = new System.Windows.Forms.TextBox();
     this.butColor     = new System.Windows.Forms.Button();
     this.colorDialog1 = new System.Windows.Forms.ColorDialog();
     this.labelColor   = new System.Windows.Forms.Label();
     this.butOK        = new OpenDental.UI.Button();
     this.butCancel    = new OpenDental.UI.Button();
     this.checkHidden  = new System.Windows.Forms.CheckBox();
     this.butDelete    = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // labelName
     //
     this.labelName.Location  = new System.Drawing.Point(47, 24);
     this.labelName.Name      = "labelName";
     this.labelName.Size      = new System.Drawing.Size(150, 16);
     this.labelName.TabIndex  = 0;
     this.labelName.Text      = "Name";
     this.labelName.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // labelValue
     //
     this.labelValue.Location  = new System.Drawing.Point(218, 22);
     this.labelValue.Name      = "labelValue";
     this.labelValue.Size      = new System.Drawing.Size(164, 16);
     this.labelValue.TabIndex  = 1;
     this.labelValue.Text      = "Value";
     this.labelValue.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // textName
     //
     this.textName.Location  = new System.Drawing.Point(32, 40);
     this.textName.Multiline = true;
     this.textName.Name      = "textName";
     this.textName.Size      = new System.Drawing.Size(178, 64);
     this.textName.TabIndex  = 0;
     //
     // textValue
     //
     this.textValue.Location  = new System.Drawing.Point(210, 40);
     this.textValue.MaxLength = 256;
     this.textValue.Multiline = true;
     this.textValue.Name      = "textValue";
     this.textValue.Size      = new System.Drawing.Size(180, 64);
     this.textValue.TabIndex  = 1;
     //
     // butColor
     //
     this.butColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.butColor.Location  = new System.Drawing.Point(392, 40);
     this.butColor.Name      = "butColor";
     this.butColor.Size      = new System.Drawing.Size(30, 20);
     this.butColor.TabIndex  = 2;
     this.butColor.Click    += new System.EventHandler(this.butColor_Click);
     //
     // colorDialog1
     //
     this.colorDialog1.FullOpen = true;
     //
     // labelColor
     //
     this.labelColor.Location  = new System.Drawing.Point(389, 21);
     this.labelColor.Name      = "labelColor";
     this.labelColor.Size      = new System.Drawing.Size(74, 16);
     this.labelColor.TabIndex  = 5;
     this.labelColor.Text      = "Color";
     this.labelColor.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butOK.Autosize            = true;
     this.butOK.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius        = 4F;
     this.butOK.Location            = new System.Drawing.Point(298, 131);
     this.butOK.Name     = "butOK";
     this.butOK.Size     = new System.Drawing.Size(75, 25);
     this.butOK.TabIndex = 4;
     this.butOK.Text     = "&OK";
     this.butOK.Click   += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butCancel.Autosize            = true;
     this.butCancel.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius        = 4F;
     this.butCancel.DialogResult        = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Location            = new System.Drawing.Point(393, 131);
     this.butCancel.Name     = "butCancel";
     this.butCancel.Size     = new System.Drawing.Size(75, 25);
     this.butCancel.TabIndex = 5;
     this.butCancel.Text     = "&Cancel";
     this.butCancel.Click   += new System.EventHandler(this.butCancel_Click);
     //
     // checkHidden
     //
     this.checkHidden.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkHidden.Location  = new System.Drawing.Point(432, 38);
     this.checkHidden.Name      = "checkHidden";
     this.checkHidden.Size      = new System.Drawing.Size(99, 24);
     this.checkHidden.TabIndex  = 3;
     this.checkHidden.Text      = "Hidden";
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butDelete.Autosize            = true;
     this.butDelete.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius        = 4F;
     this.butDelete.Image      = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location   = new System.Drawing.Point(32, 131);
     this.butDelete.Name       = "butDelete";
     this.butDelete.Size       = new System.Drawing.Size(79, 25);
     this.butDelete.TabIndex   = 6;
     this.butDelete.Text       = "Delete";
     this.butDelete.Click     += new System.EventHandler(this.butDelete_Click);
     //
     // FormDefEdit
     //
     this.AcceptButton      = this.butOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butCancel;
     this.ClientSize        = new System.Drawing.Size(558, 176);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.checkHidden);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.labelColor);
     this.Controls.Add(this.butColor);
     this.Controls.Add(this.textValue);
     this.Controls.Add(this.textName);
     this.Controls.Add(this.labelValue);
     this.Controls.Add(this.labelName);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormDefEdit";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Edit Definition";
     this.Load         += new System.EventHandler(this.FormDefEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #39
0
 /// <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(frmmain));
     this.mainMenu1         = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFile           = new System.Windows.Forms.MenuItem();
     this.mnuNew            = new System.Windows.Forms.MenuItem();
     this.mnuOpen           = new System.Windows.Forms.MenuItem();
     this.mnuSave           = new System.Windows.Forms.MenuItem();
     this.mnuSaveAs         = new System.Windows.Forms.MenuItem();
     this.menuItem5         = new System.Windows.Forms.MenuItem();
     this.mnuExit           = new System.Windows.Forms.MenuItem();
     this.mnuEdit           = new System.Windows.Forms.MenuItem();
     this.mnuCut            = new System.Windows.Forms.MenuItem();
     this.mnuCopy           = new System.Windows.Forms.MenuItem();
     this.mnuPaste          = new System.Windows.Forms.MenuItem();
     this.mnuDelete         = new System.Windows.Forms.MenuItem();
     this.menuItem12        = new System.Windows.Forms.MenuItem();
     this.mnuSelectAll      = new System.Windows.Forms.MenuItem();
     this.menuItem1         = new System.Windows.Forms.MenuItem();
     this.mnuFind           = new System.Windows.Forms.MenuItem();
     this.mnuPrint          = new System.Windows.Forms.MenuItem();
     this.mnuPicture        = new System.Windows.Forms.MenuItem();
     this.mnuFormat         = new System.Windows.Forms.MenuItem();
     this.mnuFont           = new System.Windows.Forms.MenuItem();
     this.mnuColor          = new System.Windows.Forms.MenuItem();
     this.mnuWindow         = new System.Windows.Forms.MenuItem();
     this.mnuArrangeIcons   = new System.Windows.Forms.MenuItem();
     this.mnuCascade        = new System.Windows.Forms.MenuItem();
     this.mnuTileHorizontal = new System.Windows.Forms.MenuItem();
     this.mnuTileVertical   = new System.Windows.Forms.MenuItem();
     this.mnuHelp           = new System.Windows.Forms.MenuItem();
     this.mnuAbout          = new System.Windows.Forms.MenuItem();
     this.openFileDialog1   = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1   = new System.Windows.Forms.SaveFileDialog();
     this.fontDialog1       = new System.Windows.Forms.FontDialog();
     this.colorDialog1      = new System.Windows.Forms.ColorDialog();
     this.toolBarMain       = new System.Windows.Forms.ToolBar();
     this.tbNew             = new System.Windows.Forms.ToolBarButton();
     this.tbOpen            = new System.Windows.Forms.ToolBarButton();
     this.tbSave            = new System.Windows.Forms.ToolBarButton();
     this.tbCut             = new System.Windows.Forms.ToolBarButton();
     this.tbCopy            = new System.Windows.Forms.ToolBarButton();
     this.tbPaste           = new System.Windows.Forms.ToolBarButton();
     this.tbLeft            = new System.Windows.Forms.ToolBarButton();
     this.tbCenter          = new System.Windows.Forms.ToolBarButton();
     this.tbRight           = new System.Windows.Forms.ToolBarButton();
     this.tbMoon            = new System.Windows.Forms.ToolBarButton();
     this.tbSun             = new System.Windows.Forms.ToolBarButton();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.printDialog1      = new System.Windows.Forms.PrintDialog();
     this.printDocument1    = new System.Drawing.Printing.PrintDocument();
     this.pictureBox1       = new System.Windows.Forms.PictureBox();
     this.openFileDialog2   = new System.Windows.Forms.OpenFileDialog();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuEdit,
         this.mnuFormat,
         this.mnuWindow,
         this.mnuHelp
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuNew,
         this.mnuOpen,
         this.mnuSave,
         this.mnuSaveAs,
         this.menuItem5,
         this.mnuExit
     });
     this.mnuFile.Text = "&Файл";
     //
     // mnuNew
     //
     this.mnuNew.Index    = 0;
     this.mnuNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.mnuNew.Text     = "&Новый";
     this.mnuNew.Click   += new System.EventHandler(this.mnuNew_Click);
     //
     // mnuOpen
     //
     this.mnuOpen.Index    = 1;
     this.mnuOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.mnuOpen.Text     = "&Открыть";
     this.mnuOpen.Click   += new System.EventHandler(this.mnuOpen_Click);
     //
     // mnuSave
     //
     this.mnuSave.Index    = 2;
     this.mnuSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.mnuSave.Text     = "&Сохранить";
     this.mnuSave.Click   += new System.EventHandler(this.mnuSave_Click);
     //
     // mnuSaveAs
     //
     this.mnuSaveAs.Index    = 3;
     this.mnuSaveAs.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftS;
     this.mnuSaveAs.Text     = "Сохранить &как";
     this.mnuSaveAs.Click   += new System.EventHandler(this.mnuSaveAs_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 4;
     this.menuItem5.Text  = "-";
     //
     // mnuExit
     //
     this.mnuExit.Index    = 5;
     this.mnuExit.Shortcut = System.Windows.Forms.Shortcut.AltF4;
     this.mnuExit.Text     = "&Выйти";
     this.mnuExit.Click   += new System.EventHandler(this.mnuExit_Click);
     //
     // mnuEdit
     //
     this.mnuEdit.Index = 1;
     this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuCut,
         this.mnuCopy,
         this.mnuPaste,
         this.mnuDelete,
         this.menuItem12,
         this.mnuSelectAll,
         this.menuItem1,
         this.mnuFind,
         this.mnuPrint,
         this.mnuPicture
     });
     this.mnuEdit.Text = "&Изменить";
     //
     // mnuCut
     //
     this.mnuCut.Index    = 0;
     this.mnuCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
     this.mnuCut.Text     = "Вырезать&";
     this.mnuCut.Click   += new System.EventHandler(this.mnuCut_Click);
     //
     // mnuCopy
     //
     this.mnuCopy.Index    = 1;
     this.mnuCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.mnuCopy.Text     = "&Копировать";
     this.mnuCopy.Click   += new System.EventHandler(this.mnuCopy_Click);
     //
     // mnuPaste
     //
     this.mnuPaste.Index    = 2;
     this.mnuPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.mnuPaste.Text     = "&Вставить";
     this.mnuPaste.Click   += new System.EventHandler(this.mnuPaste_Click);
     //
     // mnuDelete
     //
     this.mnuDelete.Index    = 3;
     this.mnuDelete.Shortcut = System.Windows.Forms.Shortcut.Del;
     this.mnuDelete.Text     = "&Удалить";
     this.mnuDelete.Click   += new System.EventHandler(this.mnuDelete_Click);
     //
     // menuItem12
     //
     this.menuItem12.Index = 4;
     this.menuItem12.Text  = "-";
     //
     // mnuSelectAll
     //
     this.mnuSelectAll.Index    = 5;
     this.mnuSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
     this.mnuSelectAll.Text     = "&Выбрать все";
     this.mnuSelectAll.Click   += new System.EventHandler(this.mnuSelectAll_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 6;
     this.menuItem1.Text  = "-";
     //
     // mnuFind
     //
     this.mnuFind.Index    = 7;
     this.mnuFind.Shortcut = System.Windows.Forms.Shortcut.CtrlF;
     this.mnuFind.Text     = "&Поиск";
     this.mnuFind.Click   += new System.EventHandler(this.mnuFind_Click);
     //
     // mnuPrint
     //
     this.mnuPrint.Index  = 8;
     this.mnuPrint.Text   = "Печать";
     this.mnuPrint.Click += new System.EventHandler(this.mnuPrint_Click_1);
     //
     // mnuPicture
     //
     this.mnuPicture.Index  = 9;
     this.mnuPicture.Text   = "Вставить изображение";
     this.mnuPicture.Click += new System.EventHandler(this.mnuPicture_Click);
     //
     // mnuFormat
     //
     this.mnuFormat.Index = 2;
     this.mnuFormat.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFont,
         this.mnuColor
     });
     this.mnuFormat.Text = "Ф&ормат";
     //
     // mnuFont
     //
     this.mnuFont.Index  = 0;
     this.mnuFont.Text   = "Шрифт...";
     this.mnuFont.Click += new System.EventHandler(this.mnuFont_Click);
     //
     // mnuColor
     //
     this.mnuColor.Index  = 1;
     this.mnuColor.Text   = "Цвет...";
     this.mnuColor.Click += new System.EventHandler(this.mnuColor_Click);
     //
     // mnuWindow
     //
     this.mnuWindow.Index = 3;
     this.mnuWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuArrangeIcons,
         this.mnuCascade,
         this.mnuTileHorizontal,
         this.mnuTileVertical
     });
     this.mnuWindow.Text = "&Окно";
     //
     // mnuArrangeIcons
     //
     this.mnuArrangeIcons.Index   = 0;
     this.mnuArrangeIcons.MdiList = true;
     this.mnuArrangeIcons.Text    = "Отсоединить иконки";
     //
     // mnuCascade
     //
     this.mnuCascade.Index  = 1;
     this.mnuCascade.Text   = "Каскадно";
     this.mnuCascade.Click += new System.EventHandler(this.mnuCascade_Click);
     //
     // mnuTileHorizontal
     //
     this.mnuTileHorizontal.Index  = 2;
     this.mnuTileHorizontal.Text   = "Страничка горизонтально";
     this.mnuTileHorizontal.Click += new System.EventHandler(this.mnuTileHorizontal_Click);
     //
     // mnuTileVertical
     //
     this.mnuTileVertical.Index  = 3;
     this.mnuTileVertical.Text   = "Страничка вертикально";
     this.mnuTileVertical.Click += new System.EventHandler(this.mnuTileVertical_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 4;
     this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuAbout
     });
     this.mnuHelp.Text = "?";
     //
     // mnuAbout
     //
     this.mnuAbout.Index  = 0;
     this.mnuAbout.Text   = "О программе...";
     this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "Текстовые файлы";
     this.openFileDialog1.Filter   = "Text Files (*.txt)|*.txt|All Files(*.*)|*.*";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "Текстовые файлы";
     this.saveFileDialog1.Filter   = "Text Files (*.txt)|*.txt|All Files(*.*)|*.*";
     //
     // toolBarMain
     //
     this.toolBarMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbNew,
         this.tbOpen,
         this.tbSave,
         this.tbCut,
         this.tbCopy,
         this.tbPaste,
         this.tbLeft,
         this.tbCenter,
         this.tbRight,
         this.tbMoon,
         this.tbSun
     });
     this.toolBarMain.DropDownArrows = true;
     this.toolBarMain.ImageList      = this.imageList1;
     this.toolBarMain.Location       = new System.Drawing.Point(0, 0);
     this.toolBarMain.Name           = "toolBarMain";
     this.toolBarMain.ShowToolTips   = true;
     this.toolBarMain.Size           = new System.Drawing.Size(477, 28);
     this.toolBarMain.TabIndex       = 1;
     this.toolBarMain.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarMain_ButtonClick);
     //
     // tbNew
     //
     this.tbNew.ImageIndex  = 0;
     this.tbNew.Name        = "tbNew";
     this.tbNew.ToolTipText = "Создать";
     //
     // tbOpen
     //
     this.tbOpen.ImageIndex  = 1;
     this.tbOpen.Name        = "tbOpen";
     this.tbOpen.ToolTipText = "Открыть";
     //
     // tbSave
     //
     this.tbSave.ImageIndex  = 2;
     this.tbSave.Name        = "tbSave";
     this.tbSave.ToolTipText = "Сохранить";
     //
     // tbCut
     //
     this.tbCut.ImageIndex  = 3;
     this.tbCut.Name        = "tbCut";
     this.tbCut.ToolTipText = "Вырезать";
     //
     // tbCopy
     //
     this.tbCopy.ImageIndex  = 4;
     this.tbCopy.Name        = "tbCopy";
     this.tbCopy.ToolTipText = "Копировать";
     //
     // tbPaste
     //
     this.tbPaste.ImageIndex  = 5;
     this.tbPaste.Name        = "tbPaste";
     this.tbPaste.ToolTipText = "Вставить";
     //
     // tbLeft
     //
     this.tbLeft.ImageIndex  = 6;
     this.tbLeft.Name        = "tbLeft";
     this.tbLeft.ToolTipText = "По левому краю";
     //
     // tbCenter
     //
     this.tbCenter.ImageIndex  = 7;
     this.tbCenter.Name        = "tbCenter";
     this.tbCenter.ToolTipText = "По центру";
     //
     // tbRight
     //
     this.tbRight.ImageIndex  = 8;
     this.tbRight.Name        = "tbRight";
     this.tbRight.ToolTipText = "По правому краю";
     //
     // tbMoon
     //
     this.tbMoon.ImageIndex  = 9;
     this.tbMoon.Name        = "tbMoon";
     this.tbMoon.ToolTipText = "Темный фон";
     //
     // tbSun
     //
     this.tbSun.ImageIndex  = 10;
     this.tbSun.Name        = "tbSun";
     this.tbSun.ToolTipText = "Светлый фон";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "Left.jpg");
     this.imageList1.Images.SetKeyName(7, "Center.jpg");
     this.imageList1.Images.SetKeyName(8, "Right.jpg");
     this.imageList1.Images.SetKeyName(9, "Moon.jpg");
     this.imageList1.Images.SetKeyName(10, "Sun.jpg");
     //
     // printDialog1
     //
     this.printDialog1.Document    = this.printDocument1;
     this.printDialog1.UseEXDialog = true;
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(0, 34);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(477, 295);
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop  = false;
     this.pictureBox1.Visible  = false;
     //
     // openFileDialog2
     //
     this.openFileDialog2.FileName = "openFileDialog2";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
     //
     // frmmain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(477, 331);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.toolBarMain);
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Menu           = this.mainMenu1;
     this.Name           = "frmmain";
     this.Text           = "Мокрый Soft";
     this.WindowState    = System.Windows.Forms.FormWindowState.Maximized;
     this.Load          += new System.EventHandler(this.frmmain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #40
0
 private void InitializeComponent()
 {
     this.components   = new System.ComponentModel.Container();
     this.ToolTip1     = new System.Windows.Forms.ToolTip(this.components);
     this.cmdBrowse    = new System.Windows.Forms.Button();
     this.cmdExit      = new System.Windows.Forms.Button();
     this.picButtons   = new System.Windows.Forms.Panel();
     this.cmdClose     = new System.Windows.Forms.Button();
     this.cmdlgOpen    = new System.Windows.Forms.OpenFileDialog();
     this.cmdlgSave    = new System.Windows.Forms.SaveFileDialog();
     this.cmdlgFont    = new System.Windows.Forms.FontDialog();
     this.cmdlgColor   = new System.Windows.Forms.ColorDialog();
     this.cmdlgPrint   = new System.Windows.Forms.PrintDialog();
     this.Text1        = new System.Windows.Forms.TextBox();
     this.cmdExportNow = new System.Windows.Forms.Button();
     this.Label1       = new System.Windows.Forms.Label();
     this.picButtons.SuspendLayout();
     this.SuspendLayout();
     //
     //cmdBrowse
     //
     this.cmdBrowse.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdBrowse.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdBrowse.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdBrowse.Location    = new System.Drawing.Point(390, 48);
     this.cmdBrowse.Name        = "cmdBrowse";
     this.cmdBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdBrowse.Size        = new System.Drawing.Size(43, 17);
     this.cmdBrowse.TabIndex    = 1;
     this.cmdBrowse.Text        = "...";
     this.ToolTip1.SetToolTip(this.cmdBrowse, "Browse file ");
     this.cmdBrowse.UseVisualStyleBackColor = false;
     //
     //cmdExit
     //
     this.cmdExit.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdExit.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdExit.Font                    = new System.Drawing.Font("Times New Roman", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdExit.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdExit.Location                = new System.Drawing.Point(360, 4);
     this.cmdExit.Name                    = "cmdExit";
     this.cmdExit.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdExit.Size                    = new System.Drawing.Size(73, 27);
     this.cmdExit.TabIndex                = 6;
     this.cmdExit.Text                    = "&Exit";
     this.cmdExit.UseVisualStyleBackColor = false;
     //
     //picButtons
     //
     this.picButtons.BackColor   = System.Drawing.Color.Blue;
     this.picButtons.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.picButtons.Controls.Add(this.cmdClose);
     this.picButtons.Cursor      = System.Windows.Forms.Cursors.Default;
     this.picButtons.Dock        = System.Windows.Forms.DockStyle.Top;
     this.picButtons.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.picButtons.Location    = new System.Drawing.Point(0, 0);
     this.picButtons.Name        = "picButtons";
     this.picButtons.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.picButtons.Size        = new System.Drawing.Size(437, 38);
     this.picButtons.TabIndex    = 4;
     //
     //cmdClose
     //
     this.cmdClose.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdClose.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdClose.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Location                = new System.Drawing.Point(576, 3);
     this.cmdClose.Name                    = "cmdClose";
     this.cmdClose.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.Size                    = new System.Drawing.Size(73, 29);
     this.cmdClose.TabIndex                = 5;
     this.cmdClose.TabStop                 = false;
     this.cmdClose.Text                    = "E&xit";
     this.cmdClose.UseVisualStyleBackColor = false;
     //
     //Text1
     //
     this.Text1.AcceptsReturn = true;
     this.Text1.BackColor     = System.Drawing.SystemColors.Window;
     this.Text1.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Text1.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.Text1.Enabled       = false;
     this.Text1.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.Text1.Location      = new System.Drawing.Point(66, 46);
     this.Text1.MaxLength     = 0;
     this.Text1.Name          = "Text1";
     this.Text1.ReadOnly      = true;
     this.Text1.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.Text1.Size          = new System.Drawing.Size(317, 19);
     this.Text1.TabIndex      = 2;
     //
     //cmdExportNow
     //
     this.cmdExportNow.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdExportNow.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdExportNow.Font                    = new System.Drawing.Font("Times New Roman", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdExportNow.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdExportNow.Location                = new System.Drawing.Point(318, 72);
     this.cmdExportNow.Name                    = "cmdExportNow";
     this.cmdExportNow.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdExportNow.Size                    = new System.Drawing.Size(113, 27);
     this.cmdExportNow.TabIndex                = 0;
     this.cmdExportNow.Text                    = "Export &Now!";
     this.cmdExportNow.UseVisualStyleBackColor = false;
     //
     //Label1
     //
     this.Label1.BackColor   = System.Drawing.Color.Transparent;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(4, 50);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(59, 15);
     this.Label1.TabIndex    = 3;
     this.Label1.Text        = "File Path:";
     //
     //frmExportUt
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.ClientSize          = new System.Drawing.Size(437, 106);
     this.ControlBox          = false;
     this.Controls.Add(this.cmdExit);
     this.Controls.Add(this.picButtons);
     this.Controls.Add(this.Text1);
     this.Controls.Add(this.cmdBrowse);
     this.Controls.Add(this.cmdExportNow);
     this.Controls.Add(this.Label1);
     this.Cursor          = System.Windows.Forms.Cursors.Default;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Location        = new System.Drawing.Point(3, 19);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmExportUt";
     this.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = " Export Utilities";
     this.picButtons.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyForm_SimpleFillSymbol));
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.panelLineSymbol = new System.Windows.Forms.Panel();
     this.tabControl1     = new System.Windows.Forms.TabControl();
     this.tabPage1        = new System.Windows.Forms.TabPage();
     this.propertyGrid    = new System.Windows.Forms.PropertyGrid();
     this.panelFillSymbol = new System.Windows.Forms.Panel();
     this.panelLineSymbol.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.panelFillSymbol.SuspendLayout();
     this.SuspendLayout();
     //
     // panelLineSymbol
     //
     this.panelLineSymbol.AccessibleDescription = null;
     this.panelLineSymbol.AccessibleName        = null;
     resources.ApplyResources(this.panelLineSymbol, "panelLineSymbol");
     this.panelLineSymbol.BackgroundImage = null;
     this.panelLineSymbol.Controls.Add(this.tabControl1);
     this.panelLineSymbol.Font = null;
     this.panelLineSymbol.Name = "panelLineSymbol";
     //
     // tabControl1
     //
     this.tabControl1.AccessibleDescription = null;
     this.tabControl1.AccessibleName        = null;
     resources.ApplyResources(this.tabControl1, "tabControl1");
     this.tabControl1.BackgroundImage = null;
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Font          = null;
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.AccessibleDescription = null;
     this.tabPage1.AccessibleName        = null;
     resources.ApplyResources(this.tabPage1, "tabPage1");
     this.tabPage1.BackgroundImage = null;
     this.tabPage1.Controls.Add(this.propertyGrid);
     this.tabPage1.Font = null;
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // propertyGrid
     //
     this.propertyGrid.AccessibleDescription = null;
     this.propertyGrid.AccessibleName        = null;
     resources.ApplyResources(this.propertyGrid, "propertyGrid");
     this.propertyGrid.BackgroundImage       = null;
     this.propertyGrid.Font                  = null;
     this.propertyGrid.HelpForeColor         = System.Drawing.SystemColors.Control;
     this.propertyGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Name                  = "propertyGrid";
     this.propertyGrid.ToolbarVisible        = false;
     this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
     //
     // panelFillSymbol
     //
     this.panelFillSymbol.AccessibleDescription = null;
     this.panelFillSymbol.AccessibleName        = null;
     resources.ApplyResources(this.panelFillSymbol, "panelFillSymbol");
     this.panelFillSymbol.BackgroundImage = null;
     this.panelFillSymbol.Controls.Add(this.panelLineSymbol);
     this.panelFillSymbol.Font = null;
     this.panelFillSymbol.Name = "panelFillSymbol";
     //
     // PropertyForm_SimpleFillSymbol
     //
     this.AccessibleDescription = null;
     this.AccessibleName        = null;
     resources.ApplyResources(this, "$this");
     this.BackgroundImage = null;
     this.Controls.Add(this.panelFillSymbol);
     this.Font  = null;
     this.Icon  = null;
     this.Name  = "PropertyForm_SimpleFillSymbol";
     this.Load += new System.EventHandler(this.PropertyForm_SimpleFillSymbol_Load);
     this.panelLineSymbol.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.panelFillSymbol.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Effects));
     this.Frame2_1          = new System.Windows.Forms.GroupBox();
     this.lblDelay          = new System.Windows.Forms.Label();
     this.TxtTipDelay       = new System.Windows.Forms.TextBox();
     this.cmbTipType        = new System.Windows.Forms.ComboBox();
     this.ChkHUD            = new System.Windows.Forms.CheckBox();
     this.ChkArrow          = new System.Windows.Forms.CheckBox();
     this.ChkTip            = new System.Windows.Forms.CheckBox();
     this.LblTips           = new System.Windows.Forms.Label();
     this.Frame2            = new System.Windows.Forms.GroupBox();
     this.lblLatVal         = new System.Windows.Forms.Label();
     this.LblLonVal         = new System.Windows.Forms.Label();
     this.LblAltVal         = new System.Windows.Forms.Label();
     this.LblLat            = new System.Windows.Forms.Label();
     this.LblLon            = new System.Windows.Forms.Label();
     this.LblALt            = new System.Windows.Forms.Label();
     this._Frame2_0         = new System.Windows.Forms.GroupBox();
     this.CmdAmbient        = new System.Windows.Forms.Button();
     this.TxtAmbient        = new System.Windows.Forms.TextBox();
     this.CmdSetSun         = new System.Windows.Forms.Button();
     this.chkSun            = new System.Windows.Forms.CheckBox();
     this.Label2            = new System.Windows.Forms.Label();
     this.colorDialog1      = new System.Windows.Forms.ColorDialog();
     this.axToolbarControl1 = new ESRI.ArcGIS.Controls.AxToolbarControl();
     this.axTOCControl1     = new ESRI.ArcGIS.Controls.AxTOCControl();
     this.axGlobeControl1   = new ESRI.ArcGIS.Controls.AxGlobeControl();
     this.axLicenseControl1 = new ESRI.ArcGIS.Controls.AxLicenseControl();
     this.Frame2_1.SuspendLayout();
     this.Frame2.SuspendLayout();
     this._Frame2_0.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).BeginInit();
     this.SuspendLayout();
     //
     // Frame2_1
     //
     this.Frame2_1.BackColor = System.Drawing.SystemColors.Control;
     this.Frame2_1.Controls.Add(this.lblDelay);
     this.Frame2_1.Controls.Add(this.TxtTipDelay);
     this.Frame2_1.Controls.Add(this.cmbTipType);
     this.Frame2_1.Controls.Add(this.ChkHUD);
     this.Frame2_1.Controls.Add(this.ChkArrow);
     this.Frame2_1.Controls.Add(this.ChkTip);
     this.Frame2_1.Controls.Add(this.LblTips);
     this.Frame2_1.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Frame2_1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame2_1.Location    = new System.Drawing.Point(256, 376);
     this.Frame2_1.Name        = "Frame2_1";
     this.Frame2_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame2_1.Size        = new System.Drawing.Size(224, 69);
     this.Frame2_1.TabIndex    = 16;
     this.Frame2_1.TabStop     = false;
     this.Frame2_1.Text        = "HUD";
     //
     // lblDelay
     //
     this.lblDelay.BackColor   = System.Drawing.SystemColors.Control;
     this.lblDelay.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblDelay.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblDelay.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.lblDelay.Location    = new System.Drawing.Point(136, 9);
     this.lblDelay.Name        = "lblDelay";
     this.lblDelay.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblDelay.Size        = new System.Drawing.Size(72, 13);
     this.lblDelay.TabIndex    = 18;
     this.lblDelay.Text        = "Delay(mSec.)";
     //
     // TxtTipDelay
     //
     this.TxtTipDelay.AcceptsReturn = true;
     this.TxtTipDelay.AutoSize      = false;
     this.TxtTipDelay.BackColor     = System.Drawing.SystemColors.Window;
     this.TxtTipDelay.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.TxtTipDelay.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.TxtTipDelay.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.TxtTipDelay.Location      = new System.Drawing.Point(160, 24);
     this.TxtTipDelay.MaxLength     = 0;
     this.TxtTipDelay.Name          = "TxtTipDelay";
     this.TxtTipDelay.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.TxtTipDelay.Size          = new System.Drawing.Size(48, 15);
     this.TxtTipDelay.TabIndex      = 16;
     this.TxtTipDelay.Text          = "500";
     //
     // cmbTipType
     //
     this.cmbTipType.BackColor             = System.Drawing.SystemColors.Window;
     this.cmbTipType.Cursor                = System.Windows.Forms.Cursors.Default;
     this.cmbTipType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbTipType.Font                  = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmbTipType.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.cmbTipType.Location              = new System.Drawing.Point(69, 42);
     this.cmbTipType.Name                  = "cmbTipType";
     this.cmbTipType.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.cmbTipType.Size                  = new System.Drawing.Size(139, 22);
     this.cmbTipType.TabIndex              = 17;
     this.cmbTipType.SelectedIndexChanged += new System.EventHandler(this.cmbTipType_SelectedIndexChanged);
     //
     // ChkHUD
     //
     this.ChkHUD.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkHUD.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkHUD.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkHUD.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkHUD.Location        = new System.Drawing.Point(13, 19);
     this.ChkHUD.Name            = "ChkHUD";
     this.ChkHUD.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkHUD.Size            = new System.Drawing.Size(51, 16);
     this.ChkHUD.TabIndex        = 15;
     this.ChkHUD.Text            = "HUD";
     this.ChkHUD.CheckedChanged += new System.EventHandler(this.ChkHUD_CheckedChanged);
     //
     // ChkArrow
     //
     this.ChkArrow.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkArrow.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkArrow.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkArrow.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkArrow.Location        = new System.Drawing.Point(13, 33);
     this.ChkArrow.Name            = "ChkArrow";
     this.ChkArrow.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkArrow.Size            = new System.Drawing.Size(59, 31);
     this.ChkArrow.TabIndex        = 14;
     this.ChkArrow.Text            = "North Arrow";
     this.ChkArrow.CheckedChanged += new System.EventHandler(this.ChkArrow_CheckedChanged);
     //
     // ChkTip
     //
     this.ChkTip.BackColor       = System.Drawing.SystemColors.Control;
     this.ChkTip.Cursor          = System.Windows.Forms.Cursors.Default;
     this.ChkTip.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ChkTip.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.ChkTip.Location        = new System.Drawing.Point(69, 25);
     this.ChkTip.Name            = "ChkTip";
     this.ChkTip.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ChkTip.Size            = new System.Drawing.Size(14, 15);
     this.ChkTip.TabIndex        = 20;
     this.ChkTip.Text            = "Check1";
     this.ChkTip.CheckedChanged += new System.EventHandler(this.ChkTip_CheckedChanged);
     //
     // LblTips
     //
     this.LblTips.BackColor   = System.Drawing.SystemColors.Control;
     this.LblTips.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblTips.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblTips.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblTips.Location    = new System.Drawing.Point(84, 16);
     this.LblTips.Name        = "LblTips";
     this.LblTips.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblTips.Size        = new System.Drawing.Size(58, 28);
     this.LblTips.TabIndex    = 19;
     this.LblTips.Text        = "Enable Globe Tips";
     //
     // Frame2
     //
     this.Frame2.BackColor = System.Drawing.SystemColors.Control;
     this.Frame2.Controls.Add(this.lblLatVal);
     this.Frame2.Controls.Add(this.LblLonVal);
     this.Frame2.Controls.Add(this.LblAltVal);
     this.Frame2.Controls.Add(this.LblLat);
     this.Frame2.Controls.Add(this.LblLon);
     this.Frame2.Controls.Add(this.LblALt);
     this.Frame2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Frame2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame2.Location    = new System.Drawing.Point(488, 376);
     this.Frame2.Name        = "Frame2";
     this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame2.Size        = new System.Drawing.Size(236, 69);
     this.Frame2.TabIndex    = 15;
     this.Frame2.TabStop     = false;
     this.Frame2.Text        = "Alternate HUD";
     //
     // lblLatVal
     //
     this.lblLatVal.BackColor   = System.Drawing.SystemColors.Control;
     this.lblLatVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblLatVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblLatVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.lblLatVal.Location    = new System.Drawing.Point(33, 30);
     this.lblLatVal.Name        = "lblLatVal";
     this.lblLatVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblLatVal.Size        = new System.Drawing.Size(86, 13);
     this.lblLatVal.TabIndex    = 9;
     this.lblLatVal.Text        = "lblLatVal";
     //
     // LblLonVal
     //
     this.LblLonVal.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLonVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLonVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLonVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLonVal.Location    = new System.Drawing.Point(33, 45);
     this.LblLonVal.Name        = "LblLonVal";
     this.LblLonVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLonVal.Size        = new System.Drawing.Size(86, 13);
     this.LblLonVal.TabIndex    = 7;
     this.LblLonVal.Text        = "LblLonVal";
     //
     // LblAltVal
     //
     this.LblAltVal.BackColor   = System.Drawing.SystemColors.Control;
     this.LblAltVal.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblAltVal.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblAltVal.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblAltVal.Location    = new System.Drawing.Point(134, 44);
     this.LblAltVal.Name        = "LblAltVal";
     this.LblAltVal.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblAltVal.Size        = new System.Drawing.Size(86, 11);
     this.LblAltVal.TabIndex    = 8;
     this.LblAltVal.Text        = "LblAltVal";
     //
     // LblLat
     //
     this.LblLat.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLat.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLat.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLat.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLat.Location    = new System.Drawing.Point(8, 32);
     this.LblLat.Name        = "LblLat";
     this.LblLat.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLat.Size        = new System.Drawing.Size(24, 15);
     this.LblLat.TabIndex    = 12;
     this.LblLat.Text        = "Lat:";
     //
     // LblLon
     //
     this.LblLon.BackColor   = System.Drawing.SystemColors.Control;
     this.LblLon.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblLon.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblLon.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblLon.Location    = new System.Drawing.Point(9, 46);
     this.LblLon.Name        = "LblLon";
     this.LblLon.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblLon.Size        = new System.Drawing.Size(27, 16);
     this.LblLon.TabIndex    = 11;
     this.LblLon.Text        = "Lon:";
     //
     // LblALt
     //
     this.LblALt.BackColor   = System.Drawing.SystemColors.Control;
     this.LblALt.Cursor      = System.Windows.Forms.Cursors.Default;
     this.LblALt.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.LblALt.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.LblALt.Location    = new System.Drawing.Point(133, 23);
     this.LblALt.Name        = "LblALt";
     this.LblALt.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.LblALt.Size        = new System.Drawing.Size(83, 19);
     this.LblALt.TabIndex    = 10;
     this.LblALt.Text        = "Alt (in Kms.)";
     //
     // _Frame2_0
     //
     this._Frame2_0.BackColor = System.Drawing.SystemColors.Control;
     this._Frame2_0.Controls.Add(this.CmdAmbient);
     this._Frame2_0.Controls.Add(this.TxtAmbient);
     this._Frame2_0.Controls.Add(this.CmdSetSun);
     this._Frame2_0.Controls.Add(this.chkSun);
     this._Frame2_0.Controls.Add(this.Label2);
     this._Frame2_0.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._Frame2_0.ForeColor   = System.Drawing.SystemColors.ControlText;
     this._Frame2_0.Location    = new System.Drawing.Point(8, 376);
     this._Frame2_0.Name        = "_Frame2_0";
     this._Frame2_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Frame2_0.Size        = new System.Drawing.Size(236, 69);
     this._Frame2_0.TabIndex    = 14;
     this._Frame2_0.TabStop     = false;
     this._Frame2_0.Text        = "Sun and Ambient Light Prop";
     //
     // CmdAmbient
     //
     this.CmdAmbient.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdAmbient.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdAmbient.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdAmbient.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdAmbient.Location    = new System.Drawing.Point(10, 43);
     this.CmdAmbient.Name        = "CmdAmbient";
     this.CmdAmbient.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdAmbient.Size        = new System.Drawing.Size(78, 22);
     this.CmdAmbient.TabIndex    = 4;
     this.CmdAmbient.Text        = "Set Ambient";
     this.CmdAmbient.Click      += new System.EventHandler(this.CmdAmbient_Click);
     //
     // TxtAmbient
     //
     this.TxtAmbient.AcceptsReturn = true;
     this.TxtAmbient.AutoSize      = false;
     this.TxtAmbient.BackColor     = System.Drawing.SystemColors.Window;
     this.TxtAmbient.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.TxtAmbient.Font          = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.TxtAmbient.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.TxtAmbient.Location      = new System.Drawing.Point(168, 45);
     this.TxtAmbient.MaxLength     = 0;
     this.TxtAmbient.Name          = "TxtAmbient";
     this.TxtAmbient.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.TxtAmbient.Size          = new System.Drawing.Size(48, 20);
     this.TxtAmbient.TabIndex      = 3;
     this.TxtAmbient.Text          = "";
     //
     // CmdSetSun
     //
     this.CmdSetSun.BackColor   = System.Drawing.SystemColors.Control;
     this.CmdSetSun.Cursor      = System.Windows.Forms.Cursors.Default;
     this.CmdSetSun.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.CmdSetSun.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.CmdSetSun.Location    = new System.Drawing.Point(144, 15);
     this.CmdSetSun.Name        = "CmdSetSun";
     this.CmdSetSun.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.CmdSetSun.Size        = new System.Drawing.Size(80, 20);
     this.CmdSetSun.TabIndex    = 2;
     this.CmdSetSun.Text        = "Set Sun Color";
     this.CmdSetSun.Click      += new System.EventHandler(this.CmdSetSun_Click);
     //
     // chkSun
     //
     this.chkSun.BackColor       = System.Drawing.SystemColors.Control;
     this.chkSun.Cursor          = System.Windows.Forms.Cursors.Default;
     this.chkSun.Font            = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkSun.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.chkSun.Location        = new System.Drawing.Point(15, 17);
     this.chkSun.Name            = "chkSun";
     this.chkSun.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.chkSun.Size            = new System.Drawing.Size(81, 22);
     this.chkSun.TabIndex        = 1;
     this.chkSun.Text            = "Enable Sun";
     this.chkSun.CheckedChanged += new System.EventHandler(this.chkSun_CheckedChanged);
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(96, 48);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(64, 16);
     this.Label2.TabIndex    = 5;
     this.Label2.Text        = "Values  0 -1";
     //
     // axToolbarControl1
     //
     this.axToolbarControl1.Location = new System.Drawing.Point(8, 8);
     this.axToolbarControl1.Name     = "axToolbarControl1";
     this.axToolbarControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axToolbarControl1.OcxState")));
     this.axToolbarControl1.Size     = new System.Drawing.Size(720, 28);
     this.axToolbarControl1.TabIndex = 17;
     //
     // axTOCControl1
     //
     this.axTOCControl1.Location = new System.Drawing.Point(8, 40);
     this.axTOCControl1.Name     = "axTOCControl1";
     this.axTOCControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTOCControl1.OcxState")));
     this.axTOCControl1.Size     = new System.Drawing.Size(192, 328);
     this.axTOCControl1.TabIndex = 18;
     //
     // axGlobeControl1
     //
     this.axGlobeControl1.Location         = new System.Drawing.Point(208, 40);
     this.axGlobeControl1.Name             = "axGlobeControl1";
     this.axGlobeControl1.OcxState         = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGlobeControl1.OcxState")));
     this.axGlobeControl1.Size             = new System.Drawing.Size(520, 328);
     this.axGlobeControl1.TabIndex         = 19;
     this.axGlobeControl1.OnGlobeReplaced += new ESRI.ArcGIS.Controls.IGlobeControlEvents_Ax_OnGlobeReplacedEventHandler(this.axGlobeControl1_OnGlobeReplaced);
     //
     // axLicenseControl1
     //
     this.axLicenseControl1.Enabled  = true;
     this.axLicenseControl1.Location = new System.Drawing.Point(512, 56);
     this.axLicenseControl1.Name     = "axLicenseControl1";
     this.axLicenseControl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axLicenseControl1.OcxState")));
     this.axLicenseControl1.Size     = new System.Drawing.Size(200, 50);
     this.axLicenseControl1.TabIndex = 20;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(736, 454);
     this.Controls.Add(this.axLicenseControl1);
     this.Controls.Add(this.axGlobeControl1);
     this.Controls.Add(this.axTOCControl1);
     this.Controls.Add(this.axToolbarControl1);
     this.Controls.Add(this.Frame2_1);
     this.Controls.Add(this.Frame2);
     this.Controls.Add(this._Frame2_0);
     this.Name  = "Form1";
     this.Text  = "GlobeControl";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Frame2_1.ResumeLayout(false);
     this.Frame2.ResumeLayout(false);
     this._Frame2_0.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axGlobeControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axLicenseControl1)).EndInit();
     this.ResumeLayout(false);
 }
Example #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.saveToLabel           = new System.Windows.Forms.Label();
     this.folderTextBox         = new System.Windows.Forms.TextBox();
     this.browseButton          = new System.Windows.Forms.Button();
     this.folderSelectionDialog = new System.Windows.Forms.FolderBrowserDialog();
     this.resizeCheckbox        = new System.Windows.Forms.CheckBox();
     this.windowHeight          = new System.Windows.Forms.NumericUpDown();
     this.xLabel              = new System.Windows.Forms.Label();
     this.windowWidth         = new System.Windows.Forms.NumericUpDown();
     this.opaqueCheckbox      = new System.Windows.Forms.CheckBox();
     this.opaqueType          = new System.Windows.Forms.ComboBox();
     this.opaqueVarLabel      = new System.Windows.Forms.Label();
     this.checkerValue        = new System.Windows.Forms.NumericUpDown();
     this.opaqueGroupBox      = new System.Windows.Forms.GroupBox();
     this.opaqueColorHexBox   = new System.Windows.Forms.TextBox();
     this.opaqueColorDisplay  = new AeroShot.ColorDisplay();
     this.pxLabel             = new System.Windows.Forms.Label();
     this.opaqueLabel         = new System.Windows.Forms.Label();
     this.opaqueHashLabel     = new System.Windows.Forms.Label();
     this.aeroColorCheckbox   = new System.Windows.Forms.CheckBox();
     this.aeroColorGroupBox   = new System.Windows.Forms.GroupBox();
     this.aeroColorLabel      = new System.Windows.Forms.Label();
     this.aeroColorColorLabel = new System.Windows.Forms.Label();
     this.aeroColorHexBox     = new System.Windows.Forms.TextBox();
     this.aeroColorDisplay    = new AeroShot.ColorDisplay();
     this.aeroColorHashLabel  = new System.Windows.Forms.Label();
     this.aeroColorDialog     = new System.Windows.Forms.ColorDialog();
     this.resizeGroupBox      = new System.Windows.Forms.GroupBox();
     this.resizeLabel         = new System.Windows.Forms.Label();
     this.opaqueColorDialog   = new System.Windows.Forms.ColorDialog();
     this.diskButton          = new System.Windows.Forms.RadioButton();
     this.orLabel             = new System.Windows.Forms.Label();
     this.clipboardButton     = new System.Windows.Forms.RadioButton();
     this.mouseCheckbox       = new System.Windows.Forms.CheckBox();
     this.mouseGroupBox       = new System.Windows.Forms.GroupBox();
     this.mouseLabel          = new System.Windows.Forms.Label();
     this.delayCheckbox       = new System.Windows.Forms.CheckBox();
     this.delayGroupBox       = new System.Windows.Forms.GroupBox();
     this.delayLabel          = new System.Windows.Forms.Label();
     this.delaySeconds        = new System.Windows.Forms.NumericUpDown();
     this.secondsLabel        = new System.Windows.Forms.Label();
     this.clearTypeCheckbox   = new System.Windows.Forms.CheckBox();
     this.clearTypeGroupBox   = new System.Windows.Forms.GroupBox();
     this.clearTypeLabel      = new System.Windows.Forms.Label();
     this.cancelButton        = new System.Windows.Forms.Button();
     this.okButton            = new System.Windows.Forms.Button();
     this.shadowGroupBox      = new System.Windows.Forms.GroupBox();
     this.shadowLabel         = new System.Windows.Forms.Label();
     this.shadowCheckbox      = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.windowHeight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.windowWidth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkerValue)).BeginInit();
     this.opaqueGroupBox.SuspendLayout();
     this.aeroColorGroupBox.SuspendLayout();
     this.resizeGroupBox.SuspendLayout();
     this.mouseGroupBox.SuspendLayout();
     this.delayGroupBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.delaySeconds)).BeginInit();
     this.clearTypeGroupBox.SuspendLayout();
     this.shadowGroupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // saveToLabel
     //
     this.saveToLabel.AutoSize  = true;
     this.saveToLabel.BackColor = System.Drawing.Color.Transparent;
     this.saveToLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.saveToLabel.Location  = new System.Drawing.Point(9, 9);
     this.saveToLabel.Name      = "saveToLabel";
     this.saveToLabel.Size      = new System.Drawing.Size(108, 13);
     this.saveToLabel.TabIndex  = 3;
     this.saveToLabel.Text      = "Save screenshots to";
     //
     // folderTextBox
     //
     this.folderTextBox.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.folderTextBox.Location = new System.Drawing.Point(12, 25);
     this.folderTextBox.Name     = "folderTextBox";
     this.folderTextBox.Size     = new System.Drawing.Size(309, 22);
     this.folderTextBox.TabIndex = 7;
     //
     // browseButton
     //
     this.browseButton.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.browseButton.Location = new System.Drawing.Point(327, 24);
     this.browseButton.Name     = "browseButton";
     this.browseButton.Size     = new System.Drawing.Size(90, 23);
     this.browseButton.TabIndex = 8;
     this.browseButton.Text     = "Browse";
     this.browseButton.UseVisualStyleBackColor = true;
     this.browseButton.Click += new System.EventHandler(this.BrowseButtonClick);
     //
     // folderSelectionDialog
     //
     this.folderSelectionDialog.Description = "Please select the folder you wish screenshots to be saved to.\r\nFilenames are dete" +
                                              "rmined by the title of the window you are capturing.";
     //
     // resizeCheckbox
     //
     this.resizeCheckbox.AutoSize  = true;
     this.resizeCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.resizeCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.resizeCheckbox.Location  = new System.Drawing.Point(19, 53);
     this.resizeCheckbox.Name      = "resizeCheckbox";
     this.resizeCheckbox.Size      = new System.Drawing.Size(103, 17);
     this.resizeCheckbox.TabIndex  = 9;
     this.resizeCheckbox.Text      = "Resize window";
     this.resizeCheckbox.UseVisualStyleBackColor = false;
     this.resizeCheckbox.CheckedChanged         += new System.EventHandler(this.ResizeCheckboxStateChange);
     //
     // windowHeight
     //
     this.windowHeight.Location = new System.Drawing.Point(338, 25);
     this.windowHeight.Maximum  = new decimal(new int[] {
         16777215,
         0,
         0,
         0
     });
     this.windowHeight.Minimum = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.windowHeight.Name     = "windowHeight";
     this.windowHeight.Size     = new System.Drawing.Size(60, 20);
     this.windowHeight.TabIndex = 14;
     this.windowHeight.Value    = new decimal(new int[] {
         480,
         0,
         0,
         0
     });
     //
     // xLabel
     //
     this.xLabel.AutoSize = true;
     this.xLabel.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xLabel.Location = new System.Drawing.Point(324, 27);
     this.xLabel.Name     = "xLabel";
     this.xLabel.Size     = new System.Drawing.Size(12, 13);
     this.xLabel.TabIndex = 13;
     this.xLabel.Text     = "x";
     //
     // windowWidth
     //
     this.windowWidth.Location = new System.Drawing.Point(262, 25);
     this.windowWidth.Maximum  = new decimal(new int[] {
         16777215,
         0,
         0,
         0
     });
     this.windowWidth.Minimum = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.windowWidth.Name     = "windowWidth";
     this.windowWidth.Size     = new System.Drawing.Size(60, 20);
     this.windowWidth.TabIndex = 12;
     this.windowWidth.Value    = new decimal(new int[] {
         640,
         0,
         0,
         0
     });
     //
     // opaqueCheckbox
     //
     this.opaqueCheckbox.AutoSize  = true;
     this.opaqueCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.opaqueCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueCheckbox.Location  = new System.Drawing.Point(19, 114);
     this.opaqueCheckbox.Name      = "opaqueCheckbox";
     this.opaqueCheckbox.Size      = new System.Drawing.Size(134, 17);
     this.opaqueCheckbox.TabIndex  = 15;
     this.opaqueCheckbox.Text      = "Opaque background";
     this.opaqueCheckbox.UseVisualStyleBackColor = false;
     this.opaqueCheckbox.CheckedChanged         += new System.EventHandler(this.OpaqueCheckboxStateChange);
     //
     // opaqueType
     //
     this.opaqueType.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.opaqueType.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueType.FormattingEnabled = true;
     this.opaqueType.Items.AddRange(new object[] {
         "Checkerboard",
         "Solid color"
     });
     this.opaqueType.Location              = new System.Drawing.Point(195, 19);
     this.opaqueType.Name                  = "opaqueType";
     this.opaqueType.Size                  = new System.Drawing.Size(204, 21);
     this.opaqueType.TabIndex              = 18;
     this.opaqueType.SelectedIndexChanged += new System.EventHandler(this.OpaqueTypeItemChange);
     //
     // opaqueVarLabel
     //
     this.opaqueVarLabel.AutoSize  = true;
     this.opaqueVarLabel.BackColor = System.Drawing.Color.Transparent;
     this.opaqueVarLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueVarLabel.Location  = new System.Drawing.Point(192, 48);
     this.opaqueVarLabel.Name      = "opaqueVarLabel";
     this.opaqueVarLabel.Size      = new System.Drawing.Size(28, 13);
     this.opaqueVarLabel.TabIndex  = 19;
     this.opaqueVarLabel.Text      = "VAR";
     //
     // checkerValue
     //
     this.checkerValue.Location = new System.Drawing.Point(327, 46);
     this.checkerValue.Maximum  = new decimal(new int[] {
         256,
         0,
         0,
         0
     });
     this.checkerValue.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.checkerValue.Name     = "checkerValue";
     this.checkerValue.Size     = new System.Drawing.Size(48, 20);
     this.checkerValue.TabIndex = 23;
     this.checkerValue.Value    = new decimal(new int[] {
         8,
         0,
         0,
         0
     });
     //
     // opaqueGroupBox
     //
     this.opaqueGroupBox.Controls.Add(this.opaqueColorHexBox);
     this.opaqueGroupBox.Controls.Add(this.opaqueColorDisplay);
     this.opaqueGroupBox.Controls.Add(this.pxLabel);
     this.opaqueGroupBox.Controls.Add(this.opaqueVarLabel);
     this.opaqueGroupBox.Controls.Add(this.checkerValue);
     this.opaqueGroupBox.Controls.Add(this.opaqueType);
     this.opaqueGroupBox.Controls.Add(this.opaqueLabel);
     this.opaqueGroupBox.Controls.Add(this.opaqueHashLabel);
     this.opaqueGroupBox.Location = new System.Drawing.Point(12, 114);
     this.opaqueGroupBox.Name     = "opaqueGroupBox";
     this.opaqueGroupBox.Size     = new System.Drawing.Size(405, 76);
     this.opaqueGroupBox.TabIndex = 16;
     this.opaqueGroupBox.TabStop  = false;
     //
     // opaqueColorHexBox
     //
     this.opaqueColorHexBox.Font         = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueColorHexBox.Location     = new System.Drawing.Point(265, 46);
     this.opaqueColorHexBox.MaxLength    = 6;
     this.opaqueColorHexBox.Name         = "opaqueColorHexBox";
     this.opaqueColorHexBox.Size         = new System.Drawing.Size(56, 20);
     this.opaqueColorHexBox.TabIndex     = 21;
     this.opaqueColorHexBox.Text         = "FFFFFF";
     this.opaqueColorHexBox.TextChanged += new System.EventHandler(this.opaqueColorHexBoxTextChange);
     //
     // opaqueColorDisplay
     //
     this.opaqueColorDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.opaqueColorDisplay.Color       = System.Drawing.Color.White;
     this.opaqueColorDisplay.Location    = new System.Drawing.Point(327, 46);
     this.opaqueColorDisplay.Name        = "opaqueColorDisplay";
     this.opaqueColorDisplay.Size        = new System.Drawing.Size(72, 19);
     this.opaqueColorDisplay.TabIndex    = 22;
     this.opaqueColorDisplay.Click      += new System.EventHandler(this.opaqueColorDisplayClick);
     //
     // pxLabel
     //
     this.pxLabel.AutoSize = true;
     this.pxLabel.Location = new System.Drawing.Point(381, 48);
     this.pxLabel.Name     = "pxLabel";
     this.pxLabel.Size     = new System.Drawing.Size(18, 13);
     this.pxLabel.TabIndex = 24;
     this.pxLabel.Text     = "px";
     //
     // opaqueLabel
     //
     this.opaqueLabel.AutoSize  = true;
     this.opaqueLabel.BackColor = System.Drawing.Color.Transparent;
     this.opaqueLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueLabel.Location  = new System.Drawing.Point(6, 20);
     this.opaqueLabel.Name      = "opaqueLabel";
     this.opaqueLabel.Size      = new System.Drawing.Size(162, 39);
     this.opaqueLabel.TabIndex  = 17;
     this.opaqueLabel.Text      = "Screenshots are saved with an\r\nopaque background, rather\r\nthan a transparent one." +
                                  "";
     //
     // opaqueHashLabel
     //
     this.opaqueHashLabel.AutoSize  = true;
     this.opaqueHashLabel.BackColor = System.Drawing.Color.Transparent;
     this.opaqueHashLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opaqueHashLabel.Location  = new System.Drawing.Point(250, 48);
     this.opaqueHashLabel.Name      = "opaqueHashLabel";
     this.opaqueHashLabel.Size      = new System.Drawing.Size(14, 13);
     this.opaqueHashLabel.TabIndex  = 20;
     this.opaqueHashLabel.Text      = "#";
     //
     // aeroColorCheckbox
     //
     this.aeroColorCheckbox.AutoSize  = true;
     this.aeroColorCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.aeroColorCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.aeroColorCheckbox.Location  = new System.Drawing.Point(19, 196);
     this.aeroColorCheckbox.Name      = "aeroColorCheckbox";
     this.aeroColorCheckbox.Size      = new System.Drawing.Size(126, 17);
     this.aeroColorCheckbox.TabIndex  = 50;
     this.aeroColorCheckbox.Text      = "Custom Glass Color";
     this.aeroColorCheckbox.UseVisualStyleBackColor = false;
     this.aeroColorCheckbox.CheckedChanged         += new System.EventHandler(this.AeroColorCheckboxStateChange);
     //
     // aeroColorGroupBox
     //
     this.aeroColorGroupBox.Controls.Add(this.aeroColorLabel);
     this.aeroColorGroupBox.Controls.Add(this.aeroColorColorLabel);
     this.aeroColorGroupBox.Controls.Add(this.aeroColorHexBox);
     this.aeroColorGroupBox.Controls.Add(this.aeroColorDisplay);
     this.aeroColorGroupBox.Controls.Add(this.aeroColorHashLabel);
     this.aeroColorGroupBox.Location = new System.Drawing.Point(12, 196);
     this.aeroColorGroupBox.Name     = "aeroColorGroupBox";
     this.aeroColorGroupBox.Size     = new System.Drawing.Size(405, 55);
     this.aeroColorGroupBox.TabIndex = 0;
     this.aeroColorGroupBox.TabStop  = false;
     //
     // aeroColorLabel
     //
     this.aeroColorLabel.AutoSize  = true;
     this.aeroColorLabel.BackColor = System.Drawing.Color.Transparent;
     this.aeroColorLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.aeroColorLabel.Location  = new System.Drawing.Point(6, 20);
     this.aeroColorLabel.Name      = "aeroColorLabel";
     this.aeroColorLabel.Size      = new System.Drawing.Size(153, 26);
     this.aeroColorLabel.TabIndex  = 0;
     this.aeroColorLabel.Text      = "The color of Aero Glass will\r\nbe changed for screenshots.";
     //
     // aeroColorColorLabel
     //
     this.aeroColorColorLabel.AutoSize  = true;
     this.aeroColorColorLabel.BackColor = System.Drawing.Color.Transparent;
     this.aeroColorColorLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.aeroColorColorLabel.Location  = new System.Drawing.Point(192, 27);
     this.aeroColorColorLabel.Name      = "aeroColorColorLabel";
     this.aeroColorColorLabel.Size      = new System.Drawing.Size(38, 13);
     this.aeroColorColorLabel.TabIndex  = 19;
     this.aeroColorColorLabel.Text      = "Color:";
     //
     // aeroColorHexBox
     //
     this.aeroColorHexBox.Font         = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.aeroColorHexBox.Location     = new System.Drawing.Point(265, 25);
     this.aeroColorHexBox.MaxLength    = 6;
     this.aeroColorHexBox.Name         = "aeroColorHexBox";
     this.aeroColorHexBox.Size         = new System.Drawing.Size(56, 20);
     this.aeroColorHexBox.TabIndex     = 21;
     this.aeroColorHexBox.Text         = "FFFFFF";
     this.aeroColorHexBox.TextChanged += new System.EventHandler(this.AeroColorTextboxTextChange);
     //
     // aeroColorDisplay
     //
     this.aeroColorDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.aeroColorDisplay.Color       = System.Drawing.Color.White;
     this.aeroColorDisplay.Location    = new System.Drawing.Point(327, 25);
     this.aeroColorDisplay.Name        = "aeroColorDisplay";
     this.aeroColorDisplay.Size        = new System.Drawing.Size(72, 19);
     this.aeroColorDisplay.TabIndex    = 0;
     this.aeroColorDisplay.Click      += new System.EventHandler(this.AeroColorDisplayClick);
     //
     // aeroColorHashLabel
     //
     this.aeroColorHashLabel.AutoSize  = true;
     this.aeroColorHashLabel.BackColor = System.Drawing.Color.Transparent;
     this.aeroColorHashLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.aeroColorHashLabel.Location  = new System.Drawing.Point(250, 27);
     this.aeroColorHashLabel.Name      = "aeroColorHashLabel";
     this.aeroColorHashLabel.Size      = new System.Drawing.Size(14, 13);
     this.aeroColorHashLabel.TabIndex  = 0;
     this.aeroColorHashLabel.Text      = "#";
     //
     // aeroColorDialog
     //
     this.aeroColorDialog.Color    = System.Drawing.Color.White;
     this.aeroColorDialog.FullOpen = true;
     //
     // resizeGroupBox
     //
     this.resizeGroupBox.Controls.Add(this.resizeLabel);
     this.resizeGroupBox.Controls.Add(this.windowHeight);
     this.resizeGroupBox.Controls.Add(this.windowWidth);
     this.resizeGroupBox.Controls.Add(this.xLabel);
     this.resizeGroupBox.Location = new System.Drawing.Point(12, 53);
     this.resizeGroupBox.Name     = "resizeGroupBox";
     this.resizeGroupBox.Size     = new System.Drawing.Size(405, 55);
     this.resizeGroupBox.TabIndex = 10;
     this.resizeGroupBox.TabStop  = false;
     //
     // resizeLabel
     //
     this.resizeLabel.AutoSize  = true;
     this.resizeLabel.BackColor = System.Drawing.Color.Transparent;
     this.resizeLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.resizeLabel.Location  = new System.Drawing.Point(6, 20);
     this.resizeLabel.Name      = "resizeLabel";
     this.resizeLabel.Size      = new System.Drawing.Size(239, 26);
     this.resizeLabel.TabIndex  = 11;
     this.resizeLabel.Text      = "Sets the exact resolution screenshots are\r\ncaptured in, if the window supports re" +
                                  "sizing.";
     //
     // opaqueColorDialog
     //
     this.opaqueColorDialog.Color    = System.Drawing.Color.White;
     this.opaqueColorDialog.FullOpen = true;
     //
     // diskButton
     //
     this.diskButton.AutoSize  = true;
     this.diskButton.BackColor = System.Drawing.Color.Transparent;
     this.diskButton.Font      = new System.Drawing.Font("Segoe UI", 8.25F);
     this.diskButton.Location  = new System.Drawing.Point(118, 7);
     this.diskButton.Name      = "diskButton";
     this.diskButton.Size      = new System.Drawing.Size(46, 17);
     this.diskButton.TabIndex  = 4;
     this.diskButton.TabStop   = true;
     this.diskButton.Text      = "disk";
     this.diskButton.UseVisualStyleBackColor = false;
     this.diskButton.CheckedChanged         += new System.EventHandler(this.DiskButtonStateChange);
     //
     // orLabel
     //
     this.orLabel.AutoSize  = true;
     this.orLabel.BackColor = System.Drawing.Color.Transparent;
     this.orLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.orLabel.Location  = new System.Drawing.Point(160, 9);
     this.orLabel.Name      = "orLabel";
     this.orLabel.Size      = new System.Drawing.Size(18, 13);
     this.orLabel.TabIndex  = 5;
     this.orLabel.Text      = "or";
     //
     // clipboardButton
     //
     this.clipboardButton.AutoSize  = true;
     this.clipboardButton.BackColor = System.Drawing.Color.Transparent;
     this.clipboardButton.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.clipboardButton.Location  = new System.Drawing.Point(180, 7);
     this.clipboardButton.Name      = "clipboardButton";
     this.clipboardButton.Size      = new System.Drawing.Size(74, 17);
     this.clipboardButton.TabIndex  = 6;
     this.clipboardButton.TabStop   = true;
     this.clipboardButton.Text      = "clipboard";
     this.clipboardButton.UseVisualStyleBackColor = false;
     this.clipboardButton.CheckedChanged         += new System.EventHandler(this.ClipboardButtonStateChange);
     //
     // mouseCheckbox
     //
     this.mouseCheckbox.AutoSize  = true;
     this.mouseCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.mouseCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mouseCheckbox.Location  = new System.Drawing.Point(19, 257);
     this.mouseCheckbox.Name      = "mouseCheckbox";
     this.mouseCheckbox.Size      = new System.Drawing.Size(145, 17);
     this.mouseCheckbox.TabIndex  = 25;
     this.mouseCheckbox.Text      = "Capture mouse pointer";
     this.mouseCheckbox.UseVisualStyleBackColor = false;
     this.mouseCheckbox.CheckedChanged         += new System.EventHandler(this.MouseCheckboxStateChange);
     //
     // mouseGroupBox
     //
     this.mouseGroupBox.Controls.Add(this.mouseLabel);
     this.mouseGroupBox.Location = new System.Drawing.Point(12, 257);
     this.mouseGroupBox.Name     = "mouseGroupBox";
     this.mouseGroupBox.Size     = new System.Drawing.Size(405, 42);
     this.mouseGroupBox.TabIndex = 26;
     this.mouseGroupBox.TabStop  = false;
     //
     // mouseLabel
     //
     this.mouseLabel.AutoSize  = true;
     this.mouseLabel.BackColor = System.Drawing.Color.Transparent;
     this.mouseLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mouseLabel.Location  = new System.Drawing.Point(6, 20);
     this.mouseLabel.Name      = "mouseLabel";
     this.mouseLabel.Size      = new System.Drawing.Size(310, 13);
     this.mouseLabel.TabIndex  = 27;
     this.mouseLabel.Text      = "The system mouse pointer will be preserved in screenshots.";
     //
     // delayCheckbox
     //
     this.delayCheckbox.AutoSize  = true;
     this.delayCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.delayCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.delayCheckbox.Location  = new System.Drawing.Point(19, 305);
     this.delayCheckbox.Name      = "delayCheckbox";
     this.delayCheckbox.Size      = new System.Drawing.Size(96, 17);
     this.delayCheckbox.TabIndex  = 28;
     this.delayCheckbox.Text      = "Delay capture";
     this.delayCheckbox.UseVisualStyleBackColor = false;
     this.delayCheckbox.CheckedChanged         += new System.EventHandler(this.DelayCheckboxStateChange);
     //
     // delayGroupBox
     //
     this.delayGroupBox.Controls.Add(this.delayLabel);
     this.delayGroupBox.Controls.Add(this.delaySeconds);
     this.delayGroupBox.Controls.Add(this.secondsLabel);
     this.delayGroupBox.Location = new System.Drawing.Point(12, 305);
     this.delayGroupBox.Name     = "delayGroupBox";
     this.delayGroupBox.Size     = new System.Drawing.Size(405, 55);
     this.delayGroupBox.TabIndex = 29;
     this.delayGroupBox.TabStop  = false;
     //
     // delayLabel
     //
     this.delayLabel.AutoSize  = true;
     this.delayLabel.BackColor = System.Drawing.Color.Transparent;
     this.delayLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.delayLabel.Location  = new System.Drawing.Point(6, 20);
     this.delayLabel.Name      = "delayLabel";
     this.delayLabel.Size      = new System.Drawing.Size(244, 13);
     this.delayLabel.TabIndex  = 30;
     this.delayLabel.Text      = "Adds a delay before screenshots are captured.";
     //
     // delaySeconds
     //
     this.delaySeconds.Location = new System.Drawing.Point(327, 25);
     this.delaySeconds.Maximum  = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.delaySeconds.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.delaySeconds.Name     = "delaySeconds";
     this.delaySeconds.Size     = new System.Drawing.Size(40, 20);
     this.delaySeconds.TabIndex = 31;
     this.delaySeconds.Value    = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     //
     // secondsLabel
     //
     this.secondsLabel.AutoSize = true;
     this.secondsLabel.Location = new System.Drawing.Point(375, 27);
     this.secondsLabel.Name     = "secondsLabel";
     this.secondsLabel.Size     = new System.Drawing.Size(24, 13);
     this.secondsLabel.TabIndex = 32;
     this.secondsLabel.Text     = "sec";
     //
     // clearTypeCheckbox
     //
     this.clearTypeCheckbox.AutoSize  = true;
     this.clearTypeCheckbox.BackColor = System.Drawing.Color.Transparent;
     this.clearTypeCheckbox.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.clearTypeCheckbox.Location  = new System.Drawing.Point(19, 366);
     this.clearTypeCheckbox.Name      = "clearTypeCheckbox";
     this.clearTypeCheckbox.Size      = new System.Drawing.Size(116, 17);
     this.clearTypeCheckbox.TabIndex  = 33;
     this.clearTypeCheckbox.Text      = "Disable ClearType";
     this.clearTypeCheckbox.UseVisualStyleBackColor = false;
     this.clearTypeCheckbox.CheckedChanged         += new System.EventHandler(this.ClearTypeCheckboxStateChange);
     //
     // clearTypeGroupBox
     //
     this.clearTypeGroupBox.Controls.Add(this.clearTypeLabel);
     this.clearTypeGroupBox.Location = new System.Drawing.Point(12, 366);
     this.clearTypeGroupBox.Name     = "clearTypeGroupBox";
     this.clearTypeGroupBox.Size     = new System.Drawing.Size(405, 55);
     this.clearTypeGroupBox.TabIndex = 34;
     this.clearTypeGroupBox.TabStop  = false;
     //
     // clearTypeLabel
     //
     this.clearTypeLabel.AutoSize  = true;
     this.clearTypeLabel.BackColor = System.Drawing.Color.Transparent;
     this.clearTypeLabel.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.clearTypeLabel.Location  = new System.Drawing.Point(6, 20);
     this.clearTypeLabel.Name      = "clearTypeLabel";
     this.clearTypeLabel.Size      = new System.Drawing.Size(374, 26);
     this.clearTypeLabel.TabIndex  = 35;
     this.clearTypeLabel.Text      = "ClearType font smoothing will be disabled while screenshots are being \r\ncaptured." +
                                     "";
     //
     // cancelButton
     //
     this.cancelButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.Location = new System.Drawing.Point(343, 475);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 36;
     this.cancelButton.Text     = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
     //
     // okButton
     //
     this.okButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.Location = new System.Drawing.Point(259, 475);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 37;
     this.okButton.Text     = "Save";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // shadowGroupBox
     //
     this.shadowGroupBox.Controls.Add(this.shadowLabel);
     this.shadowGroupBox.Location = new System.Drawing.Point(12, 427);
     this.shadowGroupBox.Name     = "shadowGroupBox";
     this.shadowGroupBox.Size     = new System.Drawing.Size(405, 42);
     this.shadowGroupBox.TabIndex = 51;
     this.shadowGroupBox.TabStop  = false;
     //
     // shadowLabel
     //
     this.shadowLabel.AutoSize = true;
     this.shadowLabel.Location = new System.Drawing.Point(6, 20);
     this.shadowLabel.Name     = "shadowLabel";
     this.shadowLabel.Size     = new System.Drawing.Size(366, 13);
     this.shadowLabel.TabIndex = 0;
     this.shadowLabel.Text     = "Shadows on windows will be disabled while screenshots are being captured.";
     //
     // shadowCheckbox
     //
     this.shadowCheckbox.AutoSize = true;
     this.shadowCheckbox.Location = new System.Drawing.Point(19, 426);
     this.shadowCheckbox.Name     = "shadowCheckbox";
     this.shadowCheckbox.Size     = new System.Drawing.Size(145, 17);
     this.shadowCheckbox.TabIndex = 0;
     this.shadowCheckbox.Text     = "Disable window shadows";
     this.shadowCheckbox.UseVisualStyleBackColor = true;
     this.shadowCheckbox.CheckedChanged         += new System.EventHandler(this.shadowCheckBox_CheckedChanged);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.ClientSize          = new System.Drawing.Size(430, 505);
     this.Controls.Add(this.shadowCheckbox);
     this.Controls.Add(this.shadowGroupBox);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.resizeCheckbox);
     this.Controls.Add(this.opaqueCheckbox);
     this.Controls.Add(this.aeroColorCheckbox);
     this.Controls.Add(this.mouseCheckbox);
     this.Controls.Add(this.delayCheckbox);
     this.Controls.Add(this.clearTypeCheckbox);
     this.Controls.Add(this.folderTextBox);
     this.Controls.Add(this.browseButton);
     this.Controls.Add(this.saveToLabel);
     this.Controls.Add(this.orLabel);
     this.Controls.Add(this.clipboardButton);
     this.Controls.Add(this.diskButton);
     this.Controls.Add(this.resizeGroupBox);
     this.Controls.Add(this.opaqueGroupBox);
     this.Controls.Add(this.mouseGroupBox);
     this.Controls.Add(this.delayGroupBox);
     this.Controls.Add(this.clearTypeGroupBox);
     this.Controls.Add(this.aeroColorGroupBox);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MainForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "{0} {1} - Settings";
     ((System.ComponentModel.ISupportInitialize)(this.windowHeight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.windowWidth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkerValue)).EndInit();
     this.opaqueGroupBox.ResumeLayout(false);
     this.opaqueGroupBox.PerformLayout();
     this.aeroColorGroupBox.ResumeLayout(false);
     this.aeroColorGroupBox.PerformLayout();
     this.resizeGroupBox.ResumeLayout(false);
     this.resizeGroupBox.PerformLayout();
     this.mouseGroupBox.ResumeLayout(false);
     this.mouseGroupBox.PerformLayout();
     this.delayGroupBox.ResumeLayout(false);
     this.delayGroupBox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.delaySeconds)).EndInit();
     this.clearTypeGroupBox.ResumeLayout(false);
     this.clearTypeGroupBox.PerformLayout();
     this.shadowGroupBox.ResumeLayout(false);
     this.shadowGroupBox.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(Oranikle.Studio.Controls.CtrlRichTextbox));
     toolStrip1           = new System.Windows.Forms.ToolStrip();
     bttnFont             = new System.Windows.Forms.ToolStripButton();
     bttnColour           = new System.Windows.Forms.ToolStripButton();
     bttnBackgroundColour = new System.Windows.Forms.ToolStripButton();
     toolStripSeparator2  = new System.Windows.Forms.ToolStripSeparator();
     bttnBold             = new System.Windows.Forms.ToolStripButton();
     bttnItalic           = new System.Windows.Forms.ToolStripButton();
     bttnUnderline        = new System.Windows.Forms.ToolStripButton();
     toolStripSeparator1  = new System.Windows.Forms.ToolStripSeparator();
     bttnLeftAlign        = new System.Windows.Forms.ToolStripButton();
     bttnCentreAlign      = new System.Windows.Forms.ToolStripButton();
     bttnRightAlign       = new System.Windows.Forms.ToolStripButton();
     ctrlRtf                    = new Oranikle.Studio.Controls.RichTextBoxEx();
     contextMenuStrip1          = new System.Windows.Forms.ContextMenuStrip(components);
     boldToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     italicToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     underlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator5        = new System.Windows.Forms.ToolStripSeparator();
     cutToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     copyToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     pasteToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     fontDialog1                = new System.Windows.Forms.FontDialog();
     colorDialog1               = new System.Windows.Forms.ColorDialog();
     toolStrip1.SuspendLayout();
     contextMenuStrip1.SuspendLayout();
     SuspendLayout();
     toolStrip1.BackColor = System.Drawing.Color.Transparent;
     toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     System.Windows.Forms.ToolStripItem[] toolStripItemArr1 = new System.Windows.Forms.ToolStripItem[] {
         bttnBold,
         bttnItalic,
         bttnUnderline,
         toolStripSeparator1,
         bttnLeftAlign,
         bttnCentreAlign,
         bttnRightAlign,
         toolStripSeparator2,
         bttnFont,
         bttnColour,
         bttnBackgroundColour
     };
     toolStrip1.Items.AddRange(toolStripItemArr1);
     toolStrip1.Location            = new System.Drawing.Point(0, 0);
     toolStrip1.Name                = "toolStrip1";
     toolStrip1.RenderMode          = System.Windows.Forms.ToolStripRenderMode.System;
     toolStrip1.Size                = new System.Drawing.Size(460, 25);
     toolStrip1.TabIndex            = 0;
     toolStrip1.Text                = "toolStrip1";
     bttnFont.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnFont.Image                 = Oranikle.Studio.Controls.Properties.Resources.Icon_Font_16;
     bttnFont.ImageTransparentColor = System.Drawing.Color.White;
     bttnFont.Name                              = "bttnFont";
     bttnFont.Size                              = new System.Drawing.Size(23, 22);
     bttnFont.Text                              = "toolStripButton4";
     bttnFont.ToolTipText                       = "Font";
     bttnFont.Click                            += new System.EventHandler(bttnFont_Click);
     bttnColour.DisplayStyle                    = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnColour.Image                           = Oranikle.Studio.Controls.Properties.Resources.Icon_Color_16;
     bttnColour.ImageTransparentColor           = System.Drawing.Color.White;
     bttnColour.Name                            = "bttnColour";
     bttnColour.Size                            = new System.Drawing.Size(23, 22);
     bttnColour.Text                            = "toolStripButton5";
     bttnColour.ToolTipText                     = "Colour";
     bttnColour.Click                          += new System.EventHandler(bttnColour_Click);
     bttnBackgroundColour.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnBackgroundColour.Image                 = Oranikle.Studio.Controls.Properties.Resources.Icon_FontColor_16;
     bttnBackgroundColour.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttnBackgroundColour.Name                  = "bttnBackgroundColour";
     bttnBackgroundColour.Size                  = new System.Drawing.Size(23, 22);
     bttnBackgroundColour.Text                  = "toolStripButton1";
     bttnBackgroundColour.ToolTipText           = "Background Colour";
     bttnBackgroundColour.Click                += new System.EventHandler(bttnBackgroundColour_Click);
     toolStripSeparator2.Name                   = "toolStripSeparator2";
     toolStripSeparator2.Size                   = new System.Drawing.Size(6, 25);
     bttnBold.DisplayStyle                      = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     bttnBold.Font                              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
     bttnBold.Image                             = (System.Drawing.Image)componentResourceManager.GetObject("bttnBold.Image");
     bttnBold.ImageTransparentColor             = System.Drawing.Color.Magenta;
     bttnBold.Name                              = "bttnBold";
     bttnBold.Size                              = new System.Drawing.Size(23, 22);
     bttnBold.Text                              = "B";
     bttnBold.ToolTipText                       = "Bold";
     bttnBold.Click                            += new System.EventHandler(bttnBold_Click);
     bttnItalic.DisplayStyle                    = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     bttnItalic.Font                            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, 0);
     bttnItalic.Image                           = (System.Drawing.Image)componentResourceManager.GetObject("bttnItalic.Image");
     bttnItalic.ImageTransparentColor           = System.Drawing.Color.Magenta;
     bttnItalic.Name                            = "bttnItalic";
     bttnItalic.Size                            = new System.Drawing.Size(23, 22);
     bttnItalic.Text                            = "I";
     bttnItalic.ToolTipText                     = "Italic";
     bttnItalic.Click                          += new System.EventHandler(bttnItalic_Click);
     bttnUnderline.BackColor                    = System.Drawing.Color.Transparent;
     bttnUnderline.DisplayStyle                 = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     bttnUnderline.Font                         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, 0);
     bttnUnderline.Image                        = (System.Drawing.Image)componentResourceManager.GetObject("bttnUnderline.Image");
     bttnUnderline.ImageTransparentColor        = System.Drawing.Color.Magenta;
     bttnUnderline.Name                         = "bttnUnderline";
     bttnUnderline.Size                         = new System.Drawing.Size(23, 22);
     bttnUnderline.Text                         = "U";
     bttnUnderline.ToolTipText                  = "Underline";
     bttnUnderline.Click                       += new System.EventHandler(bttnUnderline_Click);
     toolStripSeparator1.Name                   = "toolStripSeparator1";
     toolStripSeparator1.Size                   = new System.Drawing.Size(6, 25);
     bttnLeftAlign.DisplayStyle                 = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnLeftAlign.Image                        = Oranikle.Studio.Controls.Properties.Resources.Icon_AlignMiddleLeft_16;
     bttnLeftAlign.ImageTransparentColor        = System.Drawing.Color.Black;
     bttnLeftAlign.Name                         = "bttnLeftAlign";
     bttnLeftAlign.Size                         = new System.Drawing.Size(23, 22);
     bttnLeftAlign.Text                         = "toolStripButton1";
     bttnLeftAlign.ToolTipText                  = "Align Left";
     bttnLeftAlign.Click                       += new System.EventHandler(bttnLeftAlign_Click);
     bttnCentreAlign.DisplayStyle               = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnCentreAlign.Image                      = Oranikle.Studio.Controls.Properties.Resources.Icon_AlignMiddleCenter_16;
     bttnCentreAlign.ImageTransparentColor      = System.Drawing.Color.Black;
     bttnCentreAlign.Name                       = "bttnCentreAlign";
     bttnCentreAlign.Size                       = new System.Drawing.Size(23, 22);
     bttnCentreAlign.Text                       = "toolStripButton2";
     bttnCentreAlign.ToolTipText                = "Align Center";
     bttnCentreAlign.Click                     += new System.EventHandler(bttnCentreAlign_Click);
     bttnRightAlign.DisplayStyle                = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     bttnRightAlign.Image                       = Oranikle.Studio.Controls.Properties.Resources.Icon_AlignMiddleRight_16;
     bttnRightAlign.ImageTransparentColor       = System.Drawing.Color.Black;
     bttnRightAlign.Name                        = "bttnRightAlign";
     bttnRightAlign.Size                        = new System.Drawing.Size(23, 22);
     bttnRightAlign.Text                        = "toolStripButton3";
     bttnRightAlign.ToolTipText                 = "Align Right";
     bttnRightAlign.Click                      += new System.EventHandler(bttnRightAlign_Click);
     ctrlRtf.ContextMenuStrip                   = contextMenuStrip1;
     ctrlRtf.Dock     = System.Windows.Forms.DockStyle.Fill;
     ctrlRtf.Location = new System.Drawing.Point(0, 25);
     ctrlRtf.Name     = "ctrlRtf";
     ctrlRtf.Size     = new System.Drawing.Size(460, 227);
     ctrlRtf.TabIndex = 1;
     ctrlRtf.Text     = "";
     System.Windows.Forms.ToolStripItem[] toolStripItemArr2 = new System.Windows.Forms.ToolStripItem[] {
         boldToolStripMenuItem,
         italicToolStripMenuItem,
         underlineToolStripMenuItem,
         toolStripSeparator5,
         cutToolStripMenuItem,
         copyToolStripMenuItem,
         pasteToolStripMenuItem
     };
     contextMenuStrip1.Items.AddRange(toolStripItemArr2);
     contextMenuStrip1.Name                  = "contextMenuStrip1";
     contextMenuStrip1.Size                  = new System.Drawing.Size(159, 142);
     boldToolStripMenuItem.Name              = "boldToolStripMenuItem";
     boldToolStripMenuItem.ShortcutKeys      = System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.Control;
     boldToolStripMenuItem.Size              = new System.Drawing.Size(158, 22);
     boldToolStripMenuItem.Text              = "Bold";
     boldToolStripMenuItem.Click            += new System.EventHandler(boldToolStripMenuItem_Click);
     italicToolStripMenuItem.Name            = "italicToolStripMenuItem";
     italicToolStripMenuItem.ShortcutKeys    = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.Control;
     italicToolStripMenuItem.Size            = new System.Drawing.Size(158, 22);
     italicToolStripMenuItem.Text            = "Italic";
     italicToolStripMenuItem.Click          += new System.EventHandler(italicToolStripMenuItem_Click);
     underlineToolStripMenuItem.Name         = "underlineToolStripMenuItem";
     underlineToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.MButton | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control;
     underlineToolStripMenuItem.Size         = new System.Drawing.Size(158, 22);
     underlineToolStripMenuItem.Text         = "Underline";
     underlineToolStripMenuItem.Click       += new System.EventHandler(underlineToolStripMenuItem_Click);
     toolStripSeparator5.Name                = "toolStripSeparator5";
     toolStripSeparator5.Size                = new System.Drawing.Size(155, 6);
     cutToolStripMenuItem.Name               = "cutToolStripMenuItem";
     cutToolStripMenuItem.ShortcutKeys       = System.Windows.Forms.Keys.Back | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control;
     cutToolStripMenuItem.Size               = new System.Drawing.Size(158, 22);
     cutToolStripMenuItem.Text               = "Cut";
     cutToolStripMenuItem.Click             += new System.EventHandler(cutToolStripMenuItem_Click);
     copyToolStripMenuItem.Name              = "copyToolStripMenuItem";
     copyToolStripMenuItem.ShortcutKeys      = System.Windows.Forms.Keys.LButton | System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.Control;
     copyToolStripMenuItem.Size              = new System.Drawing.Size(158, 22);
     copyToolStripMenuItem.Text              = "Copy";
     copyToolStripMenuItem.Click            += new System.EventHandler(copyToolStripMenuItem_Click);
     pasteToolStripMenuItem.Name             = "pasteToolStripMenuItem";
     pasteToolStripMenuItem.ShortcutKeys     = System.Windows.Forms.Keys.RButton | System.Windows.Forms.Keys.MButton | System.Windows.Forms.Keys.ShiftKey | System.Windows.Forms.Keys.Control;
     pasteToolStripMenuItem.Size             = new System.Drawing.Size(158, 22);
     pasteToolStripMenuItem.Text             = "Paste";
     pasteToolStripMenuItem.Click           += new System.EventHandler(pasteToolStripMenuItem_Click);
     AutoScaleMode  = System.Windows.Forms.AutoScaleMode.None;
     base.BackColor = System.Drawing.Color.Transparent;
     Controls.Add(ctrlRtf);
     Controls.Add(toolStrip1);
     Name = "CtrlRichTextbox";
     Size = new System.Drawing.Size(460, 252);
     toolStrip1.ResumeLayout(false);
     toolStrip1.PerformLayout();
     contextMenuStrip1.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
Example #45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.colorDialog          = new System.Windows.Forms.ColorDialog();
     this.openFileDialog       = new System.Windows.Forms.OpenFileDialog();
     this.bttnImportTeamcolour = new System.Windows.Forms.Button();
     this.bttnOK              = new System.Windows.Forms.Button();
     this.bttnCancel          = new System.Windows.Forms.Button();
     this.txtDoWPath          = new System.Windows.Forms.TextBox();
     this.lblDoWPath          = new System.Windows.Forms.Label();
     this.bttnDoWPath         = new System.Windows.Forms.Button();
     this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
     this.pbBanner            = new System.Windows.Forms.PictureBox();
     this.lblBanner           = new System.Windows.Forms.Label();
     this.lblBadge            = new System.Windows.Forms.Label();
     this.pbBadge             = new System.Windows.Forms.PictureBox();
     this.bttnTrim2           = new System.Windows.Forms.Button();
     this.bttnWeapon          = new System.Windows.Forms.Button();
     this.bttnTrim            = new System.Windows.Forms.Button();
     this.bttnSecondary       = new System.Windows.Forms.Button();
     this.bttnPrimary         = new System.Windows.Forms.Button();
     this.bttnSave            = new System.Windows.Forms.Button();
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPage1            = new System.Windows.Forms.TabPage();
     this.rbAdvancedMode      = new System.Windows.Forms.RadioButton();
     this.rbBasicMode         = new System.Windows.Forms.RadioButton();
     this.label3              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.bttnTeamcolourPath  = new System.Windows.Forms.Button();
     this.txtTeamcolourPath   = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.bttnTexturePath     = new System.Windows.Forms.Button();
     this.txtTexturePath      = new System.Windows.Forms.TextBox();
     this.tabPage2            = new System.Windows.Forms.TabPage();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // bttnImportTeamcolour
     //
     this.bttnImportTeamcolour.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnImportTeamcolour.Location  = new System.Drawing.Point(16, 168);
     this.bttnImportTeamcolour.Name      = "bttnImportTeamcolour";
     this.bttnImportTeamcolour.Size      = new System.Drawing.Size(128, 23);
     this.bttnImportTeamcolour.TabIndex  = 3;
     this.bttnImportTeamcolour.Text      = "Import Teamcolour";
     this.bttnImportTeamcolour.Click    += new System.EventHandler(this.bttnImportTeamcolour_Click);
     //
     // bttnOK
     //
     this.bttnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnOK.Location  = new System.Drawing.Point(368, 240);
     this.bttnOK.Name      = "bttnOK";
     this.bttnOK.TabIndex  = 2;
     this.bttnOK.Text      = "OK";
     this.bttnOK.Click    += new System.EventHandler(this.bttnOK_Click);
     //
     // bttnCancel
     //
     this.bttnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnCancel.Location  = new System.Drawing.Point(280, 240);
     this.bttnCancel.Name      = "bttnCancel";
     this.bttnCancel.TabIndex  = 1;
     this.bttnCancel.Text      = "Cancel";
     this.bttnCancel.Click    += new System.EventHandler(this.bttnCancel_Click);
     //
     // txtDoWPath
     //
     this.txtDoWPath.Cursor       = System.Windows.Forms.Cursors.Default;
     this.txtDoWPath.Location     = new System.Drawing.Point(112, 8);
     this.txtDoWPath.Name         = "txtDoWPath";
     this.txtDoWPath.Size         = new System.Drawing.Size(240, 20);
     this.txtDoWPath.TabIndex     = 3;
     this.txtDoWPath.TabStop      = false;
     this.txtDoWPath.Text         = "";
     this.txtDoWPath.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.textbox_KeyDown);
     this.txtDoWPath.TextChanged += new System.EventHandler(this.textbox_TextChanged);
     this.txtDoWPath.Leave       += new System.EventHandler(this.txtDoWPath_Leave);
     //
     // lblDoWPath
     //
     this.lblDoWPath.Location  = new System.Drawing.Point(8, 8);
     this.lblDoWPath.Name      = "lblDoWPath";
     this.lblDoWPath.TabIndex  = 4;
     this.lblDoWPath.Text      = "Dawn of War Path:";
     this.lblDoWPath.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // bttnDoWPath
     //
     this.bttnDoWPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnDoWPath.Location  = new System.Drawing.Point(360, 8);
     this.bttnDoWPath.Name      = "bttnDoWPath";
     this.bttnDoWPath.Size      = new System.Drawing.Size(56, 23);
     this.bttnDoWPath.TabIndex  = 4;
     this.bttnDoWPath.Text      = "Select";
     this.bttnDoWPath.Click    += new System.EventHandler(this.bttnDoWPath_Click);
     //
     // pbBanner
     //
     this.pbBanner.Location = new System.Drawing.Point(296, 64);
     this.pbBanner.Name     = "pbBanner";
     this.pbBanner.Size     = new System.Drawing.Size(64, 96);
     this.pbBanner.TabIndex = 8;
     this.pbBanner.TabStop  = false;
     this.pbBanner.Click   += new System.EventHandler(this.pbBanner_Click);
     //
     // lblBanner
     //
     this.lblBanner.Location  = new System.Drawing.Point(232, 72);
     this.lblBanner.Name      = "lblBanner";
     this.lblBanner.Size      = new System.Drawing.Size(64, 23);
     this.lblBanner.TabIndex  = 7;
     this.lblBanner.Text      = "Banner:";
     this.lblBanner.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // lblBadge
     //
     this.lblBadge.Location  = new System.Drawing.Point(24, 72);
     this.lblBadge.Name      = "lblBadge";
     this.lblBadge.Size      = new System.Drawing.Size(48, 23);
     this.lblBadge.TabIndex  = 6;
     this.lblBadge.Text      = "Badge:";
     this.lblBadge.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // pbBadge
     //
     this.pbBadge.BackColor = System.Drawing.SystemColors.Control;
     this.pbBadge.Location  = new System.Drawing.Point(80, 72);
     this.pbBadge.Name      = "pbBadge";
     this.pbBadge.Size      = new System.Drawing.Size(64, 64);
     this.pbBadge.TabIndex  = 5;
     this.pbBadge.TabStop   = false;
     this.pbBadge.Click    += new System.EventHandler(this.pbBadge_Click);
     //
     // bttnTrim2
     //
     this.bttnTrim2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.bttnTrim2.Location  = new System.Drawing.Point(336, 16);
     this.bttnTrim2.Name      = "bttnTrim2";
     this.bttnTrim2.Size      = new System.Drawing.Size(72, 40);
     this.bttnTrim2.TabIndex  = 4;
     this.bttnTrim2.Tag       = "Eye";
     this.bttnTrim2.Text      = "Trim 2/Eye";
     this.bttnTrim2.Click    += new System.EventHandler(this.bttnTrim2_Click);
     //
     // bttnWeapon
     //
     this.bttnWeapon.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.bttnWeapon.Location  = new System.Drawing.Point(256, 16);
     this.bttnWeapon.Name      = "bttnWeapon";
     this.bttnWeapon.Size      = new System.Drawing.Size(72, 40);
     this.bttnWeapon.TabIndex  = 3;
     this.bttnWeapon.Tag       = "Weapon";
     this.bttnWeapon.Text      = "Weapon";
     this.bttnWeapon.Click    += new System.EventHandler(this.bttnWeapon_Click);
     //
     // bttnTrim
     //
     this.bttnTrim.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.bttnTrim.Location  = new System.Drawing.Point(176, 16);
     this.bttnTrim.Name      = "bttnTrim";
     this.bttnTrim.Size      = new System.Drawing.Size(72, 40);
     this.bttnTrim.TabIndex  = 2;
     this.bttnTrim.Tag       = "Trim";
     this.bttnTrim.Text      = "Trim";
     this.bttnTrim.Click    += new System.EventHandler(this.bttnTrim_Click);
     //
     // bttnSecondary
     //
     this.bttnSecondary.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.bttnSecondary.Location  = new System.Drawing.Point(96, 16);
     this.bttnSecondary.Name      = "bttnSecondary";
     this.bttnSecondary.Size      = new System.Drawing.Size(72, 40);
     this.bttnSecondary.TabIndex  = 1;
     this.bttnSecondary.Tag       = "Secondary";
     this.bttnSecondary.Text      = "Secondary";
     this.bttnSecondary.Click    += new System.EventHandler(this.bttnSecondary_Click);
     //
     // bttnPrimary
     //
     this.bttnPrimary.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.bttnPrimary.Location  = new System.Drawing.Point(16, 16);
     this.bttnPrimary.Name      = "bttnPrimary";
     this.bttnPrimary.Size      = new System.Drawing.Size(72, 40);
     this.bttnPrimary.TabIndex  = 0;
     this.bttnPrimary.Tag       = "Primary";
     this.bttnPrimary.Text      = "Primary";
     this.bttnPrimary.Click    += new System.EventHandler(this.bttnPrimary_Click);
     //
     // bttnSave
     //
     this.bttnSave.Enabled   = false;
     this.bttnSave.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnSave.Location  = new System.Drawing.Point(8, 240);
     this.bttnSave.Name      = "bttnSave";
     this.bttnSave.Size      = new System.Drawing.Size(112, 23);
     this.bttnSave.TabIndex  = 7;
     this.bttnSave.Text      = "Save Preferences";
     this.bttnSave.Click    += new System.EventHandler(this.bttnSave_Click);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location      = new System.Drawing.Point(8, 8);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(432, 224);
     this.tabControl1.TabIndex      = 8;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.rbAdvancedMode);
     this.tabPage1.Controls.Add(this.rbBasicMode);
     this.tabPage1.Controls.Add(this.label3);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.bttnTeamcolourPath);
     this.tabPage1.Controls.Add(this.txtTeamcolourPath);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Controls.Add(this.bttnTexturePath);
     this.tabPage1.Controls.Add(this.txtTexturePath);
     this.tabPage1.Controls.Add(this.lblDoWPath);
     this.tabPage1.Controls.Add(this.bttnDoWPath);
     this.tabPage1.Controls.Add(this.txtDoWPath);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(424, 198);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Game/Path Settings";
     //
     // rbAdvancedMode
     //
     this.rbAdvancedMode.Location        = new System.Drawing.Point(200, 120);
     this.rbAdvancedMode.Name            = "rbAdvancedMode";
     this.rbAdvancedMode.Size            = new System.Drawing.Size(80, 24);
     this.rbAdvancedMode.TabIndex        = 13;
     this.rbAdvancedMode.Text            = "Advanced";
     this.rbAdvancedMode.CheckedChanged += new System.EventHandler(this.rbMode_CheckedChanged);
     //
     // rbBasicMode
     //
     this.rbBasicMode.Location        = new System.Drawing.Point(120, 120);
     this.rbBasicMode.Name            = "rbBasicMode";
     this.rbBasicMode.Size            = new System.Drawing.Size(72, 24);
     this.rbBasicMode.TabIndex        = 12;
     this.rbBasicMode.Text            = "Basic";
     this.rbBasicMode.CheckedChanged += new System.EventHandler(this.rbMode_CheckedChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 120);
     this.label3.Name      = "label3";
     this.label3.TabIndex  = 11;
     this.label3.Text      = "Texture Mode:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 72);
     this.label2.Name      = "label2";
     this.label2.TabIndex  = 10;
     this.label2.Text      = "Teamcolour Path:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // bttnTeamcolourPath
     //
     this.bttnTeamcolourPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnTeamcolourPath.Location  = new System.Drawing.Point(360, 72);
     this.bttnTeamcolourPath.Name      = "bttnTeamcolourPath";
     this.bttnTeamcolourPath.Size      = new System.Drawing.Size(56, 23);
     this.bttnTeamcolourPath.TabIndex  = 9;
     this.bttnTeamcolourPath.Text      = "Select";
     this.bttnTeamcolourPath.Click    += new System.EventHandler(this.bttnTeamcolourPath_Click);
     //
     // txtTeamcolourPath
     //
     this.txtTeamcolourPath.Cursor       = System.Windows.Forms.Cursors.Default;
     this.txtTeamcolourPath.Location     = new System.Drawing.Point(112, 72);
     this.txtTeamcolourPath.Name         = "txtTeamcolourPath";
     this.txtTeamcolourPath.Size         = new System.Drawing.Size(240, 20);
     this.txtTeamcolourPath.TabIndex     = 8;
     this.txtTeamcolourPath.TabStop      = false;
     this.txtTeamcolourPath.Text         = "";
     this.txtTeamcolourPath.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.textbox_KeyDown);
     this.txtTeamcolourPath.TextChanged += new System.EventHandler(this.textbox_TextChanged);
     this.txtTeamcolourPath.Leave       += new System.EventHandler(this.textbox_Leave);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 40);
     this.label1.Name      = "label1";
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Texture Path:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // bttnTexturePath
     //
     this.bttnTexturePath.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bttnTexturePath.Location  = new System.Drawing.Point(360, 40);
     this.bttnTexturePath.Name      = "bttnTexturePath";
     this.bttnTexturePath.Size      = new System.Drawing.Size(56, 23);
     this.bttnTexturePath.TabIndex  = 6;
     this.bttnTexturePath.Text      = "Select";
     this.bttnTexturePath.Click    += new System.EventHandler(this.bttnTexturePath_Click);
     //
     // txtTexturePath
     //
     this.txtTexturePath.Cursor       = System.Windows.Forms.Cursors.Default;
     this.txtTexturePath.Location     = new System.Drawing.Point(112, 40);
     this.txtTexturePath.Name         = "txtTexturePath";
     this.txtTexturePath.Size         = new System.Drawing.Size(240, 20);
     this.txtTexturePath.TabIndex     = 5;
     this.txtTexturePath.TabStop      = false;
     this.txtTexturePath.Text         = "";
     this.txtTexturePath.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.textbox_KeyDown);
     this.txtTexturePath.TextChanged += new System.EventHandler(this.textbox_TextChanged);
     this.txtTexturePath.Leave       += new System.EventHandler(this.textbox_Leave);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.bttnTrim2);
     this.tabPage2.Controls.Add(this.pbBadge);
     this.tabPage2.Controls.Add(this.lblBadge);
     this.tabPage2.Controls.Add(this.lblBanner);
     this.tabPage2.Controls.Add(this.bttnImportTeamcolour);
     this.tabPage2.Controls.Add(this.pbBanner);
     this.tabPage2.Controls.Add(this.bttnWeapon);
     this.tabPage2.Controls.Add(this.bttnPrimary);
     this.tabPage2.Controls.Add(this.bttnSecondary);
     this.tabPage2.Controls.Add(this.bttnTrim);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(424, 198);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Team Colouring Settings";
     //
     // Options
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(450, 270);
     this.ControlBox        = false;
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.bttnSave);
     this.Controls.Add(this.bttnCancel);
     this.Controls.Add(this.bttnOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MinimizeBox     = false;
     this.Name            = "Options";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Options";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.c1TrueDBGrid1       = new C1.Win.C1TrueDBGrid.C1TrueDBGrid();
     this.dsCustomer1         = new Tutorial_22.DsCustomer();
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.comboBox4           = new System.Windows.Forms.ComboBox();
     this.comboBox3           = new System.Windows.Forms.ComboBox();
     this.comboBox2           = new System.Windows.Forms.ComboBox();
     this.comboBox1           = new System.Windows.Forms.ComboBox();
     this.label4              = new System.Windows.Forms.Label();
     this.label3              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.label1              = new System.Windows.Forms.Label();
     this.label5              = new System.Windows.Forms.Label();
     this.comboBox5           = new System.Windows.Forms.ComboBox();
     this.button1             = new System.Windows.Forms.Button();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.checkBox2           = new System.Windows.Forms.CheckBox();
     this.checkBox1           = new System.Windows.Forms.CheckBox();
     this.colorDialog1        = new System.Windows.Forms.ColorDialog();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     ((System.ComponentModel.ISupportInitialize)(this.c1TrueDBGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCustomer1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // c1TrueDBGrid1
     //
     this.c1TrueDBGrid1.AllowAddNew    = true;
     this.c1TrueDBGrid1.Caption        = "C1True DBGrid .Net";
     this.c1TrueDBGrid1.CaptionHeight  = 17;
     this.c1TrueDBGrid1.DataMember     = "Customer";
     this.c1TrueDBGrid1.DataSource     = this.dsCustomer1;
     this.c1TrueDBGrid1.GroupByCaption = "Drag a column header here to group by that column";
     this.c1TrueDBGrid1.Images.Add(((System.Drawing.Bitmap)(resources.GetObject("resource.Images"))));
     this.c1TrueDBGrid1.Location               = new System.Drawing.Point(8, 8);
     this.c1TrueDBGrid1.MarqueeStyle           = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder;
     this.c1TrueDBGrid1.Name                   = "c1TrueDBGrid1";
     this.c1TrueDBGrid1.PreviewInfo.Location   = new System.Drawing.Point(0, 0);
     this.c1TrueDBGrid1.PreviewInfo.Size       = new System.Drawing.Size(0, 0);
     this.c1TrueDBGrid1.PreviewInfo.ZoomFactor = 75;
     this.c1TrueDBGrid1.RecordSelectorWidth    = 17;
     this.c1TrueDBGrid1.RowDivider.Color       = System.Drawing.Color.DarkGray;
     this.c1TrueDBGrid1.RowDivider.Style       = C1.Win.C1TrueDBGrid.LineStyleEnum.Single;
     this.c1TrueDBGrid1.RowHeight              = 40;
     this.c1TrueDBGrid1.RowSubDividerColor     = System.Drawing.Color.DarkGray;
     this.c1TrueDBGrid1.Size                   = new System.Drawing.Size(408, 216);
     this.c1TrueDBGrid1.TabIndex               = 0;
     this.c1TrueDBGrid1.Text                   = "c1TrueDBGrid1";
     this.c1TrueDBGrid1.FetchScrollTips       += new C1.Win.C1TrueDBGrid.FetchScrollTipsEventHandler(this.c1TrueDBGrid1_FetchScrollTips);
     this.c1TrueDBGrid1.PropBag                = "<?xml version=\"1.0\"?><Blob><DataCols><C1DataColumn Level=\"0\" Caption=\"Company\" Da" +
                                                 "taField=\"Company\"><ValueItems /><GroupInfo /></C1DataColumn><C1DataColumn Level=" +
                                                 "\"0\" Caption=\"Contacted\" DataField=\"Contacted\"><ValueItems /><GroupInfo /></C1Dat" +
                                                 "aColumn><C1DataColumn Level=\"0\" Caption=\"FirstName\" DataField=\"FirstName\"><Value" +
                                                 "Items /><GroupInfo /></C1DataColumn><C1DataColumn Level=\"0\" Caption=\"LastName\" D" +
                                                 "ataField=\"LastName\"><ValueItems /><GroupInfo /></C1DataColumn><C1DataColumn Leve" +
                                                 "l=\"0\" Caption=\"Phone\" DataField=\"Phone\"><ValueItems /><GroupInfo /></C1DataColum" +
                                                 "n><C1DataColumn Level=\"0\" Caption=\"UserCode\" DataField=\"UserCode\"><ValueItems />" +
                                                 "<GroupInfo /></C1DataColumn></DataCols><Styles type=\"C1.Win.C1TrueDBGrid.Design." +
                                                 "ContextWrapper\"><Data>RecordSelector{AlignImage:Center;}Style31{AlignHorz:Far;}S" +
                                                 "tyle51{}Style50{}Caption{AlignHorz:Center;}Normal{}Selected{ForeColor:HighlightT" +
                                                 "ext;BackColor:Highlight;}Editor{}Style18{AlignHorz:Far;}Style19{AlignHorz:Far;}S" +
                                                 "tyle14{AlignHorz:Near;}Style15{AlignHorz:Near;}Style16{}Style17{}Style10{AlignHo" +
                                                 "rz:Near;}Style11{}Style12{}Style13{}Style44{}Style45{}Style46{}Style47{}Style38{" +
                                                 "}Style37{}Style34{AlignHorz:Near;}Style35{AlignHorz:Near;}Style32{}Style33{}OddR" +
                                                 "ow{}Footer{}Style29{}Style28{}Style27{AlignHorz:Near;}Style26{AlignHorz:Near;}St" +
                                                 "yle25{}Style24{}Style23{AlignHorz:Near;}Style22{AlignHorz:Near;}Style21{}Style20" +
                                                 "{}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCaption;}EvenRow{Back" +
                                                 "Color:Aqua;}Heading{Wrap:True;AlignVert:Center;Border:Raised,,1, 1, 1, 1;ForeCol" +
                                                 "or:ControlText;BackColor:Control;}Style49{}Style48{}Style2{}Style40{}Style41{}Fi" +
                                                 "lterBar{}Style42{}Style43{}Style4{}Style9{}Style8{}Style39{}Style36{}Style5{}Gro" +
                                                 "up{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Center;}Style7{}Style" +
                                                 "6{}Style1{}Style30{AlignHorz:Far;}Style3{}HighlightRow{ForeColor:HighlightText;B" +
                                                 "ackColor:Highlight;}</Data></Styles><Splits><C1.Win.C1TrueDBGrid.MergeView Name=" +
                                                 "\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFooterHeight=\"17\" MarqueeSt" +
                                                 "yle=\"DottedCellBorder\" RecordSelectorWidth=\"17\" DefRecSelWidth=\"17\" VerticalScro" +
                                                 "llGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 17, 404, 195</ClientRect><B" +
                                                 "orderSide>0</BorderSide><CaptionStyle parent=\"Style2\" me=\"Style10\" /><EditorStyl" +
                                                 "e parent=\"Editor\" me=\"Style5\" /><EvenRowStyle parent=\"EvenRow\" me=\"Style8\" /><Fi" +
                                                 "lterBarStyle parent=\"FilterBar\" me=\"Style13\" /><FooterStyle parent=\"Footer\" me=\"" +
                                                 "Style3\" /><GroupStyle parent=\"Group\" me=\"Style12\" /><HeadingStyle parent=\"Headin" +
                                                 "g\" me=\"Style2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style7\" /><Inactiv" +
                                                 "eStyle parent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style9\" " +
                                                 "/><RecordSelectorStyle parent=\"RecordSelector\" me=\"Style11\" /><SelectedStyle par" +
                                                 "ent=\"Selected\" me=\"Style6\" /><Style parent=\"Normal\" me=\"Style1\" /><internalCols>" +
                                                 "<C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style14\" /><Style parent=\"Sty" +
                                                 "le1\" me=\"Style15\" /><FooterStyle parent=\"Style3\" me=\"Style16\" /><EditorStyle par" +
                                                 "ent=\"Style5\" me=\"Style17\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style41\" /><Gr" +
                                                 "oupFooterStyle parent=\"Style1\" me=\"Style40\" /><Visible>True</Visible><ColumnDivi" +
                                                 "der>DarkGray,Single</ColumnDivider><Height>15</Height><DCIdx>0</DCIdx></C1Displa" +
                                                 "yColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style18\" /><Style par" +
                                                 "ent=\"Style1\" me=\"Style19\" /><FooterStyle parent=\"Style3\" me=\"Style20\" /><EditorS" +
                                                 "tyle parent=\"Style5\" me=\"Style21\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style4" +
                                                 "3\" /><GroupFooterStyle parent=\"Style1\" me=\"Style42\" /><Visible>True</Visible><Co" +
                                                 "lumnDivider>DarkGray,Single</ColumnDivider><Height>15</Height><DCIdx>1</DCIdx></" +
                                                 "C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style22\" /><S" +
                                                 "tyle parent=\"Style1\" me=\"Style23\" /><FooterStyle parent=\"Style3\" me=\"Style24\" />" +
                                                 "<EditorStyle parent=\"Style5\" me=\"Style25\" /><GroupHeaderStyle parent=\"Style1\" me" +
                                                 "=\"Style45\" /><GroupFooterStyle parent=\"Style1\" me=\"Style44\" /><Visible>True</Vis" +
                                                 "ible><ColumnDivider>DarkGray,Single</ColumnDivider><Height>15</Height><DCIdx>2</" +
                                                 "DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style" +
                                                 "26\" /><Style parent=\"Style1\" me=\"Style27\" /><FooterStyle parent=\"Style3\" me=\"Sty" +
                                                 "le28\" /><EditorStyle parent=\"Style5\" me=\"Style29\" /><GroupHeaderStyle parent=\"St" +
                                                 "yle1\" me=\"Style47\" /><GroupFooterStyle parent=\"Style1\" me=\"Style46\" /><Visible>T" +
                                                 "rue</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Height>15</Height><D" +
                                                 "CIdx>3</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" m" +
                                                 "e=\"Style30\" /><Style parent=\"Style1\" me=\"Style31\" /><FooterStyle parent=\"Style3\"" +
                                                 " me=\"Style32\" /><EditorStyle parent=\"Style5\" me=\"Style33\" /><GroupHeaderStyle pa" +
                                                 "rent=\"Style1\" me=\"Style49\" /><GroupFooterStyle parent=\"Style1\" me=\"Style48\" /><V" +
                                                 "isible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Height>15</H" +
                                                 "eight><DCIdx>4</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"S" +
                                                 "tyle2\" me=\"Style34\" /><Style parent=\"Style1\" me=\"Style35\" /><FooterStyle parent=" +
                                                 "\"Style3\" me=\"Style36\" /><EditorStyle parent=\"Style5\" me=\"Style37\" /><GroupHeader" +
                                                 "Style parent=\"Style1\" me=\"Style51\" /><GroupFooterStyle parent=\"Style1\" me=\"Style" +
                                                 "50\" /><Visible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Heig" +
                                                 "ht>15</Height><DCIdx>5</DCIdx></C1DisplayColumn></internalCols></C1.Win.C1TrueDB" +
                                                 "Grid.MergeView></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style paren" +
                                                 "t=\"Normal\" me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"H" +
                                                 "eading\" me=\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"No" +
                                                 "rmal\" me=\"Selected\" /><Style parent=\"Normal\" me=\"Editor\" /><Style parent=\"Normal" +
                                                 "\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=\"EvenRow\" /><Style parent=\"Norma" +
                                                 "l\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"RecordSelector\" /><Style parent=\"No" +
                                                 "rmal\" me=\"FilterBar\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertS" +
                                                 "plits>1</vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultR" +
                                                 "ecSelWidth>17</DefaultRecSelWidth><ClientArea>0, 0, 404, 212</ClientArea><PrintP" +
                                                 "ageHeaderStyle parent=\"\" me=\"Style38\" /><PrintPageFooterStyle parent=\"\" me=\"Styl" +
                                                 "e39\" /></Blob>";
     //
     // dsCustomer1
     //
     this.dsCustomer1.DataSetName = "DsCustomer";
     this.dsCustomer1.Locale      = new System.Globalization.CultureInfo("en-US");
     this.dsCustomer1.Namespace   = "http://www.tempuri.org/DsCustomer.xsd";
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.comboBox4,
         this.comboBox3,
         this.comboBox2,
         this.comboBox1,
         this.label4,
         this.label3,
         this.label2,
         this.label1
     });
     this.groupBox1.Location = new System.Drawing.Point(16, 232);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(232, 224);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Border Size";
     //
     // comboBox4
     //
     this.comboBox4.Location = new System.Drawing.Point(112, 120);
     this.comboBox4.Name     = "comboBox4";
     this.comboBox4.Size     = new System.Drawing.Size(96, 21);
     this.comboBox4.TabIndex = 7;
     this.comboBox4.Text     = "comboBox4";
     this.comboBox4.SelectionChangeCommitted += new System.EventHandler(this.comboBox4_SelectionChangeCommitted);
     //
     // comboBox3
     //
     this.comboBox3.Location = new System.Drawing.Point(112, 88);
     this.comboBox3.Name     = "comboBox3";
     this.comboBox3.Size     = new System.Drawing.Size(96, 21);
     this.comboBox3.TabIndex = 6;
     this.comboBox3.Text     = "comboBox3";
     this.comboBox3.SelectionChangeCommitted += new System.EventHandler(this.comboBox3_SelectionChangeCommitted);
     //
     // comboBox2
     //
     this.comboBox2.Location = new System.Drawing.Point(112, 56);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(96, 21);
     this.comboBox2.TabIndex = 5;
     this.comboBox2.Text     = "comboBox2";
     this.comboBox2.SelectionChangeCommitted += new System.EventHandler(this.comboBox2_SelectionChangeCommitted);
     //
     // comboBox1
     //
     this.comboBox1.Location = new System.Drawing.Point(112, 24);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(96, 21);
     this.comboBox1.TabIndex = 4;
     this.comboBox1.Text     = "comboBox1";
     this.comboBox1.SelectionChangeCommitted += new System.EventHandler(this.comboBox1_SelectionChangeCommitted);
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     this.label4.Location  = new System.Drawing.Point(8, 120);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 16);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "Right Width";
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     this.label3.Location  = new System.Drawing.Point(8, 88);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 16);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "Left Width";
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     this.label2.Location  = new System.Drawing.Point(8, 56);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Bottom Width";
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     this.label1.Location  = new System.Drawing.Point(8, 24);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Top Width";
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     this.label5.Location  = new System.Drawing.Point(264, 240);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(104, 16);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Border Appearance";
     //
     // comboBox5
     //
     this.comboBox5.Location = new System.Drawing.Point(264, 272);
     this.comboBox5.Name     = "comboBox5";
     this.comboBox5.Size     = new System.Drawing.Size(144, 21);
     this.comboBox5.TabIndex = 3;
     this.comboBox5.Text     = "comboBox5";
     this.comboBox5.SelectionChangeCommitted += new System.EventHandler(this.comboBox5_SelectionChangeCommitted);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(264, 304);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(72, 48);
     this.button1.TabIndex = 4;
     this.button1.Text     = "Border Color";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.checkBox2,
         this.checkBox1
     });
     this.groupBox2.Location = new System.Drawing.Point(264, 368);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(144, 88);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Scrolling";
     //
     // checkBox2
     //
     this.checkBox2.Location = new System.Drawing.Point(16, 56);
     this.checkBox2.Name     = "checkBox2";
     this.checkBox2.Size     = new System.Drawing.Size(104, 16);
     this.checkBox2.TabIndex = 1;
     this.checkBox2.Text     = "Scroll Tracking";
     this.checkBox2.Click   += new System.EventHandler(this.checkBox2_Click);
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(16, 24);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(80, 16);
     this.checkBox1.TabIndex = 0;
     this.checkBox1.Text     = "Scroll Tips";
     this.checkBox1.Click   += new System.EventHandler(this.checkBox1_Click);
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand1;
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Customer", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("UserCode", "UserCode"),
             new System.Data.Common.DataColumnMapping("LastName", "LastName"),
             new System.Data.Common.DataColumnMapping("FirstName", "FirstName"),
             new System.Data.Common.DataColumnMapping("Company", "Company"),
             new System.Data.Common.DataColumnMapping("Contacted", "Contacted"),
             new System.Data.Common.DataColumnMapping("Phone", "Phone")
         })
     });
     //
     // oleDbInsertCommand1
     //
     this.oleDbInsertCommand1.CommandText = "INSERT INTO Customer(Company, Contacted, FirstName, LastName, Phone, UserCode) VA" +
                                            "LUES (?, ?, ?, ?, ?, ?)";
     this.oleDbInsertCommand1.Connection = this.oleDbConnection1;
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Company", System.Data.OleDb.OleDbType.VarWChar, 30, "Company"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Contacted", System.Data.OleDb.OleDbType.DBDate, 0, "Contacted"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("FirstName", System.Data.OleDb.OleDbType.VarWChar, 10, "FirstName"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("LastName", System.Data.OleDb.OleDbType.VarWChar, 15, "LastName"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Phone", System.Data.OleDb.OleDbType.Double, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(15)), ((System.Byte)(0)), "Phone", System.Data.DataRowVersion.Current, null));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("UserCode", System.Data.OleDb.OleDbType.VarWChar, 4, "UserCode"));
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=C:\Program Files\ComponentOne Studio.NET 2.0\Common\TDBGDemo.mdb;Mode=Share Deny None;Extended Properties="""";Jet OLEDB:System database="""";Jet OLEDB:Registry Path="""";Jet OLEDB:Database Password="""";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="""";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT Company, Contacted, FirstName, LastName, Phone, UserCode FROM Customer";
     this.oleDbSelectCommand1.Connection  = this.oleDbConnection1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(424, 477);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.groupBox2,
         this.button1,
         this.comboBox5,
         this.label5,
         this.groupBox1,
         this.c1TrueDBGrid1
     });
     this.Name  = "Form1";
     this.Text  = "Tutorial 22 ";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1TrueDBGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCustomer1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #47
0
 /// <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.fontDialog1     = new System.Windows.Forms.FontDialog();
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.printDialog1    = new System.Windows.Forms.PrintDialog();
     this.Timer           = new System.Windows.Forms.Timer(this.components);
     this.lbSystemTime    = new System.Windows.Forms.Label();
     this.tbSystemTime    = new System.Windows.Forms.TextBox();
     this.tbExecutionTime = new System.Windows.Forms.TextBox();
     this.lbExecutionTime = new System.Windows.Forms.Label();
     this.btnClose        = new System.Windows.Forms.Button();
     this.panel1          = new System.Windows.Forms.Panel();
     this.tbStatus        = new System.Windows.Forms.TextBox();
     this.tbTotal         = new System.Windows.Forms.TextBox();
     this.tbLeft          = new System.Windows.Forms.TextBox();
     this.lbStatus        = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // Timer
     //
     this.Timer.Enabled  = true;
     this.Timer.Interval = 1000;
     this.Timer.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // lbSystemTime
     //
     this.lbSystemTime.Location = new System.Drawing.Point(8, 8);
     this.lbSystemTime.Name     = "lbSystemTime";
     this.lbSystemTime.Size     = new System.Drawing.Size(100, 16);
     this.lbSystemTime.TabIndex = 0;
     this.lbSystemTime.Text     = "System time:";
     //
     // tbSystemTime
     //
     this.tbSystemTime.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbSystemTime.Location = new System.Drawing.Point(8, 24);
     this.tbSystemTime.Name     = "tbSystemTime";
     this.tbSystemTime.Size     = new System.Drawing.Size(280, 29);
     this.tbSystemTime.TabIndex = 1;
     this.tbSystemTime.Text     = "";
     //
     // tbExecutionTime
     //
     this.tbExecutionTime.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbExecutionTime.Location = new System.Drawing.Point(8, 80);
     this.tbExecutionTime.Name     = "tbExecutionTime";
     this.tbExecutionTime.Size     = new System.Drawing.Size(280, 29);
     this.tbExecutionTime.TabIndex = 3;
     this.tbExecutionTime.Text     = "";
     //
     // lbExecutionTime
     //
     this.lbExecutionTime.Location = new System.Drawing.Point(8, 64);
     this.lbExecutionTime.Name     = "lbExecutionTime";
     this.lbExecutionTime.Size     = new System.Drawing.Size(100, 16);
     this.lbExecutionTime.TabIndex = 2;
     this.lbExecutionTime.Text     = "Execution time:";
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(112, 232);
     this.btnClose.Name     = "btnClose";
     this.btnClose.TabIndex = 4;
     this.btnClose.Text     = "Close";
     this.btnClose.Click   += new System.EventHandler(this.button1_Click);
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel1.Location    = new System.Drawing.Point(8, 120);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(280, 4);
     this.panel1.TabIndex    = 5;
     //
     // tbStatus
     //
     this.tbStatus.Location = new System.Drawing.Point(112, 136);
     this.tbStatus.Name     = "tbStatus";
     this.tbStatus.Size     = new System.Drawing.Size(176, 20);
     this.tbStatus.TabIndex = 6;
     this.tbStatus.Text     = "";
     //
     // tbTotal
     //
     this.tbTotal.Location = new System.Drawing.Point(112, 168);
     this.tbTotal.Name     = "tbTotal";
     this.tbTotal.Size     = new System.Drawing.Size(176, 20);
     this.tbTotal.TabIndex = 7;
     this.tbTotal.Text     = "";
     //
     // tbLeft
     //
     this.tbLeft.Location = new System.Drawing.Point(112, 200);
     this.tbLeft.Name     = "tbLeft";
     this.tbLeft.Size     = new System.Drawing.Size(176, 20);
     this.tbLeft.TabIndex = 8;
     this.tbLeft.Text     = "";
     //
     // lbStatus
     //
     this.lbStatus.Location = new System.Drawing.Point(8, 136);
     this.lbStatus.Name     = "lbStatus";
     this.lbStatus.Size     = new System.Drawing.Size(88, 23);
     this.lbStatus.TabIndex = 9;
     this.lbStatus.Text     = "Status";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 168);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 23);
     this.label2.TabIndex = 10;
     this.label2.Text     = "Total Minutes";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 200);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(88, 23);
     this.label3.TabIndex = 11;
     this.label3.Text     = "Left Minutes";
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(296, 262);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.lbStatus);
     this.Controls.Add(this.tbLeft);
     this.Controls.Add(this.tbTotal);
     this.Controls.Add(this.tbStatus);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.tbExecutionTime);
     this.Controls.Add(this.lbExecutionTime);
     this.Controls.Add(this.tbSystemTime);
     this.Controls.Add(this.lbSystemTime);
     this.Name  = "frmMain";
     this.Text  = "Test .NET Application";
     this.Load += new System.EventHandler(this.frmMain_Load);
     this.ResumeLayout(false);
 }
Example #48
0
        /// <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();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1            = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.colorDialog1            = new System.Windows.Forms.ColorDialog();
            this.toolTip1                = new System.Windows.Forms.ToolTip(this.components);
            this.menuStrip1              = 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.toolStripSeparator1     = new System.Windows.Forms.ToolStripSeparator();
            this.saveToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2     = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1              = new System.Windows.Forms.ToolStrip();
            this.toolStripButton4        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton1        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton2        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton7        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton8        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton5        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton6        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton9        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton10       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton12       = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton11       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3     = new System.Windows.Forms.ToolStripSeparator();
            this.highlightItem           = new System.Windows.Forms.ToolStripButton();
            this.toolStripSplitButton1   = new System.Windows.Forms.ToolStripButton();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.menuStrip1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 59);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(651, 376);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 3;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // menuStrip1
            //
            this.menuStrip1.BackColor = System.Drawing.Color.Transparent;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(10, 10);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(651, 24);
            this.menuStrip1.TabIndex = 7;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.newToolStripMenuItem,
                this.openToolStripMenuItem,
                this.toolStripSeparator1,
                this.saveToolStripMenuItem,
                this.saveAsToolStripMenuItem,
                this.toolStripSeparator2,
                this.exitToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fileToolStripMenuItem.Text = "File";
            //
            // newToolStripMenuItem
            //
            this.newToolStripMenuItem.Name   = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.newToolStripMenuItem.Text   = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.openToolStripMenuItem.Text   = "Open...";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveToolStripMenuItem.Text   = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // saveAsToolStripMenuItem
            //
            this.saveAsToolStripMenuItem.Name   = "saveAsToolStripMenuItem";
            this.saveAsToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveAsToolStripMenuItem.Text   = "Save As...";
            this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(120, 6);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStrip1
            //
            this.toolStrip1.BackColor = System.Drawing.Color.White;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripButton4,
                this.toolStripButton1,
                this.toolStripButton3,
                this.toolStripButton2,
                this.toolStripSeparator5,
                this.toolStripButton7,
                this.toolStripButton8,
                this.toolStripSeparator6,
                this.toolStripButton5,
                this.toolStripButton6,
                this.toolStripSeparator7,
                this.toolStripButton9,
                this.toolStripButton10,
                this.toolStripSeparator8,
                this.toolStripButton12,
                this.toolStripButton11,
                this.toolStripSeparator3,
                this.highlightItem,
                this.toolStripSplitButton1
            });
            this.toolStrip1.Location     = new System.Drawing.Point(10, 34);
            this.toolStrip1.Name         = "toolStrip1";
            this.toolStrip1.Size         = new System.Drawing.Size(651, 25);
            this.toolStrip1.TabIndex     = 8;
            this.toolStrip1.Text         = "toolStrip1";
            this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
            //
            // toolStripButton4
            //
            this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(75, 22);
            this.toolStripButton4.Tag  = "Move Up";
            this.toolStripButton4.Text = "Move Up";
            //
            // toolStripButton1
            //

            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton1.Tag  = "Move Down";
            this.toolStripButton1.Text = "Move Down";
            //
            // toolStripButton3
            //

            this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton3.Tag  = "Move Left";
            this.toolStripButton3.Text = "Move Left";
            //
            // toolStripButton2
            //

            this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton2.Tag  = "Move Right";
            this.toolStripButton2.Text = "Move Right";
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton7
            //
            this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
            this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(71, 22);
            this.toolStripButton7.Tag  = "Page Up";
            this.toolStripButton7.Text = "Page Up";
            //
            // toolStripButton8
            //

            this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
            this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton8.Name = "toolStripButton8";
            this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton8.Tag  = "Page Down";
            this.toolStripButton8.Text = "Page Down";
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton5
            //
            this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
            this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton5.Name = "toolStripButton5";
            this.toolStripButton5.Size = new System.Drawing.Size(76, 22);
            this.toolStripButton5.Tag  = "Line Start";
            this.toolStripButton5.Text = "Line Start";
            //
            // toolStripButton6
            //

            this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
            this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton6.Name = "toolStripButton6";
            this.toolStripButton6.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton6.Tag  = "Line End";
            this.toolStripButton6.Text = "Line End";
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton9
            //
            this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
            this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton9.Name = "toolStripButton9";
            this.toolStripButton9.Size = new System.Drawing.Size(102, 22);
            this.toolStripButton9.Tag  = "Left One word";
            this.toolStripButton9.Text = "Left One word";
            //
            // toolStripButton10
            //

            this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
            this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton10.Name = "toolStripButton10";
            this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton10.Tag  = "Right One word";
            this.toolStripButton10.Text = "Right One word";
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton12
            //
            this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
            this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton12.Name = "toolStripButton12";
            this.toolStripButton12.Size = new System.Drawing.Size(98, 22);
            this.toolStripButton12.Tag  = "Move to Start";
            this.toolStripButton12.Text = "Move to Start";
            //
            // toolStripButton11
            //

            this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
            this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton11.Name = "toolStripButton11";
            this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton11.Tag  = "Move to End";
            this.toolStripButton11.Text = "Move to End";
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            //
            // highlightItem
            //
            this.highlightItem.Checked    = true;
            this.highlightItem.CheckState = System.Windows.Forms.CheckState.Checked;

            this.highlightItem.Image = ((System.Drawing.Image)(resources.GetObject("highlightItem.Image")));
            this.highlightItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.highlightItem.Name = "highlightItem";
            this.highlightItem.Size = new System.Drawing.Size(23, 20);
            this.highlightItem.Tag  = "Highlight current line";
            this.highlightItem.Text = "Highlight current line";
            //
            // toolStripSplitButton1
            //

            this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
            this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton1.Name = "toolStripSplitButton1";
            this.toolStripSplitButton1.Size = new System.Drawing.Size(23, 20);
            this.toolStripSplitButton1.Tag  = "Change HighlightColor";
            this.toolStripSplitButton1.Text = "Change HighlightColor";
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
            this.ClientSize        = new System.Drawing.Size(671, 445);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.menuStrip1);
            this.DropShadow       = true;
            this.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
            this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
            this.MetroColor       = System.Drawing.Color.White;
            this.MinimumSize      = new System.Drawing.Size(683, 482);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "Text Navigation";
            this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Example #49
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.colorDialog = new System.Windows.Forms.ColorDialog();
     this.button      = new System.Windows.Forms.Button();
     this.comboBox    = new System.Windows.Forms.ComboBox();
     this.lblRed      = new System.Windows.Forms.Label();
     this.numRed      = new System.Windows.Forms.NumericUpDown();
     this.numGreen    = new System.Windows.Forms.NumericUpDown();
     this.lblGreen    = new System.Windows.Forms.Label();
     this.numBlue     = new System.Windows.Forms.NumericUpDown();
     this.lblBlue     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.numRed)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numGreen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numBlue)).BeginInit();
     this.SuspendLayout();
     //
     // button
     //
     this.button.Location = new System.Drawing.Point(16, 16);
     this.button.Name     = "button";
     this.button.TabIndex = 0;
     this.button.Text     = "Pick Color";
     this.button.Click   += new System.EventHandler(this.button_Click);
     //
     // comboBox
     //
     this.comboBox.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox.Location              = new System.Drawing.Point(120, 16);
     this.comboBox.Name                  = "comboBox";
     this.comboBox.Size                  = new System.Drawing.Size(152, 21);
     this.comboBox.Sorted                = true;
     this.comboBox.TabIndex              = 1;
     this.comboBox.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
     //
     // lblRed
     //
     this.lblRed.Location  = new System.Drawing.Point(32, 60);
     this.lblRed.Name      = "lblRed";
     this.lblRed.Size      = new System.Drawing.Size(48, 20);
     this.lblRed.TabIndex  = 2;
     this.lblRed.Text      = "Red";
     this.lblRed.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numRed
     //
     this.numRed.Location = new System.Drawing.Point(96, 60);
     this.numRed.Maximum  = new System.Decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.numRed.Name          = "numRed";
     this.numRed.Size          = new System.Drawing.Size(56, 20);
     this.numRed.TabIndex      = 4;
     this.numRed.ValueChanged += new System.EventHandler(this.num_ValueChanged);
     //
     // numGreen
     //
     this.numGreen.Location = new System.Drawing.Point(96, 88);
     this.numGreen.Maximum  = new System.Decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.numGreen.Name          = "numGreen";
     this.numGreen.Size          = new System.Drawing.Size(56, 20);
     this.numGreen.TabIndex      = 6;
     this.numGreen.ValueChanged += new System.EventHandler(this.num_ValueChanged);
     //
     // lblGreen
     //
     this.lblGreen.Location  = new System.Drawing.Point(32, 88);
     this.lblGreen.Name      = "lblGreen";
     this.lblGreen.Size      = new System.Drawing.Size(48, 20);
     this.lblGreen.TabIndex  = 5;
     this.lblGreen.Text      = "Green";
     this.lblGreen.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numBlue
     //
     this.numBlue.Location = new System.Drawing.Point(96, 120);
     this.numBlue.Maximum  = new System.Decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.numBlue.Name          = "numBlue";
     this.numBlue.Size          = new System.Drawing.Size(56, 20);
     this.numBlue.TabIndex      = 8;
     this.numBlue.ValueChanged += new System.EventHandler(this.num_ValueChanged);
     //
     // lblBlue
     //
     this.lblBlue.Location  = new System.Drawing.Point(32, 120);
     this.lblBlue.Name      = "lblBlue";
     this.lblBlue.Size      = new System.Drawing.Size(48, 20);
     this.lblBlue.TabIndex  = 7;
     this.lblBlue.Text      = "Blue";
     this.lblBlue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 265);
     this.Controls.Add(this.numBlue);
     this.Controls.Add(this.lblBlue);
     this.Controls.Add(this.numGreen);
     this.Controls.Add(this.lblGreen);
     this.Controls.Add(this.numRed);
     this.Controls.Add(this.lblRed);
     this.Controls.Add(this.comboBox);
     this.Controls.Add(this.button);
     this.Name = "Form1";
     this.Text = "Color Picker";
     ((System.ComponentModel.ISupportInitialize)(this.numRed)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numGreen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numBlue)).EndInit();
     this.ResumeLayout(false);
 }
Example #50
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormProvEdit));
     this.checkIsHidden          = new System.Windows.Forms.CheckBox();
     this.labelColor             = new System.Windows.Forms.Label();
     this.butColor               = new System.Windows.Forms.Button();
     this.label1                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this.label5                 = new System.Windows.Forms.Label();
     this.label6                 = new System.Windows.Forms.Label();
     this.label7                 = new System.Windows.Forms.Label();
     this.label8                 = new System.Windows.Forms.Label();
     this.label9                 = new System.Windows.Forms.Label();
     this.label10                = new System.Windows.Forms.Label();
     this.label11                = new System.Windows.Forms.Label();
     this.checkIsSecondary       = new System.Windows.Forms.CheckBox();
     this.listFeeSched           = new System.Windows.Forms.ListBox();
     this.listSpecialty          = new System.Windows.Forms.ListBox();
     this.butOK                  = new OpenDental.UI.Button();
     this.butCancel              = new OpenDental.UI.Button();
     this.textAbbr               = new System.Windows.Forms.TextBox();
     this.textStateLicense       = new System.Windows.Forms.TextBox();
     this.textSSN                = new System.Windows.Forms.TextBox();
     this.textSuffix             = new System.Windows.Forms.TextBox();
     this.textMI                 = new System.Windows.Forms.TextBox();
     this.textFName              = new System.Windows.Forms.TextBox();
     this.textLName              = new System.Windows.Forms.TextBox();
     this.textDEANum             = new System.Windows.Forms.TextBox();
     this.colorDialog1           = new System.Windows.Forms.ColorDialog();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.radioTIN               = new System.Windows.Forms.RadioButton();
     this.radioSSN               = new System.Windows.Forms.RadioButton();
     this.checkSigOnFile         = new System.Windows.Forms.CheckBox();
     this.textMedicaidID         = new System.Windows.Forms.TextBox();
     this.label13                = new System.Windows.Forms.Label();
     this.tbProvIdent            = new OpenDental.TableProvIdent();
     this.groupBox2              = new System.Windows.Forms.GroupBox();
     this.butAdd                 = new OpenDental.UI.Button();
     this.butDelete              = new OpenDental.UI.Button();
     this.label2                 = new System.Windows.Forms.Label();
     this.label14                = new System.Windows.Forms.Label();
     this.butOutlineColor        = new System.Windows.Forms.Button();
     this.comboSchoolClass       = new System.Windows.Forms.ComboBox();
     this.labelSchoolClass       = new System.Windows.Forms.Label();
     this.textNationalProvID     = new System.Windows.Forms.TextBox();
     this.labelNPI               = new System.Windows.Forms.Label();
     this.textCanadianOfficeNum  = new System.Windows.Forms.TextBox();
     this.labelCanadianOfficeNum = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // checkIsHidden
     //
     this.checkIsHidden.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkIsHidden.Location  = new System.Drawing.Point(136, 360);
     this.checkIsHidden.Name      = "checkIsHidden";
     this.checkIsHidden.Size      = new System.Drawing.Size(158, 24);
     this.checkIsHidden.TabIndex  = 12;
     this.checkIsHidden.Text      = "Hidden";
     //
     // labelColor
     //
     this.labelColor.Location  = new System.Drawing.Point(6, 387);
     this.labelColor.Name      = "labelColor";
     this.labelColor.Size      = new System.Drawing.Size(129, 16);
     this.labelColor.TabIndex  = 10;
     this.labelColor.Text      = "Appointment Color";
     this.labelColor.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // butColor
     //
     this.butColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.butColor.Location  = new System.Drawing.Point(136, 384);
     this.butColor.Name      = "butColor";
     this.butColor.Size      = new System.Drawing.Size(30, 20);
     this.butColor.TabIndex  = 13;
     this.butColor.Click    += new System.EventHandler(this.butColor_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(10, 12);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(125, 14);
     this.label1.TabIndex  = 12;
     this.label1.Text      = "Abbreviation";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-1, 212);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(137, 14);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "State License Number";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(526, 14);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(116, 14);
     this.label5.TabIndex  = 16;
     this.label5.Text      = "Specialty";
     this.label5.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(369, 14);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(105, 14);
     this.label6.TabIndex  = 17;
     this.label6.Text      = "Fee Schedule";
     this.label6.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(28, 81);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(102, 14);
     this.label7.TabIndex  = 18;
     this.label7.Text      = "MI";
     this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(8, 58);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(127, 14);
     this.label8.TabIndex  = 19;
     this.label8.Text      = "First Name";
     this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(5, 104);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(130, 14);
     this.label9.TabIndex  = 20;
     this.label9.Text      = "Suffix (DMD,DDS)";
     this.label9.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label10
     //
     this.label10.Location  = new System.Drawing.Point(2, 35);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(132, 14);
     this.label10.TabIndex  = 21;
     this.label10.Text      = "Last Name";
     this.label10.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label11
     //
     this.label11.Location  = new System.Drawing.Point(8, 235);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(126, 14);
     this.label11.TabIndex  = 22;
     this.label11.Text      = "DEA Number";
     this.label11.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // checkIsSecondary
     //
     this.checkIsSecondary.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkIsSecondary.Location  = new System.Drawing.Point(136, 325);
     this.checkIsSecondary.Name      = "checkIsSecondary";
     this.checkIsSecondary.Size      = new System.Drawing.Size(155, 17);
     this.checkIsSecondary.TabIndex  = 10;
     this.checkIsSecondary.Text      = "Secondary Provider (Hyg)";
     //
     // listFeeSched
     //
     this.listFeeSched.Location = new System.Drawing.Point(371, 31);
     this.listFeeSched.Name     = "listFeeSched";
     this.listFeeSched.Size     = new System.Drawing.Size(108, 173);
     this.listFeeSched.TabIndex = 13;
     //
     // listSpecialty
     //
     this.listSpecialty.Items.AddRange(new object[] {
         "Dental General Practice",
         "Dental Hygienist",
         "Endodontics",
         "Pediatric Dentistry",
         "Periodontics",
         "Prosthodontics",
         "Orthodontics",
         "Denturist",
         "Surgery, Oral & Maxillofacial",
         "Dental Assistant",
         "Dental Laboratory Technician",
         "Pathology, Oral & MaxFac",
         "Public Health",
         "Radiology"
     });
     this.listSpecialty.Location = new System.Drawing.Point(526, 31);
     this.listSpecialty.Name     = "listSpecialty";
     this.listSpecialty.Size     = new System.Drawing.Size(154, 186);
     this.listSpecialty.TabIndex = 17;
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize     = true;
     this.butOK.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location     = new System.Drawing.Point(742, 580);
     this.butOK.Name         = "butOK";
     this.butOK.Size         = new System.Drawing.Size(75, 26);
     this.butOK.TabIndex     = 15;
     this.butOK.Text         = "&OK";
     this.butOK.Click       += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize     = true;
     this.butCancel.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Location     = new System.Drawing.Point(742, 613);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(75, 26);
     this.butCancel.TabIndex     = 16;
     this.butCancel.Text         = "&Cancel";
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // textAbbr
     //
     this.textAbbr.Location  = new System.Drawing.Point(136, 8);
     this.textAbbr.MaxLength = 5;
     this.textAbbr.Name      = "textAbbr";
     this.textAbbr.Size      = new System.Drawing.Size(58, 20);
     this.textAbbr.TabIndex  = 0;
     //
     // textStateLicense
     //
     this.textStateLicense.Location  = new System.Drawing.Point(136, 208);
     this.textStateLicense.MaxLength = 15;
     this.textStateLicense.Name      = "textStateLicense";
     this.textStateLicense.Size      = new System.Drawing.Size(100, 20);
     this.textStateLicense.TabIndex  = 5;
     //
     // textSSN
     //
     this.textSSN.Location = new System.Drawing.Point(8, 52);
     this.textSSN.Name     = "textSSN";
     this.textSSN.Size     = new System.Drawing.Size(100, 20);
     this.textSSN.TabIndex = 2;
     //
     // textSuffix
     //
     this.textSuffix.Location  = new System.Drawing.Point(136, 100);
     this.textSuffix.MaxLength = 100;
     this.textSuffix.Name      = "textSuffix";
     this.textSuffix.Size      = new System.Drawing.Size(104, 20);
     this.textSuffix.TabIndex  = 4;
     //
     // textMI
     //
     this.textMI.Location  = new System.Drawing.Point(136, 77);
     this.textMI.MaxLength = 100;
     this.textMI.Name      = "textMI";
     this.textMI.Size      = new System.Drawing.Size(63, 20);
     this.textMI.TabIndex  = 3;
     //
     // textFName
     //
     this.textFName.Location  = new System.Drawing.Point(136, 54);
     this.textFName.MaxLength = 100;
     this.textFName.Name      = "textFName";
     this.textFName.Size      = new System.Drawing.Size(161, 20);
     this.textFName.TabIndex  = 2;
     //
     // textLName
     //
     this.textLName.Location  = new System.Drawing.Point(136, 31);
     this.textLName.MaxLength = 100;
     this.textLName.Name      = "textLName";
     this.textLName.Size      = new System.Drawing.Size(161, 20);
     this.textLName.TabIndex  = 1;
     //
     // textDEANum
     //
     this.textDEANum.Location  = new System.Drawing.Point(136, 231);
     this.textDEANum.MaxLength = 15;
     this.textDEANum.Name      = "textDEANum";
     this.textDEANum.Size      = new System.Drawing.Size(100, 20);
     this.textDEANum.TabIndex  = 6;
     //
     // colorDialog1
     //
     this.colorDialog1.FullOpen = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radioTIN);
     this.groupBox1.Controls.Add(this.radioSSN);
     this.groupBox1.Controls.Add(this.textSSN);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(128, 125);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(156, 80);
     this.groupBox1.TabIndex  = 5;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "SSN or TIN (no dashes)";
     //
     // radioTIN
     //
     this.radioTIN.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radioTIN.Location  = new System.Drawing.Point(9, 34);
     this.radioTIN.Name      = "radioTIN";
     this.radioTIN.Size      = new System.Drawing.Size(135, 15);
     this.radioTIN.TabIndex  = 1;
     this.radioTIN.Text      = "TIN";
     this.radioTIN.Click    += new System.EventHandler(this.radioTIN_Click);
     //
     // radioSSN
     //
     this.radioSSN.Checked   = true;
     this.radioSSN.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radioSSN.Location  = new System.Drawing.Point(9, 17);
     this.radioSSN.Name      = "radioSSN";
     this.radioSSN.Size      = new System.Drawing.Size(104, 14);
     this.radioSSN.TabIndex  = 0;
     this.radioSSN.TabStop   = true;
     this.radioSSN.Text      = "SSN";
     this.radioSSN.Click    += new System.EventHandler(this.radioSSN_Click);
     //
     // checkSigOnFile
     //
     this.checkSigOnFile.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkSigOnFile.Location  = new System.Drawing.Point(136, 343);
     this.checkSigOnFile.Name      = "checkSigOnFile";
     this.checkSigOnFile.Size      = new System.Drawing.Size(121, 20);
     this.checkSigOnFile.TabIndex  = 11;
     this.checkSigOnFile.Text      = "Signature on File";
     //
     // textMedicaidID
     //
     this.textMedicaidID.Location  = new System.Drawing.Point(136, 254);
     this.textMedicaidID.MaxLength = 20;
     this.textMedicaidID.Name      = "textMedicaidID";
     this.textMedicaidID.Size      = new System.Drawing.Size(100, 20);
     this.textMedicaidID.TabIndex  = 7;
     //
     // label13
     //
     this.label13.Location  = new System.Drawing.Point(5, 258);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(130, 14);
     this.label13.TabIndex  = 42;
     this.label13.Text      = "Medicaid ID";
     this.label13.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // tbProvIdent
     //
     this.tbProvIdent.BackColor          = System.Drawing.SystemColors.Window;
     this.tbProvIdent.Location           = new System.Drawing.Point(7, 58);
     this.tbProvIdent.Name               = "tbProvIdent";
     this.tbProvIdent.ScrollValue        = 211;
     this.tbProvIdent.SelectedIndices    = new int[0];
     this.tbProvIdent.SelectionMode      = System.Windows.Forms.SelectionMode.One;
     this.tbProvIdent.Size               = new System.Drawing.Size(319, 88);
     this.tbProvIdent.TabIndex           = 43;
     this.tbProvIdent.CellDoubleClicked += new OpenDental.ContrTable.CellEventHandler(this.tbProvIdent_CellDoubleClicked);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.butAdd);
     this.groupBox2.Controls.Add(this.butDelete);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.tbProvIdent);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox2.Location  = new System.Drawing.Point(128, 481);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(496, 157);
     this.groupBox2.TabIndex  = 16;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Supplemental Provider Identifiers";
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butAdd.Autosize            = true;
     this.butAdd.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius        = 4F;
     this.butAdd.Image      = ((System.Drawing.Image)(resources.GetObject("butAdd.Image")));
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location   = new System.Drawing.Point(358, 59);
     this.butAdd.Name       = "butAdd";
     this.butAdd.Size       = new System.Drawing.Size(90, 26);
     this.butAdd.TabIndex   = 46;
     this.butAdd.Text       = "Add";
     this.butAdd.Click     += new System.EventHandler(this.butAdd_Click);
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butDelete.Autosize            = true;
     this.butDelete.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius        = 4F;
     this.butDelete.Image      = ((System.Drawing.Image)(resources.GetObject("butDelete.Image")));
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location   = new System.Drawing.Point(358, 94);
     this.butDelete.Name       = "butDelete";
     this.butDelete.Size       = new System.Drawing.Size(90, 26);
     this.butDelete.TabIndex   = 45;
     this.butDelete.Text       = "Delete";
     this.butDelete.Click     += new System.EventHandler(this.butDelete_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 20);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(481, 32);
     this.label2.TabIndex = 44;
     this.label2.Text     = "This is where you store provider ID\'s assigned by individual insurance companies," +
                            " especially BC/BS.";
     //
     // label14
     //
     this.label14.Location  = new System.Drawing.Point(6, 412);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(129, 16);
     this.label14.TabIndex  = 45;
     this.label14.Text      = "Highlight Outline Color";
     this.label14.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // butOutlineColor
     //
     this.butOutlineColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.butOutlineColor.Location  = new System.Drawing.Point(136, 409);
     this.butOutlineColor.Name      = "butOutlineColor";
     this.butOutlineColor.Size      = new System.Drawing.Size(30, 20);
     this.butOutlineColor.TabIndex  = 14;
     this.butOutlineColor.Click    += new System.EventHandler(this.butOutlineColor_Click);
     //
     // comboSchoolClass
     //
     this.comboSchoolClass.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSchoolClass.Location         = new System.Drawing.Point(136, 437);
     this.comboSchoolClass.MaxDropDownItems = 30;
     this.comboSchoolClass.Name             = "comboSchoolClass";
     this.comboSchoolClass.Size             = new System.Drawing.Size(130, 21);
     this.comboSchoolClass.TabIndex         = 15;
     //
     // labelSchoolClass
     //
     this.labelSchoolClass.Location  = new System.Drawing.Point(9, 440);
     this.labelSchoolClass.Name      = "labelSchoolClass";
     this.labelSchoolClass.Size      = new System.Drawing.Size(125, 16);
     this.labelSchoolClass.TabIndex  = 89;
     this.labelSchoolClass.Text      = "Dental School Class";
     this.labelSchoolClass.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textNationalProvID
     //
     this.textNationalProvID.Location  = new System.Drawing.Point(136, 276);
     this.textNationalProvID.MaxLength = 20;
     this.textNationalProvID.Name      = "textNationalProvID";
     this.textNationalProvID.Size      = new System.Drawing.Size(100, 20);
     this.textNationalProvID.TabIndex  = 8;
     //
     // labelNPI
     //
     this.labelNPI.Location  = new System.Drawing.Point(5, 280);
     this.labelNPI.Name      = "labelNPI";
     this.labelNPI.Size      = new System.Drawing.Size(130, 14);
     this.labelNPI.TabIndex  = 92;
     this.labelNPI.Text      = "National Provider ID";
     this.labelNPI.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textCanadianOfficeNum
     //
     this.textCanadianOfficeNum.Location    = new System.Drawing.Point(136, 298);
     this.textCanadianOfficeNum.MaxLength   = 20;
     this.textCanadianOfficeNum.Name        = "textCanadianOfficeNum";
     this.textCanadianOfficeNum.Size        = new System.Drawing.Size(100, 20);
     this.textCanadianOfficeNum.TabIndex    = 9;
     this.textCanadianOfficeNum.Validating += new System.ComponentModel.CancelEventHandler(this.textCanadianOfficeNum_Validating);
     //
     // labelCanadianOfficeNum
     //
     this.labelCanadianOfficeNum.Location  = new System.Drawing.Point(5, 302);
     this.labelCanadianOfficeNum.Name      = "labelCanadianOfficeNum";
     this.labelCanadianOfficeNum.Size      = new System.Drawing.Size(130, 14);
     this.labelCanadianOfficeNum.TabIndex  = 94;
     this.labelCanadianOfficeNum.Text      = "Office Number";
     this.labelCanadianOfficeNum.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // FormProvEdit
     //
     this.AcceptButton      = this.butOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butCancel;
     this.ClientSize        = new System.Drawing.Size(849, 668);
     this.Controls.Add(this.textCanadianOfficeNum);
     this.Controls.Add(this.labelCanadianOfficeNum);
     this.Controls.Add(this.textNationalProvID);
     this.Controls.Add(this.labelNPI);
     this.Controls.Add(this.comboSchoolClass);
     this.Controls.Add(this.labelSchoolClass);
     this.Controls.Add(this.label14);
     this.Controls.Add(this.butOutlineColor);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.textMedicaidID);
     this.Controls.Add(this.textDEANum);
     this.Controls.Add(this.textLName);
     this.Controls.Add(this.textFName);
     this.Controls.Add(this.textMI);
     this.Controls.Add(this.textSuffix);
     this.Controls.Add(this.textStateLicense);
     this.Controls.Add(this.textAbbr);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.label13);
     this.Controls.Add(this.checkSigOnFile);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.listSpecialty);
     this.Controls.Add(this.listFeeSched);
     this.Controls.Add(this.checkIsSecondary);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.checkIsHidden);
     this.Controls.Add(this.labelColor);
     this.Controls.Add(this.butColor);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormProvEdit";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Edit Provider";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.FormProvEdit_Closing);
     this.Load         += new System.EventHandler(this.FormProvEdit_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #51
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RichTextEditor));
     this.mainImageList              = new System.Windows.Forms.ImageList(this.components);
     this.toolbarPanel               = new System.Windows.Forms.Panel();
     this.editorToolbar              = new System.Windows.Forms.ToolBar();
     this.wordExportToolButton       = new System.Windows.Forms.ToolBarButton();
     this.printToolButton            = new System.Windows.Forms.ToolBarButton();
     this.printPreviewToolButton     = new System.Windows.Forms.ToolBarButton();
     this.saveAsToolButton           = new System.Windows.Forms.ToolBarButton();
     this.emailToolButton            = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5             = new System.Windows.Forms.ToolBarButton();
     this.boldToolButton             = new System.Windows.Forms.ToolBarButton();
     this.underlineToolButton        = new System.Windows.Forms.ToolBarButton();
     this.italicToolButton           = new System.Windows.Forms.ToolBarButton();
     this.fontToolButton             = new System.Windows.Forms.ToolBarButton();
     this.formatingSeperator1        = new System.Windows.Forms.ToolBarButton();
     this.leftAlignToolButton        = new System.Windows.Forms.ToolBarButton();
     this.centerAlignToolButton      = new System.Windows.Forms.ToolBarButton();
     this.rightAlignToolButton       = new System.Windows.Forms.ToolBarButton();
     this.unnumberedBulletToolButton = new System.Windows.Forms.ToolBarButton();
     this.numberedBulletToolButton   = new System.Windows.Forms.ToolBarButton();
     this.bulletsSeperator           = new System.Windows.Forms.ToolBarButton();
     this.findToolButton             = new System.Windows.Forms.ToolBarButton();
     this.findNextToolButton         = new System.Windows.Forms.ToolBarButton();
     this.findSeperator              = new System.Windows.Forms.ToolBarButton();
     this.undoToolButton             = new System.Windows.Forms.ToolBarButton();
     this.redoToolButton             = new System.Windows.Forms.ToolBarButton();
     this.editingSeperator1          = new System.Windows.Forms.ToolBarButton();
     this.cutToolButton              = new System.Windows.Forms.ToolBarButton();
     this.copyToolButton             = new System.Windows.Forms.ToolBarButton();
     this.pasteToolButton            = new System.Windows.Forms.ToolBarButton();
     this.editingSeperator2          = new System.Windows.Forms.ToolBarButton();
     this.hyperLinkToolButton        = new System.Windows.Forms.ToolBarButton();
     this.spellCheckToolButton       = new System.Windows.Forms.ToolBarButton();
     this.clearToolButton            = new System.Windows.Forms.ToolBarButton();
     this.insertDateToolButton       = new System.Windows.Forms.ToolBarButton();
     this.wordwrapToolButton         = new System.Windows.Forms.ToolBarButton();
     this.panel2           = new System.Windows.Forms.Panel();
     this.innerRichTextBox = new System.Windows.Forms.RichTextBox();
     this.splitter1        = new System.Windows.Forms.Splitter();
     this.fontDialog1      = new System.Windows.Forms.FontDialog();
     this.colorDialog1     = new System.Windows.Forms.ColorDialog();
     this.saveFileDialog1  = new System.Windows.Forms.SaveFileDialog();
     this.contextMenu1     = new System.Windows.Forms.ContextMenu();
     this.toolbarPanel.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // mainImageList
     //
     this.mainImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.mainImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("mainImageList.ImageStream")));
     this.mainImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // toolbarPanel
     //
     this.toolbarPanel.Controls.Add(this.editorToolbar);
     this.toolbarPanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this.toolbarPanel.Location = new System.Drawing.Point(0, 0);
     this.toolbarPanel.Name     = "toolbarPanel";
     this.toolbarPanel.Size     = new System.Drawing.Size(432, 56);
     this.toolbarPanel.TabIndex = 2;
     //
     // editorToolbar
     //
     this.editorToolbar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.editorToolbar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.wordExportToolButton,
         this.printToolButton,
         this.printPreviewToolButton,
         this.saveAsToolButton,
         this.emailToolButton,
         this.toolBarButton5,
         this.boldToolButton,
         this.underlineToolButton,
         this.italicToolButton,
         this.fontToolButton,
         this.formatingSeperator1,
         this.leftAlignToolButton,
         this.centerAlignToolButton,
         this.rightAlignToolButton,
         this.unnumberedBulletToolButton,
         this.numberedBulletToolButton,
         this.bulletsSeperator,
         this.findToolButton,
         this.findNextToolButton,
         this.findSeperator,
         this.undoToolButton,
         this.redoToolButton,
         this.editingSeperator1,
         this.cutToolButton,
         this.copyToolButton,
         this.pasteToolButton,
         this.editingSeperator2,
         this.hyperLinkToolButton,
         this.spellCheckToolButton,
         this.clearToolButton,
         this.insertDateToolButton,
         this.wordwrapToolButton
     });
     this.editorToolbar.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.editorToolbar.DropDownArrows = true;
     this.editorToolbar.ImageList      = this.mainImageList;
     this.editorToolbar.Location       = new System.Drawing.Point(0, 0);
     this.editorToolbar.Name           = "editorToolbar";
     this.editorToolbar.ShowToolTips   = true;
     this.editorToolbar.Size           = new System.Drawing.Size(432, 72);
     this.editorToolbar.TabIndex       = 2;
     this.editorToolbar.SizeChanged   += new System.EventHandler(this.editorToolbar_SizeChanged);
     this.editorToolbar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.editorToolbar_ButtonClick);
     //
     // wordExportToolButton
     //
     this.wordExportToolButton.ImageIndex  = 31;
     this.wordExportToolButton.ToolTipText = "Edit this document to Microsoft Word";
     //
     // printToolButton
     //
     this.printToolButton.ImageIndex  = 1;
     this.printToolButton.ToolTipText = "Print";
     //
     // printPreviewToolButton
     //
     this.printPreviewToolButton.ImageIndex  = 0;
     this.printPreviewToolButton.ToolTipText = "Print Preview";
     //
     // saveAsToolButton
     //
     this.saveAsToolButton.ImageIndex  = 32;
     this.saveAsToolButton.ToolTipText = "Save As";
     //
     // emailToolButton
     //
     this.emailToolButton.ImageIndex = 2;
     //
     // toolBarButton5
     //
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // boldToolButton
     //
     this.boldToolButton.ImageIndex = 4;
     this.boldToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // underlineToolButton
     //
     this.underlineToolButton.ImageIndex = 27;
     this.underlineToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // italicToolButton
     //
     this.italicToolButton.ImageIndex = 14;
     this.italicToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // fontToolButton
     //
     this.fontToolButton.ImageIndex = 12;
     //
     // formatingSeperator1
     //
     this.formatingSeperator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // leftAlignToolButton
     //
     this.leftAlignToolButton.ImageIndex = 16;
     this.leftAlignToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // centerAlignToolButton
     //
     this.centerAlignToolButton.ImageIndex = 30;
     this.centerAlignToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // rightAlignToolButton
     //
     this.rightAlignToolButton.ImageIndex = 23;
     this.rightAlignToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // unnumberedBulletToolButton
     //
     this.unnumberedBulletToolButton.ImageIndex = 19;
     this.unnumberedBulletToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // numberedBulletToolButton
     //
     this.numberedBulletToolButton.ImageIndex = 20;
     //
     // bulletsSeperator
     //
     this.bulletsSeperator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // findToolButton
     //
     this.findToolButton.ImageIndex = 3;
     //
     // findNextToolButton
     //
     this.findNextToolButton.ImageIndex = 11;
     //
     // findSeperator
     //
     this.findSeperator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // undoToolButton
     //
     this.undoToolButton.ImageIndex  = 28;
     this.undoToolButton.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.undoToolButton.ToolTipText = "Undo last operation";
     //
     // redoToolButton
     //
     this.redoToolButton.ImageIndex  = 22;
     this.redoToolButton.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.redoToolButton.ToolTipText = "Redo last operation";
     //
     // editingSeperator1
     //
     this.editingSeperator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // cutToolButton
     //
     this.cutToolButton.ImageIndex = 9;
     this.cutToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // copyToolButton
     //
     this.copyToolButton.ImageIndex = 8;
     this.copyToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // pasteToolButton
     //
     this.pasteToolButton.ImageIndex = 21;
     this.pasteToolButton.Style      = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     //
     // editingSeperator2
     //
     this.editingSeperator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // hyperLinkToolButton
     //
     this.hyperLinkToolButton.ImageIndex = 29;
     //
     // spellCheckToolButton
     //
     this.spellCheckToolButton.ImageIndex = 25;
     //
     // clearToolButton
     //
     this.clearToolButton.ImageIndex  = 17;
     this.clearToolButton.ToolTipText = "Remove everything from this document";
     //
     // insertDateToolButton
     //
     this.insertDateToolButton.ImageIndex = 10;
     //
     // wordwrapToolButton
     //
     this.wordwrapToolButton.ImageIndex  = 33;
     this.wordwrapToolButton.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.wordwrapToolButton.ToolTipText = "Turn on/off wordwrap";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.innerRichTextBox);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 57);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(432, 143);
     this.panel2.TabIndex = 3;
     //
     // innerRichTextBox
     //
     this.innerRichTextBox.AcceptsTab        = true;
     this.innerRichTextBox.AutoWordSelection = true;
     this.innerRichTextBox.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.innerRichTextBox.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.innerRichTextBox.HideSelection       = false;
     this.innerRichTextBox.Location            = new System.Drawing.Point(0, 0);
     this.innerRichTextBox.Name                = "innerRichTextBox";
     this.innerRichTextBox.ShowSelectionMargin = true;
     this.innerRichTextBox.Size                = new System.Drawing.Size(432, 143);
     this.innerRichTextBox.TabIndex            = 2;
     this.innerRichTextBox.Text                = "richTextBox1";
     this.innerRichTextBox.WordWrap            = false;
     this.innerRichTextBox.ReadOnlyChanged    += new System.EventHandler(this.innerRichTextBox_ReadOnlyChanged);
     this.innerRichTextBox.LinkClicked        += new System.Windows.Forms.LinkClickedEventHandler(this.innerRichTextBox_LinkClicked);
     this.innerRichTextBox.SelectionChanged   += new System.EventHandler(this.innerRichTextBox_SelectionChanged);
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter1.Location = new System.Drawing.Point(0, 56);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(432, 1);
     this.splitter1.TabIndex = 4;
     this.splitter1.TabStop  = false;
     //
     // fontDialog1
     //
     this.fontDialog1.ShowApply = true;
     this.fontDialog1.ShowColor = true;
     this.fontDialog1.Apply    += new System.EventHandler(this.fontDialog1_Apply);
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "rtf";
     this.saveFileDialog1.Filter     = "Rich Text File (*.rtf)|*.rtf|Rich Text File Without Ole Objects (*.rtf)|*.rtf|Tex" +
                                       "t File (*.txt)|*.txt|Text File Without Ole Objects (*.txt)|*.txt|ANSI Text File " +
                                       "(*.txt)|*.txt|All Files|*.*";
     this.saveFileDialog1.Title = "Save This Document As";
     //
     // RichTextEditor
     //
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.toolbarPanel);
     this.Name = "RichTextEditor";
     this.Size = new System.Drawing.Size(432, 200);
     this.toolbarPanel.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #52
0
 /// <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.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     Easychart.Finance.ExchangeIntraday     exchangeIntraday1        = new Easychart.Finance.ExchangeIntraday();
     this.mmMain                   = new System.Windows.Forms.MainMenu(this.components);
     this.mmData                   = new System.Windows.Forms.MenuItem();
     this.mmLoadData               = new System.Windows.Forms.MenuItem();
     this.mmLoadDataForecast       = new System.Windows.Forms.MenuItem();
     this.miLoadFromEasyChart      = new System.Windows.Forms.MenuItem();
     this.miLoadFromProphet        = new System.Windows.Forms.MenuItem();
     this.miLoadBinary             = new System.Windows.Forms.MenuItem();
     this.miLoadXml                = new System.Windows.Forms.MenuItem();
     this.miText                   = new System.Windows.Forms.MenuItem();
     this.miMetaStock              = new System.Windows.Forms.MenuItem();
     this.miLoadFromYahooStreaming = new System.Windows.Forms.MenuItem();
     this.miForexText              = new System.Windows.Forms.MenuItem();
     this.miLoadBond               = new System.Windows.Forms.MenuItem();
     this.miSp2           = new System.Windows.Forms.MenuItem();
     this.miSetup         = new System.Windows.Forms.MenuItem();
     this.miPreview       = new System.Windows.Forms.MenuItem();
     this.miPrint         = new System.Windows.Forms.MenuItem();
     this.miSp1           = new System.Windows.Forms.MenuItem();
     this.miExit          = new System.Windows.Forms.MenuItem();
     this.miHelp          = new System.Windows.Forms.MenuItem();
     this.miHotKey        = new System.Windows.Forms.MenuItem();
     this.menuItem3       = new System.Windows.Forms.MenuItem();
     this.miAbout         = new System.Windows.Forms.MenuItem();
     this.odLoadData      = new System.Windows.Forms.OpenFileDialog();
     this.cdFormulaColor  = new System.Windows.Forms.ColorDialog();
     this.pnBottom        = new System.Windows.Forms.Panel();
     this.sizeToolControl = new Easychart.Finance.Win.SizeToolControl();
     this.ChartControl    = new Easychart.Finance.Win.ChartWinControl();
     this.pnClient        = new System.Windows.Forms.Panel();
     this.mmMining        = new System.Windows.Forms.MenuItem();
     this.miCreateDM      = new System.Windows.Forms.MenuItem();
     this.pnBottom.SuspendLayout();
     this.pnClient.SuspendLayout();
     this.SuspendLayout();
     //
     // mmMain
     //
     this.mmMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mmData,
         this.mmMining,
         this.miHelp
     });
     //
     // mmData
     //
     this.mmData.Index = 0;
     this.mmData.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mmLoadData,
         this.mmLoadDataForecast,
         this.miLoadFromEasyChart,
         this.miLoadFromProphet,
         this.miLoadBinary,
         this.miLoadXml,
         this.miText,
         this.miMetaStock,
         this.miLoadFromYahooStreaming,
         this.miForexText,
         this.miLoadBond,
         this.miSp2,
         this.miSetup,
         this.miPreview,
         this.miPrint,
         this.miSp1,
         this.miExit
     });
     this.mmData.Text = "&Dữ Liệu";
     //
     // mmLoadData
     //
     this.mmLoadData.Index    = 0;
     this.mmLoadData.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.mmLoadData.Text     = "&Vẽ Dữ Liệu Nguồn";
     this.mmLoadData.Click   += new System.EventHandler(this.mmLoadData_Click);
     //
     // mmLoadDataForecast
     //
     this.mmLoadDataForecast.Index  = 1;
     this.mmLoadDataForecast.Text   = "Vẽ Dữ Liệu Nguồn và Dự Báo";
     this.mmLoadDataForecast.Click += new System.EventHandler(this.mmLoadDataForecast_Click);
     //
     // miLoadFromEasyChart
     //
     this.miLoadFromEasyChart.Index = 2;
     this.miLoadFromEasyChart.Text  = "";
     //
     // miLoadFromProphet
     //
     this.miLoadFromProphet.Index = 3;
     this.miLoadFromProphet.Text  = "";
     //
     // miLoadBinary
     //
     this.miLoadBinary.Index = 4;
     this.miLoadBinary.Text  = "";
     //
     // miLoadXml
     //
     this.miLoadXml.Index = 5;
     this.miLoadXml.Text  = "";
     //
     // miText
     //
     this.miText.Index = 6;
     this.miText.Text  = "";
     //
     // miMetaStock
     //
     this.miMetaStock.Index = 7;
     this.miMetaStock.Text  = "";
     //
     // miLoadFromYahooStreaming
     //
     this.miLoadFromYahooStreaming.Index = 8;
     this.miLoadFromYahooStreaming.Text  = "";
     //
     // miForexText
     //
     this.miForexText.Index = 9;
     this.miForexText.Text  = "";
     //
     // miLoadBond
     //
     this.miLoadBond.Index = 10;
     this.miLoadBond.Text  = "";
     //
     // miSp2
     //
     this.miSp2.Index = 11;
     this.miSp2.Text  = "-";
     //
     // miSetup
     //
     this.miSetup.Index = 12;
     this.miSetup.Text  = "";
     //
     // miPreview
     //
     this.miPreview.Index = 13;
     this.miPreview.Text  = "";
     //
     // miPrint
     //
     this.miPrint.Index = 14;
     this.miPrint.Text  = "";
     //
     // miSp1
     //
     this.miSp1.Index = 15;
     this.miSp1.Text  = "-";
     //
     // miExit
     //
     this.miExit.Index    = 16;
     this.miExit.Shortcut = System.Windows.Forms.Shortcut.AltF4;
     this.miExit.Text     = "Exit";
     this.miExit.Click   += new System.EventHandler(this.miExit_Click);
     //
     // miHelp
     //
     this.miHelp.Index = 2;
     this.miHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miHotKey,
         this.menuItem3,
         this.miAbout
     });
     this.miHelp.Text = "&Trợ Giúp";
     //
     // miHotKey
     //
     this.miHotKey.Index  = 0;
     this.miHotKey.Text   = "Hot Keys";
     this.miHotKey.Click += new System.EventHandler(this.miHotKey_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text  = "-";
     //
     // miAbout
     //
     this.miAbout.Index = 2;
     this.miAbout.Text  = "";
     //
     // odLoadData
     //
     this.odLoadData.DefaultExt = "csv";
     this.odLoadData.Filter     = "csv files (*.csv)|*.csv|data files (*.dat)|*.dat|All files (*.*)|*.*";
     //
     // pnBottom
     //
     this.pnBottom.Controls.Add(this.sizeToolControl);
     this.pnBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.pnBottom.Location = new System.Drawing.Point(0, 489);
     this.pnBottom.Name     = "pnBottom";
     this.pnBottom.Size     = new System.Drawing.Size(776, 24);
     this.pnBottom.TabIndex = 3;
     //
     // sizeToolControl
     //
     this.sizeToolControl.ChartControl = this.ChartControl;
     this.sizeToolControl.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.sizeToolControl.Location     = new System.Drawing.Point(0, 0);
     this.sizeToolControl.Name         = "sizeToolControl";
     this.sizeToolControl.Size         = new System.Drawing.Size(776, 24);
     this.sizeToolControl.TabIndex     = 0;
     //
     // ChartControl
     //
     this.ChartControl.AdjustData          = ((bool)(configurationAppSettings.GetValue("ChartControl.AdjustData", typeof(bool))));
     this.ChartControl.AreaPercent         = ((string)(configurationAppSettings.GetValue("ChartControl.AreaPercent", typeof(string))));
     this.ChartControl.BackColor           = System.Drawing.SystemColors.Control;
     this.ChartControl.CausesValidation    = false;
     this.ChartControl.ChartDragMode       = Easychart.Finance.ChartDragMode.Chart;
     this.ChartControl.ColumnWidth         = 5;
     this.ChartControl.DefaultFormulas     = ((string)(configurationAppSettings.GetValue("ChartControl.DefaultFormulas", typeof(string))));
     this.ChartControl.Designing           = false;
     this.ChartControl.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.ChartControl.EndTime             = new System.DateTime(((long)(0)));
     this.ChartControl.FavoriteFormulas    = ((string)(configurationAppSettings.GetValue("ChartControl.FavoriteFormulas", typeof(string))));
     this.ChartControl.ForeColor           = System.Drawing.Color.Coral;
     exchangeIntraday1.TimePeriods         = new Easychart.Finance.TimePeriod[0];
     exchangeIntraday1.TimeZone            = -4;
     this.ChartControl.IntradayInfo        = exchangeIntraday1;
     this.ChartControl.Location            = new System.Drawing.Point(0, 0);
     this.ChartControl.MaxPrice            = 0;
     this.ChartControl.MinColumnWidth      = 1;
     this.ChartControl.MinPrice            = 0;
     this.ChartControl.Name                = "ChartControl";
     this.ChartControl.PriceLabelFormat    = "{CODE} O:{OPEN} H:{HIGH} L:{LOW} C:{CLOSE} Chg:{CHANGE}";
     this.ChartControl.ResetYAfterXChanged = false;
     this.ChartControl.ShowCrossCursor     = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCrossCursor", typeof(bool))));
     this.ChartControl.ShowCursorLabel     = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowCursorLabel", typeof(bool))));
     this.ChartControl.ShowIndicatorValues = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowIndicatorValues", typeof(bool))));
     this.ChartControl.ShowOverlayValues   = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowOverlayValues", typeof(bool))));
     this.ChartControl.ShowStatistic       = ((bool)(configurationAppSettings.GetValue("ChartControl.ShowStatistic", typeof(bool))));
     this.ChartControl.Size                = new System.Drawing.Size(776, 489);
     this.ChartControl.Skin                = ((string)(configurationAppSettings.GetValue("ChartControl.Skin", typeof(string))));
     this.ChartControl.StartTime           = new System.DateTime(((long)(0)));
     this.ChartControl.StickRenderType     = Easychart.Finance.StickRenderType.Column;
     this.ChartControl.TabIndex            = 0;
     this.ChartControl.NativePaint        += new Easychart.Finance.NativePaintHandler(this.ChartControl_NativePaint);
     this.ChartControl.BeforeApplySkin    += new Easychart.Finance.Win.ApplySkinHandler(this.ChartControl_BeforeApplySkin);
     this.ChartControl.AfterApplySkin     += new System.EventHandler(this.ChartControl_AfterApplySkin);
     this.ChartControl.DataChanged        += new System.EventHandler(this.ChartControl_DataChanged);
     //
     // pnClient
     //
     this.pnClient.Controls.Add(this.ChartControl);
     this.pnClient.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnClient.Location = new System.Drawing.Point(0, 0);
     this.pnClient.Name     = "pnClient";
     this.pnClient.Size     = new System.Drawing.Size(776, 489);
     this.pnClient.TabIndex = 4;
     //
     // mmMining
     //
     this.mmMining.Index = 1;
     this.mmMining.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miCreateDM
     });
     this.mmMining.Text = "Dự &Báo";
     //
     // miCreateDM
     //
     this.miCreateDM.Index  = 0;
     this.miCreateDM.Text   = "Tạo mô hình cho Stock mới";
     this.miCreateDM.Click += new System.EventHandler(this.miCreateDM_Click);
     //
     // DemoForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(776, 513);
     this.Controls.Add(this.pnClient);
     this.Controls.Add(this.pnBottom);
     this.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Font        = new System.Drawing.Font("Verdana", 8.25F);
     this.Menu        = this.mmMain;
     this.Name        = "DemoForm";
     this.Text        = "DemoForm";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closed     += new System.EventHandler(this.DemoForm_Closed);
     this.Load       += new System.EventHandler(this.DemoForm_Load);
     this.pnBottom.ResumeLayout(false);
     this.pnClient.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #53
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBoxBack           = new System.Windows.Forms.GroupBox();
     this.buttonSetBackColor     = new System.Windows.Forms.Button();
     this.label1                 = new System.Windows.Forms.Label();
     this.checkBoxShowBackGird   = new System.Windows.Forms.CheckBox();
     this.labelBackColor         = new System.Windows.Forms.Label();
     this.groupBoxBlock          = new System.Windows.Forms.GroupBox();
     this.label2                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this.label4                 = new System.Windows.Forms.Label();
     this.labelFixedBlockColor   = new System.Windows.Forms.Label();
     this.labelViewBlockColor    = new System.Windows.Forms.Label();
     this.labelDynamicBlockColor = new System.Windows.Forms.Label();
     this.buttonSetDynamicColor  = new System.Windows.Forms.Button();
     this.buttonSetFixedColor    = new System.Windows.Forms.Button();
     this.buttonSetViewColor     = new System.Windows.Forms.Button();
     this.groupBoxSound          = new System.Windows.Forms.GroupBox();
     this.domainUpDownVolume     = new System.Windows.Forms.DomainUpDown();
     this.checkBoxSound          = new System.Windows.Forms.CheckBox();
     this.checkBoxMusic          = new System.Windows.Forms.CheckBox();
     this.colorDialog1           = new System.Windows.Forms.ColorDialog();
     this.buttonOK               = new System.Windows.Forms.Button();
     this.groupBoxBack.SuspendLayout();
     this.groupBoxBlock.SuspendLayout();
     this.groupBoxSound.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBoxBack
     //
     this.groupBoxBack.Controls.Add(this.buttonSetBackColor);
     this.groupBoxBack.Controls.Add(this.label1);
     this.groupBoxBack.Controls.Add(this.checkBoxShowBackGird);
     this.groupBoxBack.Controls.Add(this.labelBackColor);
     this.groupBoxBack.Location = new System.Drawing.Point(8, 8);
     this.groupBoxBack.Name     = "groupBoxBack";
     this.groupBoxBack.Size     = new System.Drawing.Size(320, 80);
     this.groupBoxBack.TabIndex = 0;
     this.groupBoxBack.TabStop  = false;
     this.groupBoxBack.Text     = "背景   ";
     //
     // buttonSetBackColor
     //
     this.buttonSetBackColor.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.buttonSetBackColor.Location = new System.Drawing.Point(232, 40);
     this.buttonSetBackColor.Name     = "buttonSetBackColor";
     this.buttonSetBackColor.Size     = new System.Drawing.Size(64, 24);
     this.buttonSetBackColor.TabIndex = 2;
     this.buttonSetBackColor.Text     = "更改 ";
     this.buttonSetBackColor.Click   += new System.EventHandler(this.buttonSetBackColor_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 48);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "背景网格颜色";
     //
     // checkBoxShowBackGird
     //
     this.checkBoxShowBackGird.Checked         = true;
     this.checkBoxShowBackGird.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxShowBackGird.Location        = new System.Drawing.Point(16, 16);
     this.checkBoxShowBackGird.Name            = "checkBoxShowBackGird";
     this.checkBoxShowBackGird.Size            = new System.Drawing.Size(120, 24);
     this.checkBoxShowBackGird.TabIndex        = 0;
     this.checkBoxShowBackGird.Text            = "显示背景网格";
     this.checkBoxShowBackGird.CheckedChanged += new System.EventHandler(this.checkBoxShowBackGird_CheckedChanged);
     //
     // labelBackColor
     //
     this.labelBackColor.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.labelBackColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelBackColor.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.labelBackColor.Location    = new System.Drawing.Point(144, 40);
     this.labelBackColor.Name        = "labelBackColor";
     this.labelBackColor.Size        = new System.Drawing.Size(64, 24);
     this.labelBackColor.TabIndex    = 1;
     //
     // groupBoxBlock
     //
     this.groupBoxBlock.Controls.Add(this.label2);
     this.groupBoxBlock.Controls.Add(this.label3);
     this.groupBoxBlock.Controls.Add(this.label4);
     this.groupBoxBlock.Controls.Add(this.labelFixedBlockColor);
     this.groupBoxBlock.Controls.Add(this.labelViewBlockColor);
     this.groupBoxBlock.Controls.Add(this.labelDynamicBlockColor);
     this.groupBoxBlock.Controls.Add(this.buttonSetDynamicColor);
     this.groupBoxBlock.Controls.Add(this.buttonSetFixedColor);
     this.groupBoxBlock.Controls.Add(this.buttonSetViewColor);
     this.groupBoxBlock.Location = new System.Drawing.Point(8, 96);
     this.groupBoxBlock.Name     = "groupBoxBlock";
     this.groupBoxBlock.Size     = new System.Drawing.Size(320, 112);
     this.groupBoxBlock.TabIndex = 1;
     this.groupBoxBlock.TabStop  = false;
     this.groupBoxBlock.Text     = "方块";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(104, 16);
     this.label2.TabIndex = 1;
     this.label2.Text     = "活动方块颜色";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 56);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(104, 16);
     this.label3.TabIndex = 1;
     this.label3.Text     = "固定方块颜色";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 88);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(104, 16);
     this.label4.TabIndex = 1;
     this.label4.Text     = "预览方块颜色";
     //
     // labelFixedBlockColor
     //
     this.labelFixedBlockColor.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.labelFixedBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelFixedBlockColor.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.labelFixedBlockColor.Location    = new System.Drawing.Point(144, 48);
     this.labelFixedBlockColor.Name        = "labelFixedBlockColor";
     this.labelFixedBlockColor.Size        = new System.Drawing.Size(64, 24);
     this.labelFixedBlockColor.TabIndex    = 1;
     //
     // labelViewBlockColor
     //
     this.labelViewBlockColor.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.labelViewBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelViewBlockColor.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.labelViewBlockColor.Location    = new System.Drawing.Point(144, 80);
     this.labelViewBlockColor.Name        = "labelViewBlockColor";
     this.labelViewBlockColor.Size        = new System.Drawing.Size(64, 24);
     this.labelViewBlockColor.TabIndex    = 1;
     //
     // labelDynamicBlockColor
     //
     this.labelDynamicBlockColor.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.labelDynamicBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelDynamicBlockColor.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.labelDynamicBlockColor.Location    = new System.Drawing.Point(144, 16);
     this.labelDynamicBlockColor.Name        = "labelDynamicBlockColor";
     this.labelDynamicBlockColor.Size        = new System.Drawing.Size(64, 24);
     this.labelDynamicBlockColor.TabIndex    = 1;
     //
     // buttonSetDynamicColor
     //
     this.buttonSetDynamicColor.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.buttonSetDynamicColor.Location = new System.Drawing.Point(232, 16);
     this.buttonSetDynamicColor.Name     = "buttonSetDynamicColor";
     this.buttonSetDynamicColor.Size     = new System.Drawing.Size(64, 24);
     this.buttonSetDynamicColor.TabIndex = 2;
     this.buttonSetDynamicColor.Text     = "更改 ";
     this.buttonSetDynamicColor.Click   += new System.EventHandler(this.buttonSetDynamicColor_Click);
     //
     // buttonSetFixedColor
     //
     this.buttonSetFixedColor.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.buttonSetFixedColor.Location = new System.Drawing.Point(232, 48);
     this.buttonSetFixedColor.Name     = "buttonSetFixedColor";
     this.buttonSetFixedColor.Size     = new System.Drawing.Size(64, 24);
     this.buttonSetFixedColor.TabIndex = 2;
     this.buttonSetFixedColor.Text     = "更改 ";
     this.buttonSetFixedColor.Click   += new System.EventHandler(this.buttonSetFixedColor_Click);
     //
     // buttonSetViewColor
     //
     this.buttonSetViewColor.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.buttonSetViewColor.Location = new System.Drawing.Point(232, 80);
     this.buttonSetViewColor.Name     = "buttonSetViewColor";
     this.buttonSetViewColor.Size     = new System.Drawing.Size(64, 24);
     this.buttonSetViewColor.TabIndex = 2;
     this.buttonSetViewColor.Text     = "更改 ";
     this.buttonSetViewColor.Click   += new System.EventHandler(this.buttonSetViewColor_Click);
     //
     // groupBoxSound
     //
     this.groupBoxSound.Controls.Add(this.domainUpDownVolume);
     this.groupBoxSound.Controls.Add(this.checkBoxSound);
     this.groupBoxSound.Controls.Add(this.checkBoxMusic);
     this.groupBoxSound.Location = new System.Drawing.Point(8, 216);
     this.groupBoxSound.Name     = "groupBoxSound";
     this.groupBoxSound.Size     = new System.Drawing.Size(232, 48);
     this.groupBoxSound.TabIndex = 2;
     this.groupBoxSound.TabStop  = false;
     this.groupBoxSound.Text     = "声音";
     //
     // domainUpDownVolume
     //
     this.domainUpDownVolume.Items.Add("9");
     this.domainUpDownVolume.Items.Add("8");
     this.domainUpDownVolume.Items.Add("7");
     this.domainUpDownVolume.Items.Add("6");
     this.domainUpDownVolume.Items.Add("5");
     this.domainUpDownVolume.Items.Add("4");
     this.domainUpDownVolume.Items.Add("3");
     this.domainUpDownVolume.Items.Add("2");
     this.domainUpDownVolume.Items.Add("1");
     this.domainUpDownVolume.Location             = new System.Drawing.Point(184, 16);
     this.domainUpDownVolume.Name                 = "domainUpDownVolume";
     this.domainUpDownVolume.ReadOnly             = true;
     this.domainUpDownVolume.Size                 = new System.Drawing.Size(32, 21);
     this.domainUpDownVolume.TabIndex             = 1;
     this.domainUpDownVolume.Text                 = "1";
     this.domainUpDownVolume.TextAlign            = System.Windows.Forms.HorizontalAlignment.Right;
     this.domainUpDownVolume.SelectedItemChanged += new System.EventHandler(this.domainUpDownVolume_SelectedItemChanged);
     //
     // checkBoxSound
     //
     this.checkBoxSound.Checked         = true;
     this.checkBoxSound.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxSound.Location        = new System.Drawing.Point(16, 16);
     this.checkBoxSound.Name            = "checkBoxSound";
     this.checkBoxSound.Size            = new System.Drawing.Size(80, 24);
     this.checkBoxSound.TabIndex        = 0;
     this.checkBoxSound.Text            = "背景音效";
     this.checkBoxSound.CheckedChanged += new System.EventHandler(this.checkBoxSound_CheckedChanged);
     //
     // checkBoxMusic
     //
     this.checkBoxMusic.Checked            = true;
     this.checkBoxMusic.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxMusic.Location           = new System.Drawing.Point(104, 16);
     this.checkBoxMusic.Name               = "checkBoxMusic";
     this.checkBoxMusic.Size               = new System.Drawing.Size(80, 24);
     this.checkBoxMusic.TabIndex           = 0;
     this.checkBoxMusic.Text               = "背景音乐";
     this.checkBoxMusic.CheckStateChanged += new System.EventHandler(this.checkBoxMusic_CheckStateChanged);
     //
     // buttonOK
     //
     this.buttonOK.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.buttonOK.Location = new System.Drawing.Point(248, 240);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.Size     = new System.Drawing.Size(80, 24);
     this.buttonOK.TabIndex = 2;
     this.buttonOK.Text     = "确定";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // FormSet
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(344, 273);
     this.Controls.Add(this.groupBoxSound);
     this.Controls.Add(this.groupBoxBlock);
     this.Controls.Add(this.groupBoxBack);
     this.Controls.Add(this.buttonOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximumSize     = new System.Drawing.Size(350, 297);
     this.Name            = "FormSet";
     this.Text            = "FormSet";
     this.Load           += new System.EventHandler(this.FormSet_Load);
     this.groupBoxBack.ResumeLayout(false);
     this.groupBoxBlock.ResumeLayout(false);
     this.groupBoxSound.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #54
0
 /// <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.label1       = new System.Windows.Forms.Label();
     this.timer1       = new System.Windows.Forms.Timer(this.components);
     this.msg          = new System.Windows.Forms.TextBox();
     this.txt_host     = new System.Windows.Forms.TextBox();
     this.listBox1     = new System.Windows.Forms.ListBox();
     this.mainMenu1    = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1    = new System.Windows.Forms.MenuItem();
     this.menuItem2    = new System.Windows.Forms.MenuItem();
     this.menuItem3    = new System.Windows.Forms.MenuItem();
     this.menuItem4    = new System.Windows.Forms.MenuItem();
     this.menuItem5    = new System.Windows.Forms.MenuItem();
     this.colorDialog1 = new System.Windows.Forms.ColorDialog();
     this.fontDialog1  = new System.Windows.Forms.FontDialog();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.label1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.label1.ForeColor   = System.Drawing.Color.Black;
     this.label1.Location    = new System.Drawing.Point(0, 0);
     this.label1.Name        = "label1";
     this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label1.Size        = new System.Drawing.Size(474, 23);
     this.label1.TabIndex    = 7;
     this.label1.Text        = ":Group";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // timer1
     //
     this.timer1.Interval = 300;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // msg
     //
     this.msg.Dock      = System.Windows.Forms.DockStyle.Top;
     this.msg.Enabled   = false;
     this.msg.Location  = new System.Drawing.Point(0, 43);
     this.msg.Name      = "msg";
     this.msg.Size      = new System.Drawing.Size(474, 20);
     this.msg.TabIndex  = 10;
     this.msg.Text      = "Write your Message Here";
     this.msg.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.msg_KeyPress);
     //
     // txt_host
     //
     this.txt_host.Dock      = System.Windows.Forms.DockStyle.Top;
     this.txt_host.Location  = new System.Drawing.Point(0, 23);
     this.txt_host.Name      = "txt_host";
     this.txt_host.Size      = new System.Drawing.Size(474, 20);
     this.txt_host.TabIndex  = 9;
     this.txt_host.Text      = "225.100.0.1";
     this.txt_host.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_host_KeyPress);
     //
     // listBox1
     //
     this.listBox1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.listBox1.Font                = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.listBox1.ForeColor           = System.Drawing.Color.Red;
     this.listBox1.ItemHeight          = 16;
     this.listBox1.Location            = new System.Drawing.Point(0, 63);
     this.listBox1.Name                = "listBox1";
     this.listBox1.ScrollAlwaysVisible = true;
     this.listBox1.Size                = new System.Drawing.Size(474, 218);
     this.listBox1.TabIndex            = 11;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "Connect";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem2
     //
     this.menuItem2.Enabled = false;
     this.menuItem2.Index   = 1;
     this.menuItem2.Text    = "End Conection";
     this.menuItem2.Click  += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.menuItem5
     });
     this.menuItem3.Text = "Font &Color";
     //
     // menuItem4
     //
     this.menuItem4.Index  = 0;
     this.menuItem4.Text   = "Color";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 1;
     this.menuItem5.Text   = "Line";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // msg1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(474, 281);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.msg);
     this.Controls.Add(this.txt_host);
     this.Controls.Add(this.label1);
     this.Menu          = this.mainMenu1;
     this.Name          = "msg1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Text Conference";
     this.TopMost       = true;
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.msg1_Closing);
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.msg1_MouseMove);
     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.btnSketchColor = new System.Windows.Forms.Button();
     this.label3         = new System.Windows.Forms.Label();
     this.txtSketchWidth = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.colorDialog1   = new System.Windows.Forms.ColorDialog();
     this.label8         = new System.Windows.Forms.Label();
     this.txtPrecision   = new System.Windows.Forms.TextBox();
     this.lblStream      = new System.Windows.Forms.Label();
     this.txtStreamCount = new System.Windows.Forms.TextBox();
     this.txtTolerance   = new System.Windows.Forms.TextBox();
     this.label1         = new System.Windows.Forms.Label();
     this.label4         = new System.Windows.Forms.Label();
     this.chkStretch     = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnSketchColor);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtSketchWidth);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Location = new System.Drawing.Point(8, 144);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(160, 96);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Sketch Symbol";
     //
     // btnSketchColor
     //
     this.btnSketchColor.Location = new System.Drawing.Point(72, 56);
     this.btnSketchColor.Name     = "btnSketchColor";
     this.btnSketchColor.Size     = new System.Drawing.Size(64, 24);
     this.btnSketchColor.TabIndex = 3;
     this.btnSketchColor.Text     = "Pick Color";
     this.btnSketchColor.Click   += new System.EventHandler(this.btnSketchColor_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 64);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(48, 24);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Color:";
     //
     // txtSketchWidth
     //
     this.txtSketchWidth.Location     = new System.Drawing.Point(72, 24);
     this.txtSketchWidth.Name         = "txtSketchWidth";
     this.txtSketchWidth.Size         = new System.Drawing.Size(64, 20);
     this.txtSketchWidth.TabIndex     = 1;
     this.txtSketchWidth.Text         = "";
     this.txtSketchWidth.TextChanged += new System.EventHandler(this.txtSketchWidth_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(48, 24);
     this.label2.TabIndex = 0;
     this.label2.Text     = "Width:";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 16);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(104, 16);
     this.label8.TabIndex = 4;
     this.label8.Text     = "Report Precision:";
     //
     // txtPrecision
     //
     this.txtPrecision.Location     = new System.Drawing.Point(113, 14);
     this.txtPrecision.Name         = "txtPrecision";
     this.txtPrecision.Size         = new System.Drawing.Size(56, 20);
     this.txtPrecision.TabIndex     = 5;
     this.txtPrecision.Text         = "";
     this.txtPrecision.TextChanged += new System.EventHandler(this.txtPrecision_TextChanged);
     //
     // lblStream
     //
     this.lblStream.Location = new System.Drawing.Point(8, 48);
     this.lblStream.Name     = "lblStream";
     this.lblStream.Size     = new System.Drawing.Size(104, 16);
     this.lblStream.TabIndex = 4;
     this.lblStream.Text     = "Stream Count:";
     //
     // txtStreamCount
     //
     this.txtStreamCount.Location     = new System.Drawing.Point(113, 48);
     this.txtStreamCount.Name         = "txtStreamCount";
     this.txtStreamCount.Size         = new System.Drawing.Size(56, 20);
     this.txtStreamCount.TabIndex     = 7;
     this.txtStreamCount.Text         = "";
     this.txtStreamCount.TextChanged += new System.EventHandler(this.txtStreamCount_TextChanged);
     //
     // txtTolerance
     //
     this.txtTolerance.Location     = new System.Drawing.Point(113, 80);
     this.txtTolerance.Name         = "txtTolerance";
     this.txtTolerance.Size         = new System.Drawing.Size(56, 20);
     this.txtTolerance.TabIndex     = 9;
     this.txtTolerance.Text         = "";
     this.txtTolerance.TextChanged += new System.EventHandler(this.txtTolerance_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 80);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Stream Tolerance:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 112);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(104, 16);
     this.label4.TabIndex = 4;
     this.label4.Text     = "Stretch Geometry:";
     //
     // chkStretch
     //
     this.chkStretch.Location = new System.Drawing.Point(112, 104);
     this.chkStretch.Name     = "chkStretch";
     this.chkStretch.Size     = new System.Drawing.Size(16, 32);
     this.chkStretch.TabIndex = 11;
     //
     // EditProperties
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(177, 253);
     this.Controls.Add(this.chkStretch);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtTolerance);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtStreamCount);
     this.Controls.Add(this.lblStream);
     this.Controls.Add(this.txtPrecision);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "EditProperties";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Edit Properties";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.EditProperties_Closing);
     this.Load           += new System.EventHandler(this.EditProperties_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pbImagem  = new System.Windows.Forms.PictureBox();
     this.btnOpen   = new System.Windows.Forms.Button();
     this.ofdImagem = new System.Windows.Forms.OpenFileDialog();
     this.btnCor    = new System.Windows.Forms.Button();
     this.cdCor     = new System.Windows.Forms.ColorDialog();
     this.pCor      = new System.Windows.Forms.Panel();
     this.panel1    = new System.Windows.Forms.Panel();
     this.cbCaneta  = new System.Windows.Forms.CheckBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.button2   = new System.Windows.Forms.Button();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label1    = new System.Windows.Forms.Label();
     this.lblArea   = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pbImagem)).BeginInit();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // pbImagem
     //
     this.pbImagem.Cursor       = System.Windows.Forms.Cursors.Arrow;
     this.pbImagem.ErrorImage   = null;
     this.pbImagem.Image        = global::Paint.Properties.Resources.teste;
     this.pbImagem.InitialImage = null;
     this.pbImagem.Location     = new System.Drawing.Point(17, 18);
     this.pbImagem.Name         = "pbImagem";
     this.pbImagem.Size         = new System.Drawing.Size(500, 500);
     this.pbImagem.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pbImagem.TabIndex     = 0;
     this.pbImagem.TabStop      = false;
     this.pbImagem.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.pbImagem_MouseDown);
     this.pbImagem.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.pbImagem_MouseMove);
     this.pbImagem.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.pbImagem_MouseUp);
     //
     // btnOpen
     //
     this.btnOpen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnOpen.Location  = new System.Drawing.Point(6, 67);
     this.btnOpen.Name      = "btnOpen";
     this.btnOpen.Size      = new System.Drawing.Size(88, 32);
     this.btnOpen.TabIndex  = 2;
     this.btnOpen.Text      = "&Abrir...";
     this.btnOpen.Click    += new System.EventHandler(this.btnOpen_Click);
     //
     // ofdImagem
     //
     this.ofdImagem.DefaultExt = "BMP";
     this.ofdImagem.Filter     = "Bitmap Files (*.BMP) | *.BMP";
     //
     // btnCor
     //
     this.btnCor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnCor.Location  = new System.Drawing.Point(6, 117);
     this.btnCor.Name      = "btnCor";
     this.btnCor.Size      = new System.Drawing.Size(88, 32);
     this.btnCor.TabIndex  = 3;
     this.btnCor.Text      = "&Colorir...";
     this.btnCor.Click    += new System.EventHandler(this.btnCor_Click);
     //
     // pCor
     //
     this.pCor.BackColor = System.Drawing.Color.Black;
     this.pCor.Location  = new System.Drawing.Point(6, 155);
     this.pCor.Name      = "pCor";
     this.pCor.Size      = new System.Drawing.Size(86, 32);
     this.pCor.TabIndex  = 4;
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.pbImagem);
     this.panel1.Location = new System.Drawing.Point(12, 12);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(546, 546);
     this.panel1.TabIndex = 5;
     //
     // cbCaneta
     //
     this.cbCaneta.AutoSize = true;
     this.cbCaneta.Location = new System.Drawing.Point(8, 208);
     this.cbCaneta.Name     = "cbCaneta";
     this.cbCaneta.Size     = new System.Drawing.Size(86, 24);
     this.cbCaneta.TabIndex = 7;
     this.cbCaneta.Tag      = "Caneta";
     this.cbCaneta.Text     = "Caneta";
     this.cbCaneta.UseVisualStyleBackColor = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.button2);
     this.groupBox1.Controls.Add(this.btnOpen);
     this.groupBox1.Controls.Add(this.btnCor);
     this.groupBox1.Controls.Add(this.cbCaneta);
     this.groupBox1.Controls.Add(this.pCor);
     this.groupBox1.Location = new System.Drawing.Point(572, 311);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(164, 247);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Comandos:";
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Location  = new System.Drawing.Point(6, 29);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(88, 32);
     this.button2.TabIndex  = 8;
     this.button2.Text      = "&Novo";
     this.button2.Click    += new System.EventHandler(this.button2_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.lblArea);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(572, 12);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(164, 293);
     this.groupBox2.TabIndex = 9;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Informações:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(8, 26);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(123, 20);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Área Colorida:";
     //
     // lblArea
     //
     this.lblArea.AutoSize = true;
     this.lblArea.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblArea.Location = new System.Drawing.Point(8, 46);
     this.lblArea.Name     = "lblArea";
     this.lblArea.Size     = new System.Drawing.Size(16, 18);
     this.lblArea.TabIndex = 1;
     this.lblArea.Text     = "0";
     //
     // frmPrincipal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.ClientSize        = new System.Drawing.Size(748, 570);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.panel1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "frmPrincipal";
     this.Text = "MiniPaint";
     ((System.ComponentModel.ISupportInitialize)(this.pbImagem)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Example #57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.numFloodLevel     = new System.Windows.Forms.NumericUpDown();
     this.sliderFloodLevel  = new System.Windows.Forms.TrackBar();
     this.numSliderMax      = new System.Windows.Forms.NumericUpDown();
     this.numSliderMin      = new System.Windows.Forms.NumericUpDown();
     this.label1            = new System.Windows.Forms.Label();
     this.colorDialog1      = new System.Windows.Forms.ColorDialog();
     this.buttonColorPicker = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.numFloodLevel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sliderFloodLevel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSliderMax)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSliderMin)).BeginInit();
     this.SuspendLayout();
     //
     // numFloodLevel
     //
     this.numFloodLevel.Location = new System.Drawing.Point(93, 89);
     this.numFloodLevel.Maximum  = new decimal(new int[] {
         9000,
         0,
         0,
         0
     });
     this.numFloodLevel.Minimum = new decimal(new int[] {
         11000,
         0,
         0,
         -2147483648
     });
     this.numFloodLevel.Name          = "numFloodLevel";
     this.numFloodLevel.Size          = new System.Drawing.Size(65, 20);
     this.numFloodLevel.TabIndex      = 1;
     this.numFloodLevel.ValueChanged += new System.EventHandler(this.numFloodLevel_ValueChanged);
     //
     // sliderFloodLevel
     //
     this.sliderFloodLevel.LargeChange   = 1;
     this.sliderFloodLevel.Location      = new System.Drawing.Point(0, 12);
     this.sliderFloodLevel.Maximum       = 200;
     this.sliderFloodLevel.Minimum       = -200;
     this.sliderFloodLevel.Name          = "sliderFloodLevel";
     this.sliderFloodLevel.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.sliderFloodLevel.Size          = new System.Drawing.Size(37, 196);
     this.sliderFloodLevel.TabIndex      = 0;
     this.sliderFloodLevel.TickFrequency = 2;
     this.sliderFloodLevel.TickStyle     = System.Windows.Forms.TickStyle.TopLeft;
     this.sliderFloodLevel.ValueChanged += new System.EventHandler(this.sliderFloodLevel_ValueChanged);
     //
     // numSliderMax
     //
     this.numSliderMax.Location = new System.Drawing.Point(32, 12);
     this.numSliderMax.Maximum  = new decimal(new int[] {
         9000,
         0,
         0,
         0
     });
     this.numSliderMax.Minimum = new decimal(new int[] {
         11000,
         0,
         0,
         -2147483648
     });
     this.numSliderMax.Name     = "numSliderMax";
     this.numSliderMax.Size     = new System.Drawing.Size(65, 20);
     this.numSliderMax.TabIndex = 3;
     this.numSliderMax.Value    = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.numSliderMax.ValueChanged += new System.EventHandler(this.numSliderMax_ValueChanged);
     //
     // numSliderMin
     //
     this.numSliderMin.Location = new System.Drawing.Point(32, 188);
     this.numSliderMin.Maximum  = new decimal(new int[] {
         9000,
         0,
         0,
         0
     });
     this.numSliderMin.Minimum = new decimal(new int[] {
         11000,
         0,
         0,
         -2147483648
     });
     this.numSliderMin.Name     = "numSliderMin";
     this.numSliderMin.Size     = new System.Drawing.Size(65, 20);
     this.numSliderMin.TabIndex = 4;
     this.numSliderMin.Value    = new decimal(new int[] {
         200,
         0,
         0,
         -2147483648
     });
     this.numSliderMin.ValueChanged += new System.EventHandler(this.numSliderMin_ValueChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(80, 73);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(99, 13);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Flood elevation (m):";
     //
     // buttonColorPicker
     //
     this.buttonColorPicker.Location = new System.Drawing.Point(83, 124);
     this.buttonColorPicker.Name     = "buttonColorPicker";
     this.buttonColorPicker.Size     = new System.Drawing.Size(75, 23);
     this.buttonColorPicker.TabIndex = 2;
     this.buttonColorPicker.Text     = "Flood Color";
     this.buttonColorPicker.UseVisualStyleBackColor = true;
     this.buttonColorPicker.Click += new System.EventHandler(this.buttonColorPicker_Click);
     //
     // FloodLevelForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(182, 220);
     this.Controls.Add(this.buttonColorPicker);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.numSliderMin);
     this.Controls.Add(this.numSliderMax);
     this.Controls.Add(this.sliderFloodLevel);
     this.Controls.Add(this.numFloodLevel);
     this.MaximizeBox   = false;
     this.Name          = "FloodLevelForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.Text          = "Flood Level";
     ((System.ComponentModel.ISupportInitialize)(this.numFloodLevel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sliderFloodLevel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSliderMax)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSliderMin)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelMarker              = new System.Windows.Forms.Label();
     this.labelSelectedMarker      = new System.Windows.Forms.Label();
     this.labelXAxis               = new System.Windows.Forms.Label();
     this.labelYAxis               = new System.Windows.Forms.Label();
     this.buttonOK                 = new System.Windows.Forms.Button();
     this.buttonCancel             = new System.Windows.Forms.Button();
     this.labelMarkerColor         = new System.Windows.Forms.Label();
     this.labelSelectedMarkerColor = new System.Windows.Forms.Label();
     this.labelXAxisColor          = new System.Windows.Forms.Label();
     this.labelYAxisColor          = new System.Windows.Forms.Label();
     this.colorDialog1             = new System.Windows.Forms.ColorDialog();
     this.buttonReset              = new System.Windows.Forms.Button();
     this.labelTitle               = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // labelMarker
     //
     this.labelMarker.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelMarker.Location  = new System.Drawing.Point(8, 32);
     this.labelMarker.Name      = "labelMarker";
     this.labelMarker.Size      = new System.Drawing.Size(48, 16);
     this.labelMarker.TabIndex  = 0;
     this.labelMarker.Text      = "Marker";
     //
     // labelSelectedMarker
     //
     this.labelSelectedMarker.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelSelectedMarker.Location  = new System.Drawing.Point(8, 56);
     this.labelSelectedMarker.Name      = "labelSelectedMarker";
     this.labelSelectedMarker.Size      = new System.Drawing.Size(88, 16);
     this.labelSelectedMarker.TabIndex  = 0;
     this.labelSelectedMarker.Text      = "Selected marker";
     //
     // labelXAxis
     //
     this.labelXAxis.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelXAxis.Location  = new System.Drawing.Point(8, 80);
     this.labelXAxis.Name      = "labelXAxis";
     this.labelXAxis.Size      = new System.Drawing.Size(40, 16);
     this.labelXAxis.TabIndex  = 1;
     this.labelXAxis.Text      = "X-axis";
     //
     // labelYAxis
     //
     this.labelYAxis.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelYAxis.Location  = new System.Drawing.Point(8, 104);
     this.labelYAxis.Name      = "labelYAxis";
     this.labelYAxis.Size      = new System.Drawing.Size(40, 16);
     this.labelYAxis.TabIndex  = 1;
     this.labelYAxis.Text      = "Y-axis";
     //
     // 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.OK;
     this.buttonOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.buttonOK.Location     = new System.Drawing.Point(104, 130);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.TabIndex     = 2;
     this.buttonOK.Text         = "OK";
     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.buttonCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.buttonCancel.Location     = new System.Drawing.Point(184, 130);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.TabIndex     = 2;
     this.buttonCancel.Text         = "Cancel";
     //
     // labelMarkerColor
     //
     this.labelMarkerColor.BackColor   = System.Drawing.Color.Red;
     this.labelMarkerColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelMarkerColor.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.labelMarkerColor.Location    = new System.Drawing.Point(104, 32);
     this.labelMarkerColor.Name        = "labelMarkerColor";
     this.labelMarkerColor.Size        = new System.Drawing.Size(16, 16);
     this.labelMarkerColor.TabIndex    = 3;
     this.labelMarkerColor.Click      += new System.EventHandler(this.labelColor_Click);
     //
     // labelSelectedMarkerColor
     //
     this.labelSelectedMarkerColor.BackColor   = System.Drawing.Color.Orange;
     this.labelSelectedMarkerColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelSelectedMarkerColor.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.labelSelectedMarkerColor.Location    = new System.Drawing.Point(104, 56);
     this.labelSelectedMarkerColor.Name        = "labelSelectedMarkerColor";
     this.labelSelectedMarkerColor.Size        = new System.Drawing.Size(16, 16);
     this.labelSelectedMarkerColor.TabIndex    = 3;
     this.labelSelectedMarkerColor.Click      += new System.EventHandler(this.labelColor_Click);
     //
     // labelXAxisColor
     //
     this.labelXAxisColor.BackColor   = System.Drawing.Color.Green;
     this.labelXAxisColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelXAxisColor.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.labelXAxisColor.Location    = new System.Drawing.Point(104, 80);
     this.labelXAxisColor.Name        = "labelXAxisColor";
     this.labelXAxisColor.Size        = new System.Drawing.Size(16, 16);
     this.labelXAxisColor.TabIndex    = 3;
     this.labelXAxisColor.Click      += new System.EventHandler(this.labelColor_Click);
     //
     // labelYAxisColor
     //
     this.labelYAxisColor.BackColor   = System.Drawing.Color.Blue;
     this.labelYAxisColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelYAxisColor.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.labelYAxisColor.Location    = new System.Drawing.Point(104, 104);
     this.labelYAxisColor.Name        = "labelYAxisColor";
     this.labelYAxisColor.Size        = new System.Drawing.Size(16, 16);
     this.labelYAxisColor.TabIndex    = 3;
     this.labelYAxisColor.Click      += new System.EventHandler(this.labelColor_Click);
     //
     // buttonReset
     //
     this.buttonReset.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonReset.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonReset.Location  = new System.Drawing.Point(8, 130);
     this.buttonReset.Name      = "buttonReset";
     this.buttonReset.Size      = new System.Drawing.Size(88, 23);
     this.buttonReset.TabIndex  = 2;
     this.buttonReset.Text      = "&Reset defaults";
     this.buttonReset.Click    += new System.EventHandler(this.buttonReset_Click);
     //
     // labelTitle
     //
     this.labelTitle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelTitle.Location  = new System.Drawing.Point(8, 8);
     this.labelTitle.Name      = "labelTitle";
     this.labelTitle.Size      = new System.Drawing.Size(200, 16);
     this.labelTitle.TabIndex  = 4;
     this.labelTitle.Text      = "Click a color to change it:";
     //
     // FormColors
     //
     this.AcceptButton      = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(264, 160);
     this.Controls.Add(this.labelTitle);
     this.Controls.Add(this.labelMarkerColor);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.labelXAxis);
     this.Controls.Add(this.labelMarker);
     this.Controls.Add(this.labelSelectedMarker);
     this.Controls.Add(this.labelYAxis);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.labelSelectedMarkerColor);
     this.Controls.Add(this.labelXAxisColor);
     this.Controls.Add(this.labelYAxisColor);
     this.Controls.Add(this.buttonReset);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormColors";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Pick colors";
     this.ResumeLayout(false);
 }
Example #59
0
 private void button5_Click(object sender, EventArgs e)
 {
     this.colorDialog1 = new System.Windows.Forms.ColorDialog();
     colorDialog1.ShowDialog();
     drawer.pen = new Pen(colorDialog1.Color);
 }
Example #60
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.contextMenu1      = new System.Windows.Forms.ContextMenu();
     this.popCut            = new System.Windows.Forms.MenuItem();
     this.popCopy           = new System.Windows.Forms.MenuItem();
     this.popPaste          = new System.Windows.Forms.MenuItem();
     this.menuItem17        = new System.Windows.Forms.MenuItem();
     this.popSelectAll      = new System.Windows.Forms.MenuItem();
     this.mainMenu1         = new System.Windows.Forms.MainMenu();
     this.menuItem1         = new System.Windows.Forms.MenuItem();
     this.menuNew           = new System.Windows.Forms.MenuItem();
     this.menuOpen          = new System.Windows.Forms.MenuItem();
     this.menuSave          = new System.Windows.Forms.MenuItem();
     this.menuItem7         = new System.Windows.Forms.MenuItem();
     this.menuExit          = new System.Windows.Forms.MenuItem();
     this.menuEdit          = new System.Windows.Forms.MenuItem();
     this.menuCut           = new System.Windows.Forms.MenuItem();
     this.menuCopy          = new System.Windows.Forms.MenuItem();
     this.menuPaste         = new System.Windows.Forms.MenuItem();
     this.menuItem3         = new System.Windows.Forms.MenuItem();
     this.menuFont          = new System.Windows.Forms.MenuItem();
     this.menuArial         = new System.Windows.Forms.MenuItem();
     this.menuCourierNew    = new System.Windows.Forms.MenuItem();
     this.menuTimesNewRoman = new System.Windows.Forms.MenuItem();
     this.menuStyle         = new System.Windows.Forms.MenuItem();
     this.menuStyleNormal   = new System.Windows.Forms.MenuItem();
     this.menuStyleBold     = new System.Windows.Forms.MenuItem();
     this.menuStyleItalic   = new System.Windows.Forms.MenuItem();
     this.menuColor         = new System.Windows.Forms.MenuItem();
     this.textBox1          = new System.Windows.Forms.TextBox();
     this.colorDialog1      = new System.Windows.Forms.ColorDialog();
     this.saveFileDialog1   = new System.Windows.Forms.SaveFileDialog();
     this.openFileDialog1   = new System.Windows.Forms.OpenFileDialog();
     this.SuspendLayout();
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.popCut,
         this.popCopy,
         this.popPaste,
         this.menuItem17,
         this.popSelectAll
     });
     this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup);
     //
     // popCut
     //
     this.popCut.Index  = 0;
     this.popCut.Text   = "Cut";
     this.popCut.Click += new System.EventHandler(this.menuCut_Click);
     //
     // popCopy
     //
     this.popCopy.Index  = 1;
     this.popCopy.Text   = "Copy";
     this.popCopy.Click += new System.EventHandler(this.menuCopy_Click);
     //
     // popPaste
     //
     this.popPaste.Index  = 2;
     this.popPaste.Text   = "Paste";
     this.popPaste.Click += new System.EventHandler(this.menuPaste_Click);
     //
     // menuItem17
     //
     this.menuItem17.Index = 3;
     this.menuItem17.Text  = "-";
     //
     // popSelectAll
     //
     this.popSelectAll.Index  = 4;
     this.popSelectAll.Text   = "Select All";
     this.popSelectAll.Click += new System.EventHandler(this.popSelectAll_Click);
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuEdit,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuNew,
         this.menuOpen,
         this.menuSave,
         this.menuItem7,
         this.menuExit
     });
     this.menuItem1.Text = "File";
     //
     // menuNew
     //
     this.menuNew.Index  = 0;
     this.menuNew.Text   = "New";
     this.menuNew.Click += new System.EventHandler(this.menuNew_Click);
     //
     // menuOpen
     //
     this.menuOpen.Index  = 1;
     this.menuOpen.Text   = "Open...";
     this.menuOpen.Click += new System.EventHandler(this.menuOpen_Click);
     //
     // menuSave
     //
     this.menuSave.Index  = 2;
     this.menuSave.Text   = "Save...";
     this.menuSave.Click += new System.EventHandler(this.menuSave_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 3;
     this.menuItem7.Text  = "-";
     //
     // menuExit
     //
     this.menuExit.Index  = 4;
     this.menuExit.Text   = "Exit";
     this.menuExit.Click += new System.EventHandler(this.menuExit_Click);
     //
     // menuEdit
     //
     this.menuEdit.Index = 1;
     this.menuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuCut,
         this.menuCopy,
         this.menuPaste
     });
     this.menuEdit.Text   = "Edit";
     this.menuEdit.Popup += new System.EventHandler(this.menuEdit_Popup);
     //
     // menuCut
     //
     this.menuCut.Index  = 0;
     this.menuCut.Text   = "Cut";
     this.menuCut.Click += new System.EventHandler(this.menuCut_Click);
     //
     // menuCopy
     //
     this.menuCopy.Enabled = false;
     this.menuCopy.Index   = 1;
     this.menuCopy.Text    = "Copy";
     this.menuCopy.Click  += new System.EventHandler(this.menuCopy_Click);
     //
     // menuPaste
     //
     this.menuPaste.Enabled = false;
     this.menuPaste.Index   = 2;
     this.menuPaste.Text    = "Paste";
     this.menuPaste.Click  += new System.EventHandler(this.menuPaste_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFont,
         this.menuStyle,
         this.menuColor
     });
     this.menuItem3.Text = "Format";
     //
     // menuFont
     //
     this.menuFont.Index = 0;
     this.menuFont.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuArial,
         this.menuCourierNew,
         this.menuTimesNewRoman
     });
     this.menuFont.Text = "Font";
     //
     // menuArial
     //
     this.menuArial.Checked    = true;
     this.menuArial.Index      = 0;
     this.menuArial.RadioCheck = true;
     this.menuArial.Text       = "Arial";
     this.menuArial.Click     += new System.EventHandler(this.menuArial_Click);
     //
     // menuCourierNew
     //
     this.menuCourierNew.Index      = 1;
     this.menuCourierNew.RadioCheck = true;
     this.menuCourierNew.Text       = "Courier New";
     this.menuCourierNew.Click     += new System.EventHandler(this.menuArial_Click);
     //
     // menuTimesNewRoman
     //
     this.menuTimesNewRoman.Index      = 2;
     this.menuTimesNewRoman.RadioCheck = true;
     this.menuTimesNewRoman.Text       = "Times New Roman";
     this.menuTimesNewRoman.Click     += new System.EventHandler(this.menuArial_Click);
     //
     // menuStyle
     //
     this.menuStyle.Index = 1;
     this.menuStyle.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuStyleNormal,
         this.menuStyleBold,
         this.menuStyleItalic
     });
     this.menuStyle.Text = "Style";
     //
     // menuStyleNormal
     //
     this.menuStyleNormal.Checked = true;
     this.menuStyleNormal.Index   = 0;
     this.menuStyleNormal.Text    = "Normal";
     this.menuStyleNormal.Click  += new System.EventHandler(this.menuStyleNormal_Click);
     //
     // menuStyleBold
     //
     this.menuStyleBold.Index  = 1;
     this.menuStyleBold.Text   = "Bold";
     this.menuStyleBold.Click += new System.EventHandler(this.menuStyleNormal_Click);
     //
     // menuStyleItalic
     //
     this.menuStyleItalic.Index  = 2;
     this.menuStyleItalic.Text   = "Italic";
     this.menuStyleItalic.Click += new System.EventHandler(this.menuStyleNormal_Click);
     //
     // menuColor
     //
     this.menuColor.Index  = 2;
     this.menuColor.Text   = "Color...";
     this.menuColor.Click += new System.EventHandler(this.menuColor_Click);
     //
     // textBox1
     //
     this.textBox1.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
     this.textBox1.ContextMenu = this.contextMenu1;
     this.textBox1.Location    = new System.Drawing.Point(16, 16);
     this.textBox1.Multiline   = true;
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(480, 296);
     this.textBox1.TabIndex    = 0;
     this.textBox1.Text        = "textBox1";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "txt";
     this.saveFileDialog1.FileName   = "doc1";
     this.saveFileDialog1.Filter     = "Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(9, 22);
     this.ClientSize        = new System.Drawing.Size(512, 338);
     this.Controls.Add(this.textBox1);
     this.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.Text = "Form1";
     this.ResumeLayout(false);
 }