Example #1
44
        /// <summary>
        /// Highlight all words that matches.
        /// </summary>
        /// <param name="myRtb">Source text box</param>
        /// <param name="word">Word to match.</param>
        public void HighlightText(RichTextBox myRtb, string word)
        {
            myRtb.SelectAll();
            myRtb.SelectionBackColor = Color.White;
            myRtb.SelectionColor = Color.Black;
            myRtb.DeselectAll();

            if (word == "")
            {
                return;
            }

            int s_start = myRtb.SelectionStart, startIndex = 0, index;

            while ((index = myRtb.Text.IndexOf(word, startIndex)) != -1)
            {
                myRtb.Select(index, word.Length);
                myRtb.SelectionColor = Color.White;
                myRtb.SelectionBackColor = Color.Green;

                startIndex = index + word.Length;
            }

            myRtb.SelectionStart = s_start;
            myRtb.SelectionLength = 0;
            myRtb.SelectionColor = Color.Black;
            myRtb.SelectionBackColor = Color.White;
        }
		internal WaitingForAppDialog() : base(!INCLUDE_BUTTONS)
		{
			Text = StringParser.Parse("${res:ComponentInspector.WaitingForAppDialog.Title}");
			Height = 150;

			String descText = StringParser.Parse("${res:ComponentInspector.WaitingForAppDialog.Information}");

			_textBox = Utils.MakeDescText(descText, this);
			_textBox.Dock = DockStyle.Fill;
			Controls.Add(_textBox);

			Label l = new Label();
			l.Dock = DockStyle.Fill;
			Controls.Add(l);

			Panel bottomPanel = new Panel();
			bottomPanel.Dock = DockStyle.Bottom;

			l = new Label();
			l.Dock = DockStyle.Fill;
			bottomPanel.Controls.Add(l);

			Button cancel = Utils.MakeButton(StringParser.Parse("${res:Global.CancelButtonText}"));
			cancel.Dock = DockStyle.Right;
			cancel.DialogResult = DialogResult.Cancel;
			bottomPanel.Controls.Add(cancel);

			bottomPanel.Height = Utils.BUTTON_HEIGHT;
			Controls.Add(bottomPanel);
		}
Example #3
1
 private void setFontStyle(RichTextBox rtb, FontStyle style)
 {
     if (rtb.SelectionLength == 0)
         setCharFontStyle(rtb, style);
     else
     {
         // to avoid screen refreshing, we create a fake RichTextBox
         using (RichTextBox a = new RichTextBox())
         {
             a.SuspendLayout();
             a.SelectedRtf = rtb.SelectedRtf;
             a.SelectAll();
             int selectionStart = a.SelectionStart;
             int selectionLength = a.SelectionLength;
             int selectionEnd = selectionStart + selectionLength;
             for (int x = selectionStart; x < selectionEnd; ++x)
             {
                 // Set temporary selection
                 a.Select(x, 1);
                 // Toggle font style of the selection
                 setCharFontStyle(a, style);
             }
             // Restore the original selection
             a.SelectAll();
             rtb.SelectedRtf = a.SelectedRtf;
         }
     }
 }
Example #4
1
        public static void SpellViewInfo(DataRow spellInfo, RichTextBox _rtSpellInfo)
        {
            _rtSpellInfo.SelectionColor = Color.Blue;
            _rtSpellInfo.AppendText(ViewTextInfo(spellInfo));
            _rtSpellInfo.SelectionColor = Color.Black;
            _rtSpellInfo.AppendText(ViewAttribute(spellInfo));

            _rtSpellInfo.AppendText(ViewMask(spellInfo));

            _rtSpellInfo.AppendText(ViewProcFlag(spellInfo));

            _rtSpellInfo.AppendText(ViewFlags(spellInfo));

            _rtSpellInfo.AppendText(ViewSpellFields(spellInfo, typeof(SpellFieldBloc1)));

            _rtSpellInfo.AppendText(ViewSpellFields(spellInfo, typeof(SpellFieldBloc2)));

            _rtSpellInfo.AppendText(ViewSpellFields(spellInfo, typeof(SpellFieldBloc3)));

            _rtSpellInfo.AppendText(ViewInfoFromOtherTable(spellInfo));

            _rtSpellInfo.AppendText(ViewReagent(spellInfo));

            _rtSpellInfo.AppendText(ViewSpellFields(spellInfo, typeof(SpellFields2), 2));

            _rtSpellInfo.AppendText(ViewSpellFields(spellInfo, typeof(SpellFields3), 3));

            _rtSpellInfo.AppendText(ViewSpellItemInfo(spellInfo));
        }
Example #5
0
		public void CanExtend_RichTextBox_True()
		{
			using (RichTextBox textBox = new RichTextBox())
			{
				Assert.IsTrue(((IExtenderProvider) _prompt).CanExtend(textBox));
			}
		}
		public InsertPInvokeSignaturesForm()
		{
			SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("PInvokeAddIn.Resources.InsertPInvokeSignaturesForm.xfrm"));
			
			signatureRichTextBox = ((RichTextBox)ControlDictionary["SignatureRichTextBox"]);
			
			// Hook up events.
			closeButton = ((Button)ControlDictionary["CloseButton"]);
			closeButton.Click += new EventHandler(CloseButtonClick);
			
			insertButton = ((Button)ControlDictionary["InsertButton"]);
			insertButton.Enabled = false;
			insertButton.Click += new EventHandler(InsertButtonClick);
			
			findButton = ((Button)ControlDictionary["FindButton"]);
			findButton.Click += new EventHandler(FindButtonClick);
			
			functionNameComboBox = ((ComboBox)ControlDictionary["FunctionNameComboBox"]);
			functionNameComboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
			functionNameComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;

			moduleNameComboBox = ((ComboBox)ControlDictionary["ModuleNameComboBox"]);
			moduleNameComboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
			moduleNameComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
			
			moreInfoLinkLabel = ((LinkLabel)ControlDictionary["MoreInfoLinkLabel"]);
			moreInfoLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(MoreInfoLinkClicked);

			languageComboBox = ((ComboBox)ControlDictionary["LanguageComboBox"]);
			languageComboBox.SelectedIndexChanged += new EventHandler(LanguageComboBoxSelectedIndexChanged);
			
			SetupLanguages();
			SetupFunctionNames();
			SetupModuleNames();
		}
Example #7
0
        public AutoOEM(StringBuilder verrors, List<string> browser, List<string> scripts, ref RichTextBox reporting, string url)
        {
            //These came from the scripts.  Once central location to change these values.  To do- work into GUI
            username = "******";
            password = "******";
            fullname = "test User";
            unitId = "3422110885";//"3563850818";
            unitIdNotRegistered = "3422110080";
            unitIdRegistered = "3422110271";
            validationCode = "BBKJ";
            productKey = "TKJEXZ7Q";

            base.verificationErrors = verrors;
            base.reporterBox = reporting;
            base.baseURL = url;
            base.browsers = browser;
            base.scriptset = scripts;
            AddText("Testing URL:" + baseURL, fonttype.ScriptFont);
            SignIn = new List<ParentTest>();
            AccountCreation = new List<ParentTest>();
            Dashboard = new List<ParentTest>();
            Navigation = new List<ParentTest>();
            ForgotUsername = new List<ParentTest>();
            Account = new List<ParentTest>();
            Scan = new List<ParentTest>();
            NoScan = new List<ParentTest>();
            TroubleShoot = new List<ParentTest>();
            RunTests();
        }
Example #8
0
 public void Init()
 {
     textBox = new RichTextBox();
     textBox.Multiline = true;
     textBoxWriter = new TextBoxWriter( textBox );
     textBox.CreateControl();
 }
Example #9
0
        public FormGeneratedCode(List<GeneratedCode> generatedCodes)
        {
            InitializeComponent();

            this.generatedCodes = generatedCodes;

            tabControl1.TabPages.Clear();
            foreach (GeneratedCode gc in generatedCodes)
            {
                TabPage tp = new TabPage(Path.GetFileName(gc.Path));
                tabControl1.TabPages.Add(tp);
                tp.Tag = gc;

                RichTextBox tb = new RichTextBox();
                tb.AcceptsTab = true;
                tb.DetectUrls = false;
                tb.Dock = DockStyle.Fill;
                tb.Font = new Font("Lucida Console", 9.75F, FontStyle.Regular, GraphicsUnit.Point, 162);
                tb.Location = new System.Drawing.Point(3, 3);
                tb.Text = gc.Code;
                tb.WordWrap = false;

                tb.TextChanged += delegate {
                    (tp.Tag as GeneratedCode).Code = tb.Text;
                };

                tp.Controls.Add(tb);
            }

            tabControl1.SelectedIndex = 0;
        }
Example #10
0
 // PVZ kitom skiltim
 private void apieToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (Form form = new Form())
     {
         form.Text = apieToolStripMenuItem.Text;
         form.ClientSize = new System.Drawing.Size(1000, 500);
         form.MinimumSize = new System.Drawing.Size(1000, 500);
         RichTextBox about = new RichTextBox();
         about.Dock = DockStyle.Fill;
         about.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
         about.Location = new System.Drawing.Point(4, 4);
         about.ReadOnly = true;
         about.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
         if (apieToolStripMenuItem.Text == "Apie")
         {
             about.Text = Alfredas.Properties.Resources.AboutLT;
         }
         else if (apieToolStripMenuItem.Text == "About")
         {
             about.Text = Alfredas.Properties.Resources.AboutEN;
         }
         else if (apieToolStripMenuItem.Text == "Описание")
         {
             about.Text = Alfredas.Properties.Resources.AboutRU;
         }
         form.Controls.Add(about);
         form.ShowDialog();
     }
 }
Example #11
0
 //--------------------------------
 public StdIO(TextBox In, RichTextBox Out/*, Thread Cur*/)
 {
     this.Input = In;
     this.Output = Out;
     //this.Cur = Cur;
     In.KeyPress += this.KeyPress;
 }
Example #12
0
 public static void AddToRTB(RichTextBox rtb, string strText, StyleType style, enumIcon icon)
 {
     switch (style)
     {
         case StyleType.bodyBlack:
             AddToRTB(rtb, strText, Color.Black, 8, false, icon);
             break;
         case StyleType.bodyBlackBold:
             AddToRTB(rtb, strText, Color.Black, 8, true, icon);
             break;
         case StyleType.bodyBlue:
             AddToRTB(rtb, strText, Color.Blue, 8, false, icon);
             break;
         case StyleType.bodyBlueBold:
             AddToRTB(rtb, strText, Color.Blue, 8, true, icon);
             break;
         case StyleType.bodyChocolate:
             AddToRTB(rtb, strText, Color.Chocolate, 8, false, icon);
             break;
         case StyleType.bodyChocolateBold:
             AddToRTB(rtb, strText, Color.Chocolate, 8, true, icon);
             break;
         case StyleType.bodyDarkGray:
             AddToRTB(rtb, strText, Color.DarkGray, 8, false, icon);
             break;
         case StyleType.bodyMidnightBlue:
             AddToRTB(rtb, strText, Color.MidnightBlue, 8, false, icon);
             break;
         case StyleType.bodyOrange:
             AddToRTB(rtb, strText, Color.Orange, 8, false, icon);
             break;
         case StyleType.bodyPurple:
             AddToRTB(rtb, strText, Color.Purple, 8, false, icon);
             break;
         case StyleType.bodyRed:
             AddToRTB(rtb, strText, Color.Red, 8, false, icon);
             break;
         case StyleType.bodySeaGreen:
             AddToRTB(rtb, strText, Color.SeaGreen, 8, false, icon);
             break;
         case StyleType.bodySeaGreenBold:
             AddToRTB(rtb, strText, Color.SeaGreen, 8, true, icon);
             break;
         case StyleType.titleBlack:
             AddToRTB(rtb, strText, Color.Black, 14, true, icon);
             break;
         case StyleType.titleBlue:
             AddToRTB(rtb, strText, Color.Blue, 14, true, icon);
             break;
         case StyleType.titleChocolate:
             AddToRTB(rtb, strText, Color.Chocolate, 14, true, icon);
             break;
         case StyleType.titleSeagreen:
             AddToRTB(rtb, strText, Color.SeaGreen, 14, true, icon);
             break;
         default:
             AddToRTB(rtb, strText, Color.Black, 8, false, icon);
             break;
     }
 }
Example #13
0
 public SimpleCodeProvider(RichTextBox textBox, string path, string name)
 {
     _textBox = textBox;
     _name = name;
     _path = path;
     ContainerName = typeof(SimpleCodeProvider).Assembly.FullName;
 }
Example #14
0
 public static List<String> createAttachmentsForRemoteSupport(RichTextBox logViewContentsToSend, PictureBox screenShotToSend)
 {
     String sFile_LogViews = PublicDI.config.TempFileNameInTempDirectory + "_" + PublicDI.sDefaultFileName_ReportBug_LogView;
     String sFile_LogViewsTxt = PublicDI.config.TempFileNameInTempDirectory + "_" + PublicDI.sDefaultFileName_ReportBug_LogView + ".txt";
     String sFile_ScreenShot = PublicDI.config.TempFileNameInTempDirectory + "_" + PublicDI.sDefaultFileName_ReportBug_ScreenShotImage + ".Jpeg";
     return Main_WinForms.createAttachmentsForRemoteSupport(logViewContentsToSend, screenShotToSend, sFile_LogViews, sFile_LogViewsTxt, sFile_ScreenShot);
 }
Example #15
0
        public static Image Print(RichTextBox ctl, int width, int height)
        {
            Image img = new Bitmap(width, height);
            float scale;

            using (Graphics g = Graphics.FromImage(img))
            {
                // --- Begin code addition D_Kondrad

                // HorizontalResolution is measured in pix/inch
                scale = (float)(width * 100) / img.HorizontalResolution;
                width = (int)scale;

                // VerticalResolution is measured in pix/inch
                scale = (float)(height * 100) / img.VerticalResolution;
                height = (int)scale;

                // --- End code addition D_Kondrad

                Rectangle marginBounds = new Rectangle(0, 0, width, height);
                Rectangle pageBounds = new Rectangle(0, 0, width, height);
                PrintPageEventArgs args = new PrintPageEventArgs(g, marginBounds, pageBounds, null);

                Print(ctl.Handle, 0, ctl.Text.Length, args);
            }

            return img;
        }
 public void dodajWiadomosc(RichTextBox rt, string w)
 {
     if (rt.InvokeRequired)
         rt.BeginInvoke(new Action<RichTextBox, string>(dodajWiadomosc), rt, w);
     else
         rt.AppendText(w + Environment.NewLine);
 }
Example #17
0
 public Continent(RichTextBox displayBox, Random randomGen, int nAnimalTypes, Graphics canvas)
 {
     this.displayBox = displayBox;
     this.canvas = canvas;
     this.randomGen = randomGen;
     this.nAnimalTypes = nAnimalTypes;
 }
Example #18
0
		/// <summary>
		/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
		/// le contenu de cette méthode avec l'éditeur de code.
		/// </summary>
		private void InitializeComponent()
		{
            this.richTextBox1 = new System.Windows.Forms.RichTextBox();
            this.SuspendLayout();
            // 
            // richTextBox1
            // 
            this.richTextBox1.Location = new System.Drawing.Point(0, 0);
            this.richTextBox1.Name = "richTextBox1";
            this.richTextBox1.Size = new System.Drawing.Size(768, 512);
            this.richTextBox1.TabIndex = 0;
            this.richTextBox1.Text = "";
            // 
            // Form1
            // 
            this.ClientSize = new System.Drawing.Size(770, 514);
            this.Controls.Add(this.richTextBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "How to use MediaInfo.Dll";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);

		}
Example #19
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			this.richTextBox = new System.Windows.Forms.RichTextBox();
			this.run = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// richTextBox
			// 
			this.richTextBox.Location = new System.Drawing.Point(8, 8);
			this.richTextBox.Name = "richTextBox";
			this.richTextBox.Size = new System.Drawing.Size(272, 216);
			this.richTextBox.TabIndex = 0;
			this.richTextBox.Text = "";
			// 
			// run
			// 
			this.run.Location = new System.Drawing.Point(16, 232);
			this.run.Name = "run";
			this.run.TabIndex = 1;
			this.run.Text = "Run";
			this.run.Click += new System.EventHandler(this.run_Click);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 266);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.run,
																		  this.richTextBox});
			this.Name = "Form1";
			this.Text = "Operators";
			this.ResumeLayout(false);

		}
Example #20
0
 private void InitializeComponent()
 {
     richTextBox = new System.Windows.Forms.RichTextBox();
     SuspendLayout();
     //
     // richTextBox
     //
     richTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     richTextBox.Location = new System.Drawing.Point(0, 0);
     richTextBox.Name = "richTextBox";
     richTextBox.ReadOnly = true;
     richTextBox.Size = new System.Drawing.Size(668, 482);
     richTextBox.TabIndex = 0;
     richTextBox.Text = "";
     //
     // CommLogForm
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize = new System.Drawing.Size(672, 486);
     Controls.Add(richTextBox);
     Name = "CommLogForm";
     Text = "Communication Log";
     ResumeLayout(false);
 }
Example #21
0
        private ChemtoolsGui()
        {
            this.Text = "ChemTools";
            this.Size = new Size(640, 640);

            input = new TextBox();
            input.Location = new Point(20, 20);
            input.Size = new Size(250, 20);
            input.TextChanged += new EventHandler(InputChanged);
            input.KeyDown += new KeyEventHandler(InputKeyDown);

            output = new RichTextBox();
            output.Location = new Point(50, 160);
            output.Size = new Size(250, 300);

            savedList = new ListBox();
            savedList.Location = new Point(300, 20);
            savedList.Size = new Size(300, 120);
            savedList.SelectedIndexChanged += new EventHandler(ListSelectChange);
            savedList.KeyDown += new KeyEventHandler(ListKeyDown);
            savedList.BeginUpdate();
            savedList.Items.Add("H2O");
            savedList.Items.Add("CO2");
            savedList.Items.Add("C4H10+O2=CO2+H2O");
            savedList.Items.Add("44.0095gCO2");
            savedList.EndUpdate();

            savedOutput = new RichTextBox();
            savedOutput.Location = new Point(300, 160);
            savedOutput.Size = new Size(250, 300);

            btnAdd = new Button();
            btnAdd.Location = new Point(180, 50);
            btnAdd.Text = "Save";
            btnAdd.Click += new EventHandler(AddClick);

            btnDelete = new Button();
            btnDelete.Location = new Point(180, 100);
            btnDelete.Text = "Delete";
            btnDelete.Click += new EventHandler(DeleteClick);

            btnClear = new Button();
            btnClear.Location = new Point(20, 50);
            btnClear.Text = "Clear";
            btnClear.Click += new EventHandler(ClearClick);

            btnReset = new Button();
            btnReset.Location = new Point(20, 100);
            btnReset.Text = "Reset All";
            btnReset.Click += new EventHandler(ResetClick);

            this.Controls.Add(input);
            this.Controls.Add(output);
            this.Controls.Add(savedList);
            this.Controls.Add(savedOutput);
            this.Controls.Add(btnAdd);
            this.Controls.Add(btnDelete);
            this.Controls.Add(btnClear);
            this.Controls.Add(btnReset);
        }
Example #22
0
 private void AddLine(RichTextBox RTB, string line)
 {
     if (RTB.InvokeRequired)
         RTB.Invoke(new Action(() => RTB.AppendText(line + Environment.NewLine)));
     else
         RTB.AppendText(line + Environment.NewLine);
 }
Example #23
0
        public void Paint(int StartLine, int FinalLine, RichTextBox RTB)
        {
            if(StartLine < 0 || FinalLine < 0)
            {
                Console.WriteLine("错误:着色起始或终止行号 < 0");
                return;
            }
            int OriSelectionStart = RTB.SelectionStart; //记录光标位置
            RTB.SelectionChanged -= new System.EventHandler(mainform.richTextBox1_SelectionChanged);//注销选区改变事件,以免处理过程中多次触发、
            RTB.TextChanged -= new System.EventHandler(mainform.richTextBox1_TextChanged); //注销文字改变事件
            SendMessage(RTB.Handle, 0x0B, 0, 0); //第一轮加工开始,禁止组件重画,避免闪烁问题
            RTB.SelectAll();
            RTB.SelectionFont = Defines.TextBoxFont;
            RTB.DeselectAll();
            RTB.SelectionStart = OriSelectionStart;
            SendMessage(RTB.Handle, 0x0B, 1, 0); //第一轮加工结束,允许组件重画
            RTB.Refresh(); //组件刷新

            SendMessage(RTB.Handle, 0x0B, 0, 0); //第二轮加工开始,禁止组件重画,避免着色闪烁问题
            if (RTB.Lines.Length > 0 )
            {
                for (int i = StartLine; i <= FinalLine; i++) this.PaintLine(i, ref RTB); //对每行着色
            }
                RTB.SelectionLength = 0;
            RTB.SelectionStart = OriSelectionStart; //光标归位
            RTB.SelectionColor = Color.Black;
            SendMessage(RTB.Handle, 0x0B, 1, 0); //第二轮加工结束,允许组件重画
            RTB.TextChanged += new System.EventHandler(mainform.richTextBox1_TextChanged); //恢复事件
            RTB.SelectionChanged += new System.EventHandler(mainform.richTextBox1_SelectionChanged); //恢复事件
            RTB.Refresh();
        }
        public override string ToText(Subtitle subtitle, string title)
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendLine("#\tAppearance\tCaption\t");
            sb.AppendLine();
            int count = 1;
            for (int i = 0; i < subtitle.Paragraphs.Count; i++)
            {
                Paragraph p = subtitle.Paragraphs[i];
                string text = HtmlUtil.RemoveHtmlTags(p.Text);
                sb.AppendLine(string.Format("{0}\t{1}\t{2}\t", count.ToString().PadLeft(5, ' '), MakeTimeCode(p.StartTime), text));
                sb.AppendLine("\t\t\t\t");
                Paragraph next = subtitle.GetParagraphOrDefault(i + 1);
                if (next == null || Math.Abs(p.EndTime.TotalMilliseconds - next.StartTime.TotalMilliseconds) > 50)
                {
                    count++;
                    sb.AppendLine(string.Format("{0}\t{1}", count.ToString().PadLeft(5, ' '), MakeTimeCode(p.EndTime)));
                }

                count++;
            }

            RichTextBox rtBox = new RichTextBox();
            rtBox.Text = sb.ToString();
            string rtf = rtBox.Rtf;
            rtBox.Dispose();
            return rtf;
        }
Example #25
0
        public ConsoleLog()
        {
            InitializeComponent();

            _textBox = textBox;

            ConsoleBackColor = Color.FromArgb(51, 51, 51);
            ConsoleFont = new Font("Consolas", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
            StandardForeColor = Color.FromArgb(225, 213, 112);
            StandardBackColor = Color.FromArgb(51, 51, 51);
            InfoForeColor = Color.FromArgb(99, 211, 234);
            InfoBackColor = Color.FromArgb(51, 51, 51);
            WarningForeColor = Color.FromArgb(51, 51, 51);
            WarningBackColor = Color.FromArgb(255, 252, 0);
            ErrorForeColor = Color.White;
            ErrorBackColor = Color.Tomato;
            SuccessForeColor = Color.FromArgb(163, 233, 45);
            SuccessBackColor = Color.FromArgb(51, 51, 51);
            StandoutForeColor = Color.FromArgb(250, 1, 194);
            StandoutBackColor = Color.FromArgb(51, 51, 51);
            SubtleForeColor = Color.FromArgb(156, 156, 156);
            SubtleBackColor = Color.FromArgb(51, 51, 51);
            EventForeColor = Color.FromArgb(78, 201, 176);
            EventBackColor = Color.FromArgb(51, 51, 51);
            EventWarningForeColor = Color.White;
            EventWarningBackColor = Color.FromArgb(78, 201, 176);

        }
Example #26
0
 private void AddText(RichTextBox RTB, string msg)
 {
     if (RTB.InvokeRequired)
         RTB.Invoke(new Action(() => RTB.AppendText(msg)));
     else
         RTB.AppendText(msg);
 }
Example #27
0
 // 双击空文件时,自动调用打开对话框
 private void richTextBox1_DoubleClick(object sender, EventArgs e)
 {
     RichTextBox x = new RichTextBox();
     x = f1.GetCurrentRichTextBox();
     if (x.Text == "")
         f1.打开OToolStripMenuItem_Click(sender, e);
 }
Example #28
0
        public Sequence(NpgsqlConnection conn,RichTextBox t)
        {
            InitializeComponent();
            this.conn = conn;
            this.t = t;
            comboBox1.Items.Add("CACHE");
            comboBox1.Items.Add("NO CACHE");
            PC = new Postgres_Connection();

            richTextBox1.StyleResetDefault();
            richTextBox1.Styles[Style.Default].Font = "Consolas";
            richTextBox1.Styles[Style.Default].Size = 10;
            richTextBox1.StyleClearAll();
            richTextBox1.Styles[Style.Cpp.Default].ForeColor = Color.Silver;
            richTextBox1.Styles[Style.Cpp.Comment].ForeColor = Color.FromArgb(0, 128, 0); // Green
            richTextBox1.Styles[Style.Cpp.CommentLine].ForeColor = Color.FromArgb(0, 128, 0); // Green
            richTextBox1.Styles[Style.Cpp.CommentLineDoc].ForeColor = Color.FromArgb(128, 128, 128); // Gray
            richTextBox1.Styles[Style.Cpp.Number].ForeColor = Color.Red;
            richTextBox1.Styles[Style.Cpp.Word].ForeColor = Color.Blue;
            richTextBox1.Styles[Style.Cpp.Word2].ForeColor = Color.Fuchsia;
            richTextBox1.Styles[Style.Cpp.String].ForeColor = Color.FromArgb(163, 21, 21); // Red
            richTextBox1.Styles[Style.Cpp.Character].ForeColor = Color.FromArgb(163, 21, 21); // Red
            richTextBox1.Styles[Style.Cpp.Verbatim].ForeColor = Color.FromArgb(163, 21, 21); // Red
            richTextBox1.Styles[Style.Cpp.Operator].ForeColor = Color.Silver;
            richTextBox1.Styles[Style.Cpp.Preprocessor].ForeColor = Color.Purple;
            richTextBox1.Lexer = Lexer.Cpp;
            richTextBox1.Margins[0].Width = 16;

            //richTextBox1.SetKeywords(0, "abort absolute access action add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at attribute authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast catalog chain char character characteristics check checkpoint class close cluster coalesce collate collation column comment comments commit committed concurrently configuration connection constraint constraints content continue conversion copy cost create cross csv current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare default defaults deferrable deferred definer delete delimiter delimiters desc dictionary disable discard distinct do document domain double drop each else enable encoding encrypted end enum escape event except exclude excluding exclusive execute exists explain extension external extract false family fetch filter first float following for force foreign forward freeze from full function functions global grant granted greatest group handler having header hold hour identity if ilike immediate immutable implicit in including increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key label language large last lateral lc_collate lc_ctype leading leakproof least left level like limit listen load local localtime localtimestamp location lock mapping match materialized maxvalue minute minvalue mode month move name names national natural nchar next no none not nothing notify notnull nowait null nullif nulls numeric object of off offset oids on only operator option options or order ordinality out outer over overlaps overlay owned owner parser partial partition passing password placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure program quote range read real reassign recheck recursive ref references refresh reindex relative release rename repeatable replace replica reset restart restrict returning returns revoke right role rollback row rows rule savepoint schema scroll search second security select sequence sequences serializable server session session_user set setof share show similar simple smallint snapshot some stable standalone start statement statistics stdin stdout storage strict strip substring symmetric sysid system table tables tablespace temp template temporary text then time timestamp to trailing transaction treat trigger trim true truncate trusted type types unbounded uncommitted unencrypted union unique unknown unlisten unlogged until user using vacuum valid validate validator value values varchar variadic varying verbose version view views volatile when where whitespace window with within without work wrapper write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone ABORT ABSOLUTE ACCESS ACTION ADD ADMIN AFTER AGGREGATE ALL ALSO ALTER ALWAYS ANALYSE ANALYZE AND ANY ARRAY AS ASC ASSERTION ASSIGNMENT ASYMMETRIC AT ATTRIBUTE AUTHORIZATION BACKWARD BEFORE BEGIN BETWEEN BIGINT BINARY BIT BOOLEAN BOTH BY CACHE CALLED CASCADE CASCADED CASE CAST CATALOG CHAIN CHAR CHARACTER CHARACTERISTICS CHECK CHECKPOINT CLASS CLOSE CLUSTER COALESCE COLLATE COLLATION COLUMN COMMENT COMMENTS COMMIT COMMITTED CONCURRENTLY CONFIGURATION CONNECTION CONSTRAINT CONSTRAINTS CONTENT CONTINUE CONVERSION COPY COST CREATE CROSS CSV CURRENT CURRENT_CATALOG CURRENT_DATE CURRENT_ROLE CURRENT_SCHEMA CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURSOR CYCLE DATA DATABASE DAY DEALLOCATE DEC DECIMAL DECLARE DEFAULT DEFAULTS DEFERRABLE DEFERRED DEFINER DELETE DELIMITER DELIMITERS DESC DICTIONARY DISABLE DISCARD DISTINCT DO DOCUMENT DOMAIN DOUBLE DROP EACH ELSE ENABLE ENCODING ENCRYPTED END ENUM ESCAPE EVENT EXCEPT EXCLUDE EXCLUDING EXCLUSIVE EXECUTE EXISTS EXPLAIN EXTENSION EXTERNAL EXTRACT FALSE FAMILY FETCH FILTER FIRST FLOAT FOLLOWING FOR FORCE FOREIGN FORWARD FREEZE FROM FULL FUNCTION FUNCTIONS GLOBAL GRANT GRANTED GREATEST GROUP HANDLER HAVING HEADER HOLD HOUR IDENTITY IF ILIKE IMMEDIATE IMMUTABLE IMPLICIT IN INCLUDING INCREMENT INDEX INDEXES INHERIT INHERITS INITIALLY INLINE INNER INOUT INPUT INSENSITIVE INSERT INSTEAD INT INTEGER INTERSECT INTERVAL INTO INVOKER IS ISNULL ISOLATION JOIN KEY LABEL LANGUAGE LARGE LAST LATERAL LC_COLLATE LC_CTYPE LEADING LEAKPROOF LEAST LEFT LEVEL LIKE LIMIT LISTEN LOAD LOCAL LOCALTIME LOCALTIMESTAMP LOCATION LOCK MAPPING MATCH MATERIALIZED MAXVALUE MINUTE MINVALUE MODE MONTH MOVE NAME NAMES NATIONAL NATURAL NCHAR NEXT NO NONE NOT NOTHING NOTIFY NOTNULL NOWAIT NULL NULLIF NULLS NUMERIC OBJECT OF OFF OFFSET OIDS ON ONLY OPERATOR OPTION OPTIONS OR ORDER ORDINALITY OUT OUTER OVER OVERLAPS OVERLAY OWNED OWNER PARSER PARTIAL PARTITION PASSING PASSWORD PLACING PLANS POSITION PRECEDING PRECISION PREPARE PREPARED PRESERVE PRIMARY PRIOR PRIVILEGES PROCEDURAL PROCEDURE PROGRAM QUOTE RANGE READ REAL REASSIGN RECHECK RECURSIVE REF REFERENCES REFRESH REINDEX RELATIVE RELEASE RENAME REPEATABLE REPLACE REPLICA RESET RESTART RESTRICT RETURNING RETURNS REVOKE RIGHT ROLE ROLLBACK ROW ROWS RULE SAVEPOINT SCHEMA SCROLL SEARCH SECOND SECURITY SELECT SEQUENCE SEQUENCES SERIALIZABLE SERVER SESSION SESSION_USER SET SETOF SHARE SHOW SIMILAR SIMPLE SMALLINT SNAPSHOT SOME STABLE STANDALONE START STATEMENT STATISTICS STDIN STDOUT STORAGE STRICT STRIP SUBSTRING SYMMETRIC SYSID SYSTEM TABLE TABLES TABLESPACE TEMP TEMPLATE TEMPORARY TEXT THEN TIME TIMESTAMP TO TRAILING TRANSACTION TREAT TRIGGER TRIM TRUE TRUNCATE TRUSTED TYPE TYPES UNBOUNDED UNCOMMITTED UNENCRYPTED UNION UNIQUE UNKNOWN UNLISTEN UNLOGGED UNTIL USER USING VACUUM VALID VALIDATE VALIDATOR VALUE VALUES VARCHAR VARIADIC VARYING VERBOSE VERSION VIEW VIEWS VOLATILE WHEN WHERE WHITESPACE WINDOW WITH WITHIN WITHOUT WORK WRAPPER WRITE XML XMLATTRIBUTES XMLCONCAT XMLELEMENT XMLEXISTS XMLFOREST XMLPARSE XMLPI XMLROOT XMLSERIALIZE YEAR YES ZONE");
            //richTextBox1.SetKeywords(1, "update UPDATE");
        }
Example #29
0
        /// <summary>
        /// Writes a message to the specified RichTextBox.
        /// </summary>
        /// <param name="textBox"></param>
        /// <param name="message">The <see cref="string">message</see> to be written.</param>
        /// <param name="col"></param>
        private static void AppendMessage(RichTextBox textBox, string message, Color col)
        {
            try
            {
                if (!textBox.IsDisposed)
                {
                    if (textBox.InvokeRequired)
                    {
                        textBox.Invoke(new Action<RichTextBox, string, Color>(AppendMessage), textBox, message, col);
                        return;
                    }

                    Color oldColor = textBox.SelectionColor;
                    textBox.SelectionColor = col;
                    textBox.AppendText(message);
                    textBox.SelectionColor = oldColor;
                    textBox.AppendText(Environment.NewLine);
                    textBox.ScrollToCaret();
                }
            }
            catch (Exception ex)
            {
                Logging.WriteException(ex);
            }
        }
Example #30
0
        /// <summary>
        /// Launch the Lean Engine Primary Form:
        /// </summary>
        /// <param name="engine">Accept the engine instance we just launched</param>
        public LeanEngineWinForm(Engine engine)
        {
            _engine = engine;
            //Setup the State:
            _resultsHandler = engine.AlgorithmHandlers.Results;

            //Create Form:
            Text = "QuantConnect Lean Algorithmic Trading Engine: v" + Constants.Version;
            Size = new Size(1024,768);
            MinimumSize = new Size(1024, 768);
            CenterToScreen();
            WindowState = FormWindowState.Maximized;
            Icon = new Icon("../../../lean.ico");

            //Setup Console Log Area:
            _console = new RichTextBox();
            _console.Parent = this;
            _console.ReadOnly = true;
            _console.Multiline = true;
            _console.Location = new Point(0, 0);
            _console.Dock = DockStyle.Fill;
            _console.KeyUp += ConsoleOnKeyUp;
            
            //Form Events:
            Closed += OnClosed;

            //Setup Polling Events:
            _polling = new Timer();
            _polling.Interval = 1000;
            _polling.Tick += PollingOnTick;
            _polling.Start();
        }
Example #31
0
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Location = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(768, 512);
     this.richTextBox1.TabIndex = 0;
     this.richTextBox1.Text     = "";
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(770, 514);
     this.Controls.Add(this.richTextBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "How to use MediaInfo.Dll";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Example #32
0
        /// <summary>
        /// Sizes the box.
        /// </summary>
        /// <param name="ctl">The control</param>
        private void SizeBox(System.Windows.Forms.RichTextBox ctl)
        {
            Graphics g = null;

            try
            {
                //-- note that the height is taken as MAXIMUM, so size the label for maximum desired height!
                g = Graphics.FromHwnd(ctl.Handle);
                SizeF objSizeF = g.MeasureString(ctl.Text, ctl.Font, new SizeF(ctl.Width, ctl.Height));
                //g.Dispose();
                ctl.Height = Convert.ToInt32(objSizeF.Height) + 5;
            }
            catch (System.Security.SecurityException)
            {
                //-- do nothing; we can't set control sizes without full trust
            }
            finally
            {
                if ((g != null))
                {
                    g.Dispose();
                }
            }
        }
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.richTextBox1    = new System.Windows.Forms.RichTextBox();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Location = new System.Drawing.Point(0, 32);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(288, 240);
     this.richTextBox1.TabIndex = 0;
     this.richTextBox1.Text     = "";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Location      = new System.Drawing.Point(80, 8);
     this.dateTimePicker1.MaxDate       = new System.DateTime(2003, 12, 31, 0, 0, 0, 0);
     this.dateTimePicker1.MinDate       = new System.DateTime(2001, 1, 1, 0, 0, 0, 0);
     this.dateTimePicker1.Name          = "dateTimePicker1";
     this.dateTimePicker1.TabIndex      = 1;
     this.dateTimePicker1.Value         = new System.DateTime(2001, 12, 19, 0, 0, 0, 0);
     this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(292, 273);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dateTimePicker1,
         this.richTextBox1
     });
     this.Name = "Form1";
     this.Text = "使用DateTimePicker";
     this.ResumeLayout(false);
 }
Example #34
0
        /// <summary>
        /// Find the text (keyword) before the specific character.
        /// </summary>
        /// <param name="rtb">A RichTextBox control</param>
        /// <param name="intKeyValue">The value of the pressed key</param>
        /// <param name="strText">The text (keyword) before last typed character for checking it</param>
        /// <returns>Returns found text (keyword).</returns>
        private string FindKeyword(System.Windows.Forms.RichTextBox rtb, int intKeyValue, string strText)
        {
            string strSelectedText = null;

            try
            {
                if (intKeyValue == 57)     // ( char
                {
                    if (rtb.SelectionStart - 1 >= 0)
                    {
                        rtb.SelectionStart--;
                        rtb.SelectionLength = 1;
                    }
                    if (rtb.SelectionStart - strText.Length >= 0)
                    {
                        rtb.SelectionStart -= strText.Length;
                        rtb.SelectionLength = strText.Length;
                    }
                    strSelectedText = rtb.SelectedText;
                    if (rtb.SelectionStart - strText.Length >= 0)
                    {
                        rtb.SelectionStart += strText.Length;
                        rtb.SelectionLength = 1;
                    }
                    if (rtb.SelectionStart - 1 >= 0)
                    {
                        rtb.SelectionStart++;
                        rtb.SelectionLength = 0;
                    }
                }
            }
            catch
            {
            }
            return(strSelectedText);
        }
Example #35
0
    private void InitializeComponent()
    {
        this.RichTextBox1 = new System.Windows.Forms.RichTextBox();
        this.TextBox1     = new System.Windows.Forms.TextBox();
        this.SuspendLayout();
        //
        //RichTextBox1
        //
        this.RichTextBox1.Location = new System.Drawing.Point(40, 80);
        this.RichTextBox1.Name     = "RichTextBox1";
        this.RichTextBox1.ReadOnly = true;
        this.RichTextBox1.TabIndex = 0;
        this.RichTextBox1.Text     = "and the text will be added here.";
        //


        //Form1
        //
        this.ClientSize = new System.Drawing.Size(292, 266);
        this.Controls.Add(this.RichTextBox1);
        this.Name = "Form1";
        this.Text = "Form1";
        this.ResumeLayout(false);
    }
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.txt = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // txt
     //
     this.txt.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.txt.Location = new System.Drawing.Point(0, 0);
     this.txt.Name     = "txt";
     this.txt.Size     = new System.Drawing.Size(504, 213);
     this.txt.TabIndex = 0;
     this.txt.Text     = "";
     //
     // ParseErrors
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize        = new System.Drawing.Size(504, 213);
     this.Controls.Add(this.txt);
     this.Font = new System.Drawing.Font("Verdana", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "ParseErrors";
     this.Text = "There were errors";
     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.rtbResults = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // rtbResults
     //
     this.rtbResults.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.rtbResults.Location = new System.Drawing.Point(0, 0);
     this.rtbResults.Name     = "rtbResults";
     this.rtbResults.Size     = new System.Drawing.Size(792, 541);
     this.rtbResults.TabIndex = 0;
     this.rtbResults.Text     = "";
     this.rtbResults.WordWrap = false;
     //
     // showresults
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 541);
     this.Controls.Add(this.rtbResults);
     this.Name = "showresults";
     this.Text = "Results";
     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()
 {
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Location   = new System.Drawing.Point(24, 24);
     this.richTextBox1.Name       = "richTextBox1";
     this.richTextBox1.Size       = new System.Drawing.Size(320, 264);
     this.richTextBox1.TabIndex   = 0;
     this.richTextBox1.Text       = "There once was a man from Nantucket.";
     this.richTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.richTextBox1_MouseDown);
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(368, 310);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox1
     });
     this.Name = "Form1";
     this.Text = "Form1";
     this.ResumeLayout(false);
 }
Example #39
0
        internal void abrirArchivo(System.Windows.Forms.RichTextBox rtb_escribirCodigo, System.Windows.Forms.Label label_mostarProyecto)
        {
            rtb_escribirCodigo.ReadOnly = true;
            rtb_escribirCodigo.Text     = "";
            String pathAbrirArchivo;

            System.Windows.Forms.OpenFileDialog abrirArchivo = new System.Windows.Forms.OpenFileDialog();
            abrirArchivo.Filter = "gt files (*.gt)|*.gt"; //Text|*.txt|All|*.*
            if (abrirArchivo.ShowDialog() == DialogResult.OK)
            {
                //Se obtiene el path especifico
                pathAbrirArchivo = abrirArchivo.FileName;
                path             = pathAbrirArchivo;
                //Con este metodo mostramos el nombre del proyecto en pantalla
                mostrarNombreProyecto(pathAbrirArchivo, label_mostarProyecto);
                //Lee el contenido del archivo dentro del programa
                var fileStream = abrirArchivo.OpenFile();
                using (StreamReader leerArchivo = new StreamReader(fileStream))
                {
                    rtb_escribirCodigo.Text = leerArchivo.ReadToEnd();
                }
            }
            esAbrir = true;
        }
Example #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.richTextBoxInformationModel = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // richTextBoxInformationModel
     //
     this.richTextBoxInformationModel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.richTextBoxInformationModel.Location = new System.Drawing.Point(0, 0);
     this.richTextBoxInformationModel.Name     = "richTextBoxInformationModel";
     this.richTextBoxInformationModel.ReadOnly = true;
     this.richTextBoxInformationModel.Size     = new System.Drawing.Size(536, 406);
     this.richTextBoxInformationModel.TabIndex = 0;
     this.richTextBoxInformationModel.Text     = "";
     //
     // FormInformationModel
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(536, 406);
     this.Controls.Add(this.richTextBoxInformationModel);
     this.Name = "FormInformationModel";
     this.Text = "FormInformationModel";
     this.ResumeLayout(false);
 }
Example #41
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(DictionaryForm));
     this.DictionaryTab        = new System.Windows.Forms.TabControl();
     this.tabCopyright         = new System.Windows.Forms.TabPage();
     this.txtCopyright         = new System.Windows.Forms.RichTextBox();
     this.tabNearMiss          = new System.Windows.Forms.TabPage();
     this.txtReplace           = new System.Windows.Forms.RichTextBox();
     this.label2               = new System.Windows.Forms.Label();
     this.label1               = new System.Windows.Forms.Label();
     this.txtTry               = new System.Windows.Forms.TextBox();
     this.tabPrefix            = new System.Windows.Forms.TabPage();
     this.txtPrefix            = new System.Windows.Forms.RichTextBox();
     this.tabSuffix            = new System.Windows.Forms.TabPage();
     this.txtSuffix            = new System.Windows.Forms.RichTextBox();
     this.tabPhonetic          = new System.Windows.Forms.TabPage();
     this.txtPhonetic          = new System.Windows.Forms.RichTextBox();
     this.tabWords             = new System.Windows.Forms.TabPage();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.btnLookup            = new System.Windows.Forms.Button();
     this.txtPhoneticCode      = new System.Windows.Forms.TextBox();
     this.label9               = new System.Windows.Forms.Label();
     this.txtAffixKeys         = new System.Windows.Forms.TextBox();
     this.txtWord              = new System.Windows.Forms.TextBox();
     this.label6               = new System.Windows.Forms.Label();
     this.listAffixWords       = new System.Windows.Forms.ListBox();
     this.label8               = new System.Windows.Forms.Label();
     this.label7               = new System.Windows.Forms.Label();
     this.label4               = new System.Windows.Forms.Label();
     this.txtCurrentWord       = new System.Windows.Forms.TextBox();
     this.numUpDownWord        = new System.Windows.Forms.NumericUpDown();
     this.txtWordCount         = new System.Windows.Forms.TextBox();
     this.label3               = new System.Windows.Forms.Label();
     this.mainMenu             = new System.Windows.Forms.MainMenu();
     this.menuDictionary       = new System.Windows.Forms.MenuItem();
     this.menuWords            = new System.Windows.Forms.MenuItem();
     this.menuAffix            = new System.Windows.Forms.MenuItem();
     this.menuItem3            = new System.Windows.Forms.MenuItem();
     this.menuPhonetic         = new System.Windows.Forms.MenuItem();
     this.menuItem5            = new System.Windows.Forms.MenuItem();
     this.menuGenerate         = new System.Windows.Forms.MenuItem();
     this.saveDictionaryDialog = new System.Windows.Forms.SaveFileDialog();
     this.openDictionaryDialog = new System.Windows.Forms.OpenFileDialog();
     this.openWordsDialog      = new System.Windows.Forms.OpenFileDialog();
     this.openAffixDialog      = new System.Windows.Forms.OpenFileDialog();
     this.openPhoneticDialog   = new System.Windows.Forms.OpenFileDialog();
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.DictionaryTab.SuspendLayout();
     this.tabCopyright.SuspendLayout();
     this.tabNearMiss.SuspendLayout();
     this.tabPrefix.SuspendLayout();
     this.tabSuffix.SuspendLayout();
     this.tabPhonetic.SuspendLayout();
     this.tabWords.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numUpDownWord)).BeginInit();
     this.SuspendLayout();
     //
     // DictionaryTab
     //
     this.DictionaryTab.Controls.Add(this.tabCopyright);
     this.DictionaryTab.Controls.Add(this.tabNearMiss);
     this.DictionaryTab.Controls.Add(this.tabPrefix);
     this.DictionaryTab.Controls.Add(this.tabSuffix);
     this.DictionaryTab.Controls.Add(this.tabPhonetic);
     this.DictionaryTab.Controls.Add(this.tabWords);
     this.DictionaryTab.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.DictionaryTab.Location      = new System.Drawing.Point(0, 0);
     this.DictionaryTab.Name          = "DictionaryTab";
     this.DictionaryTab.SelectedIndex = 0;
     this.DictionaryTab.Size          = new System.Drawing.Size(552, 478);
     this.DictionaryTab.TabIndex      = 0;
     //
     // tabCopyright
     //
     this.tabCopyright.Controls.Add(this.txtCopyright);
     this.tabCopyright.Location = new System.Drawing.Point(4, 22);
     this.tabCopyright.Name     = "tabCopyright";
     this.tabCopyright.Size     = new System.Drawing.Size(544, 452);
     this.tabCopyright.TabIndex = 0;
     this.tabCopyright.Text     = "Copyright Text";
     //
     // txtCopyright
     //
     this.txtCopyright.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.txtCopyright.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtCopyright.Location     = new System.Drawing.Point(0, 0);
     this.txtCopyright.Multiline    = true;
     this.txtCopyright.Name         = "txtCopyright";
     this.txtCopyright.Size         = new System.Drawing.Size(544, 452);
     this.txtCopyright.TabIndex     = 0;
     this.txtCopyright.Text         = "";
     this.txtCopyright.WordWrap     = false;
     this.txtCopyright.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // tabNearMiss
     //
     this.tabNearMiss.Controls.Add(this.txtReplace);
     this.tabNearMiss.Controls.Add(this.label2);
     this.tabNearMiss.Controls.Add(this.label1);
     this.tabNearMiss.Controls.Add(this.txtTry);
     this.tabNearMiss.Location = new System.Drawing.Point(4, 22);
     this.tabNearMiss.Name     = "tabNearMiss";
     this.tabNearMiss.Size     = new System.Drawing.Size(544, 452);
     this.tabNearMiss.TabIndex = 1;
     this.tabNearMiss.Text     = "Near Miss Data";
     //
     // txtReplace
     //
     this.txtReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.txtReplace.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtReplace.Location     = new System.Drawing.Point(16, 80);
     this.txtReplace.Multiline    = true;
     this.txtReplace.Name         = "txtReplace";
     this.txtReplace.Size         = new System.Drawing.Size(512, 360);
     this.txtReplace.TabIndex     = 4;
     this.txtReplace.Text         = "";
     this.txtReplace.WordWrap     = false;
     this.txtReplace.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(392, 16);
     this.label2.TabIndex = 3;
     this.label2.Text     = "&Replace Characters";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(392, 16);
     this.label1.TabIndex = 2;
     this.label1.Text     = "&Try Characters";
     //
     // txtTry
     //
     this.txtTry.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTry.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtTry.Location     = new System.Drawing.Point(16, 32);
     this.txtTry.Name         = "txtTry";
     this.txtTry.Size         = new System.Drawing.Size(512, 20);
     this.txtTry.TabIndex     = 0;
     this.txtTry.Text         = "";
     this.txtTry.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // tabPrefix
     //
     this.tabPrefix.Controls.Add(this.txtPrefix);
     this.tabPrefix.Location = new System.Drawing.Point(4, 22);
     this.tabPrefix.Name     = "tabPrefix";
     this.tabPrefix.Size     = new System.Drawing.Size(544, 452);
     this.tabPrefix.TabIndex = 2;
     this.tabPrefix.Text     = "Prefix Rules";
     //
     // txtPrefix
     //
     this.txtPrefix.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.txtPrefix.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtPrefix.Location     = new System.Drawing.Point(0, 0);
     this.txtPrefix.Multiline    = true;
     this.txtPrefix.Name         = "txtPrefix";
     this.txtPrefix.Size         = new System.Drawing.Size(544, 452);
     this.txtPrefix.TabIndex     = 2;
     this.txtPrefix.Text         = "";
     this.txtPrefix.WordWrap     = false;
     this.txtPrefix.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // tabSuffix
     //
     this.tabSuffix.Controls.Add(this.txtSuffix);
     this.tabSuffix.Location = new System.Drawing.Point(4, 22);
     this.tabSuffix.Name     = "tabSuffix";
     this.tabSuffix.Size     = new System.Drawing.Size(544, 452);
     this.tabSuffix.TabIndex = 3;
     this.tabSuffix.Text     = "Suffix Rules";
     //
     // txtSuffix
     //
     this.txtSuffix.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.txtSuffix.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtSuffix.Location     = new System.Drawing.Point(0, 0);
     this.txtSuffix.Multiline    = true;
     this.txtSuffix.Name         = "txtSuffix";
     this.txtSuffix.Size         = new System.Drawing.Size(544, 452);
     this.txtSuffix.TabIndex     = 2;
     this.txtSuffix.Text         = "";
     this.txtSuffix.WordWrap     = false;
     this.txtSuffix.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // tabPhonetic
     //
     this.tabPhonetic.Controls.Add(this.txtPhonetic);
     this.tabPhonetic.Location = new System.Drawing.Point(4, 22);
     this.tabPhonetic.Name     = "tabPhonetic";
     this.tabPhonetic.Size     = new System.Drawing.Size(544, 452);
     this.tabPhonetic.TabIndex = 4;
     this.tabPhonetic.Text     = "Phonetic Rules";
     //
     // txtPhonetic
     //
     this.txtPhonetic.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.txtPhonetic.Font         = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtPhonetic.Location     = new System.Drawing.Point(0, 0);
     this.txtPhonetic.Multiline    = true;
     this.txtPhonetic.Name         = "txtPhonetic";
     this.txtPhonetic.Size         = new System.Drawing.Size(544, 452);
     this.txtPhonetic.TabIndex     = 2;
     this.txtPhonetic.Text         = "";
     this.txtPhonetic.WordWrap     = false;
     this.txtPhonetic.TextChanged += new System.EventHandler(this.form_TextChanged);
     //
     // tabWords
     //
     this.tabWords.Controls.Add(this.groupBox1);
     this.tabWords.Controls.Add(this.txtWordCount);
     this.tabWords.Controls.Add(this.label3);
     this.tabWords.Location = new System.Drawing.Point(4, 22);
     this.tabWords.Name     = "tabWords";
     this.tabWords.Size     = new System.Drawing.Size(544, 452);
     this.tabWords.TabIndex = 5;
     this.tabWords.Text     = "Word List";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.btnLookup);
     this.groupBox1.Controls.Add(this.txtPhoneticCode);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Controls.Add(this.txtAffixKeys);
     this.groupBox1.Controls.Add(this.txtWord);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.listAffixWords);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtCurrentWord);
     this.groupBox1.Controls.Add(this.numUpDownWord);
     this.groupBox1.Location = new System.Drawing.Point(16, 64);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(512, 376);
     this.groupBox1.TabIndex = 14;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Current Word";
     //
     // btnLookup
     //
     this.btnLookup.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnLookup.Location = new System.Drawing.Point(416, 160);
     this.btnLookup.Name     = "btnLookup";
     this.btnLookup.TabIndex = 24;
     this.btnLookup.Text     = "Lookup";
     this.btnLookup.Click   += new System.EventHandler(this.btnLookup_Click);
     //
     // txtPhoneticCode
     //
     this.txtPhoneticCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPhoneticCode.Location = new System.Drawing.Point(144, 112);
     this.txtPhoneticCode.Name     = "txtPhoneticCode";
     this.txtPhoneticCode.ReadOnly = true;
     this.txtPhoneticCode.Size     = new System.Drawing.Size(256, 20);
     this.txtPhoneticCode.TabIndex = 23;
     this.txtPhoneticCode.Text     = "";
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(56, 112);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(88, 23);
     this.label9.TabIndex = 22;
     this.label9.Text     = "Phonetic Code:";
     //
     // txtAffixKeys
     //
     this.txtAffixKeys.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.txtAffixKeys.Location = new System.Drawing.Point(144, 88);
     this.txtAffixKeys.Name     = "txtAffixKeys";
     this.txtAffixKeys.ReadOnly = true;
     this.txtAffixKeys.Size     = new System.Drawing.Size(256, 20);
     this.txtAffixKeys.TabIndex = 21;
     this.txtAffixKeys.Text     = "";
     //
     // txtWord
     //
     this.txtWord.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtWord.Location = new System.Drawing.Point(144, 64);
     this.txtWord.Name     = "txtWord";
     this.txtWord.ReadOnly = true;
     this.txtWord.Size     = new System.Drawing.Size(256, 20);
     this.txtWord.TabIndex = 20;
     this.txtWord.Text     = "";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(16, 160);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(125, 16);
     this.label6.TabIndex = 19;
     this.label6.Text     = "Words from Base Word:";
     //
     // listAffixWords
     //
     this.listAffixWords.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.listAffixWords.Location = new System.Drawing.Point(144, 160);
     this.listAffixWords.Name     = "listAffixWords";
     this.listAffixWords.Size     = new System.Drawing.Size(256, 69);
     this.listAffixWords.TabIndex = 18;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(80, 88);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(64, 16);
     this.label8.TabIndex = 17;
     this.label8.Text     = "Affix Keys:";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(72, 64);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(64, 16);
     this.label7.TabIndex = 16;
     this.label7.Text     = "Base Word:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 32);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(128, 17);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Current Word Raw Text:";
     //
     // txtCurrentWord
     //
     this.txtCurrentWord.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCurrentWord.Location = new System.Drawing.Point(144, 32);
     this.txtCurrentWord.Name     = "txtCurrentWord";
     this.txtCurrentWord.ReadOnly = true;
     this.txtCurrentWord.Size     = new System.Drawing.Size(256, 20);
     this.txtCurrentWord.TabIndex = 6;
     this.txtCurrentWord.Text     = "";
     //
     // numUpDownWord
     //
     this.numUpDownWord.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.numUpDownWord.Location      = new System.Drawing.Point(416, 32);
     this.numUpDownWord.Name          = "numUpDownWord";
     this.numUpDownWord.Size          = new System.Drawing.Size(72, 20);
     this.numUpDownWord.TabIndex      = 5;
     this.numUpDownWord.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numUpDownWord_KeyUp);
     this.numUpDownWord.ValueChanged += new System.EventHandler(this.numUpDownWord_ValueChanged);
     //
     // txtWordCount
     //
     this.txtWordCount.Location = new System.Drawing.Point(152, 24);
     this.txtWordCount.Name     = "txtWordCount";
     this.txtWordCount.ReadOnly = true;
     this.txtWordCount.Size     = new System.Drawing.Size(64, 20);
     this.txtWordCount.TabIndex = 1;
     this.txtWordCount.Text     = "0";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(48, 24);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(96, 16);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Base Word Count:";
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuDictionary
     });
     //
     // menuDictionary
     //
     this.menuDictionary.Index = 0;
     this.menuDictionary.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuWords,
         this.menuAffix,
         this.menuItem3,
         this.menuPhonetic,
         this.menuItem5,
         this.menuGenerate
     });
     this.menuDictionary.MergeOrder = 3;
     this.menuDictionary.MergeType  = System.Windows.Forms.MenuMerge.MergeItems;
     this.menuDictionary.Text       = "Dictionary";
     //
     // menuWords
     //
     this.menuWords.Index  = 0;
     this.menuWords.Text   = "Add OpenOffice Word List";
     this.menuWords.Click += new System.EventHandler(this.menuWords_Click);
     //
     // menuAffix
     //
     this.menuAffix.Index  = 1;
     this.menuAffix.Text   = "Add OpenOffice Affix Data";
     this.menuAffix.Click += new System.EventHandler(this.menuAffix_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.Text  = "-";
     //
     // menuPhonetic
     //
     this.menuPhonetic.Index  = 3;
     this.menuPhonetic.Text   = "Add Aspell Phonetic Rules";
     this.menuPhonetic.Click += new System.EventHandler(this.menuPhonetic_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 4;
     this.menuItem5.Text  = "-";
     //
     // menuGenerate
     //
     this.menuGenerate.Index  = 5;
     this.menuGenerate.Text   = "Generate Phonetic Cache";
     this.menuGenerate.Click += new System.EventHandler(this.menuGenerate_Click);
     //
     // saveDictionaryDialog
     //
     this.saveDictionaryDialog.DefaultExt = "dic";
     this.saveDictionaryDialog.Filter     = "Dictionary files (*.dic)|*.dic|Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // openDictionaryDialog
     //
     this.openDictionaryDialog.Filter = "Dictionary files (*.dic)|*.dic|Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // openWordsDialog
     //
     this.openWordsDialog.Filter = "Dictionary files (*.dic)|*.dic|Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // openAffixDialog
     //
     this.openAffixDialog.Filter = "Affix files (*.aff)|*.aff|Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // openPhoneticDialog
     //
     this.openPhoneticDialog.Filter = "Phonetic files (*.dat)|*.dat|Text files (*.txt)|*.txt|All files (*.*)|*.*";
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // DictionaryForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(552, 478);
     this.Controls.Add(this.DictionaryTab);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu        = this.mainMenu;
     this.Name        = "DictionaryForm";
     this.Text        = "untitled";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing    += new System.ComponentModel.CancelEventHandler(this.DictionaryForm_Closing);
     this.DictionaryTab.ResumeLayout(false);
     this.tabCopyright.ResumeLayout(false);
     this.tabNearMiss.ResumeLayout(false);
     this.tabPrefix.ResumeLayout(false);
     this.tabSuffix.ResumeLayout(false);
     this.tabPhonetic.ResumeLayout(false);
     this.tabWords.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numUpDownWord)).EndInit();
     this.ResumeLayout(false);
 }
Example #42
0
        //---------------------------------------------------------------------------------------------------//

        public int ImportCSV(
            int X, int Y, int width,
            System.Windows.Forms.GroupBox ImportDataSettings,
            System.Windows.Forms.Button BrowseButton,
            System.Windows.Forms.Button ClearButton,
            System.Windows.Forms.RichTextBox Path,
            System.Windows.Forms.Button LoadButton
            )
        {
            if (marginX == 0)
            {
                marginX = (int)(width * 0.05);
            }
            if (marginY == 0)
            {
                marginY = (int)(width * 0.02);
            }
            int settingsWidth = (int)(width * 0.9);

            //
            // ImportDataSettings groupbox
            //
            // ImportDataSettings.Anchor = (
            //     (System.Windows.Forms.AnchorStyles)(
            //         (System.Windows.Forms.AnchorStyles.Left) | (System.Windows.Forms.AnchorStyles.Top)
            //     ));

            int ImportDataSettingsX = marginX + X;
            int ImportDataSettingsY = marginY + Y;

            ImportDataSettings.Location = new System.Drawing.Point(ImportDataSettingsX, ImportDataSettingsY);

            ImportDataSettings.Width = settingsWidth;

            ImportDataSettings.Text = "Import Data";
            ImportDataSettings.Name = "ImportDataSettings";


            //
            // BrowseButton Button
            //
            BrowseButton.Text = "Browse";
            BrowseButton.Name = "BrowseButton";

            int BrowseButtonX = marginX;
            int BrowseButtonY = 2 * marginY + 10;

            BrowseButton.Location = new System.Drawing.Point(BrowseButtonX, BrowseButtonY);

            BrowseButton.Height = stdButtonHeight;
            BrowseButton.Width  = stdButtonWidth;


            //
            // Path RichTextBox
            //
            Path.Name = "Path";

            int PathX = marginX + BrowseButtonX + BrowseButton.Width;
            int PathY = BrowseButtonY;

            Path.Location = new System.Drawing.Point(PathX, PathY);

            Path.Height = BrowseButton.Height;
            Path.Width  = settingsWidth - BrowseButton.Width - BrowseButtonX - 2 * marginX;

            //
            // ClearButton Button
            //
            ClearButton.Text = "Clear";
            ClearButton.Name = "ClearButton";

            int ClearButtonX = marginX;
            int ClearButtonY = marginY + BrowseButtonY + BrowseButton.Height;

            ClearButton.Location = new System.Drawing.Point(ClearButtonX, ClearButtonY);

            ClearButton.Height = stdButtonHeight;
            ClearButton.Width  = stdButtonWidth;

            //
            // LoadButton Button
            //
            LoadButton.Text = "Load";
            LoadButton.Name = "LoadButton";

            int LoadButtonX = marginX + ClearButtonX + ClearButton.Width;
            int LoadButtonY = marginY + BrowseButton.Height + BrowseButtonY;

            LoadButton.Location = new System.Drawing.Point(LoadButtonX, LoadButtonY);

            LoadButton.Height = BrowseButton.Height;
            LoadButton.Width  = settingsWidth - 3 * marginX - ClearButton.Width;

            ImportDataSettings.Height = 4 * marginY + 20 + BrowseButton.Height + LoadButton.Height;

            ImportDataSettings.Controls.Add(BrowseButton);
            ImportDataSettings.Controls.Add(ClearButton);
            ImportDataSettings.Controls.Add(Path);
            ImportDataSettings.Controls.Add(LoadButton);

            return(2 * marginY + ImportDataSettings.Height);
        }
Example #43
0
        /*
         *      public override void Dispose()
         * {
         *  base.Dispose();
         * }
         */

        private void InitializeComponent()
        {
            this.richTextBox1    = new System.Windows.Forms.RichTextBox();
            this.textBox1        = new System.Windows.Forms.TextBox();
            this.button1         = new System.Windows.Forms.Button();
            this.label1          = new System.Windows.Forms.Label();
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.SuspendLayout();
            //
            // richTextBox1
            //
            this.richTextBox1.DetectUrls = false;
            this.richTextBox1.Font       = new System.Drawing.Font("Courier New", 10F);
            this.richTextBox1.Location   = new System.Drawing.Point(16, 56);
            this.richTextBox1.Name       = "richTextBox1";
            this.richTextBox1.ReadOnly   = true;
            this.richTextBox1.Size       = new System.Drawing.Size(560, 392);
            this.richTextBox1.TabIndex   = 1;
            this.richTextBox1.Text       = "";
            this.richTextBox1.WordWrap   = false;
            //
            // textBox1
            //
            this.textBox1.Location = new System.Drawing.Point(136, 24);
            this.textBox1.Name     = "textBox1";
            this.textBox1.Size     = new System.Drawing.Size(184, 20);
            this.textBox1.TabIndex = 2;
            this.textBox1.Text     = "";
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(8, 16);
            this.button1.Name     = "button1";
            this.button1.TabIndex = 0;
            this.button1.Text     = "Open File";
            this.button1.Click   += new System.EventHandler(this.OpenFile);
            //
            // label1
            //
            this.label1.Location = new System.Drawing.Point(136, 8);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(64, 16);
            this.label1.TabIndex = 3;
            this.label1.Text     = "Current File";
            //
            // openFileDialog1
            //
            this.openFileDialog1.Filter  = "C# Files (*.cs)|*.cs|All Files (*.*)|*.*";
            this.openFileDialog1.Title   = "OpenC Sharp File";
            this.openFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk);
            //
            // ColorSyntaxApp
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(592, 461);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.label1,
                this.textBox1,
                this.richTextBox1,
                this.button1
            });
            this.Name = "ColorSyntaxApp";
            this.Text = "Form1";
            this.ResumeLayout(false);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.layerGroupBox        = new System.Windows.Forms.GroupBox();
     this.layerRichTextBox     = new System.Windows.Forms.RichTextBox();
     this.levelLabel           = new System.Windows.Forms.Label();
     this.levelTextBox         = new System.Windows.Forms.TextBox();
     this.typeNameTextBox      = new System.Windows.Forms.TextBox();
     this.spanDirectionTextBox = new System.Windows.Forms.TextBox();
     this.typeNameLabel        = new System.Windows.Forms.Label();
     this.spanDirectionLabel   = new System.Windows.Forms.Label();
     this.closeButton          = new System.Windows.Forms.Button();
     this.degreeLabel          = new System.Windows.Forms.Label();
     this.layerGroupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // layerGroupBox
     //
     this.layerGroupBox.Controls.Add(this.layerRichTextBox);
     this.layerGroupBox.Location = new System.Drawing.Point(22, 86);
     this.layerGroupBox.Name     = "layerGroupBox";
     this.layerGroupBox.Size     = new System.Drawing.Size(375, 265);
     this.layerGroupBox.TabIndex = 29;
     this.layerGroupBox.TabStop  = false;
     this.layerGroupBox.Text     = "Layers:";
     //
     // layerRichTextBox
     //
     this.layerRichTextBox.Location = new System.Drawing.Point(6, 19);
     this.layerRichTextBox.Name     = "layerRichTextBox";
     this.layerRichTextBox.ReadOnly = true;
     this.layerRichTextBox.Size     = new System.Drawing.Size(359, 232);
     this.layerRichTextBox.TabIndex = 2;
     this.layerRichTextBox.Text     = "";
     //
     // levelLabel
     //
     this.levelLabel.Location  = new System.Drawing.Point(13, 7);
     this.levelLabel.Name      = "levelLabel";
     this.levelLabel.Size      = new System.Drawing.Size(98, 23);
     this.levelLabel.TabIndex  = 27;
     this.levelLabel.Text      = "Level:";
     this.levelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // levelTextBox
     //
     this.levelTextBox.Location = new System.Drawing.Point(117, 8);
     this.levelTextBox.Name     = "levelTextBox";
     this.levelTextBox.ReadOnly = true;
     this.levelTextBox.Size     = new System.Drawing.Size(280, 20);
     this.levelTextBox.TabIndex = 24;
     //
     // typeNameTextBox
     //
     this.typeNameTextBox.Location = new System.Drawing.Point(117, 34);
     this.typeNameTextBox.Name     = "typeNameTextBox";
     this.typeNameTextBox.ReadOnly = true;
     this.typeNameTextBox.Size     = new System.Drawing.Size(280, 20);
     this.typeNameTextBox.TabIndex = 22;
     //
     // spanDirectionTextBox
     //
     this.spanDirectionTextBox.Location = new System.Drawing.Point(117, 60);
     this.spanDirectionTextBox.Name     = "spanDirectionTextBox";
     this.spanDirectionTextBox.ReadOnly = true;
     this.spanDirectionTextBox.Size     = new System.Drawing.Size(224, 20);
     this.spanDirectionTextBox.TabIndex = 23;
     //
     // typeNameLabel
     //
     this.typeNameLabel.Location  = new System.Drawing.Point(13, 34);
     this.typeNameLabel.Name      = "typeNameLabel";
     this.typeNameLabel.Size      = new System.Drawing.Size(98, 23);
     this.typeNameLabel.TabIndex  = 25;
     this.typeNameLabel.Text      = "Type Name:";
     this.typeNameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // spanDirectionLabel
     //
     this.spanDirectionLabel.Location  = new System.Drawing.Point(13, 60);
     this.spanDirectionLabel.Name      = "spanDirectionLabel";
     this.spanDirectionLabel.Size      = new System.Drawing.Size(98, 23);
     this.spanDirectionLabel.TabIndex  = 26;
     this.spanDirectionLabel.Text      = "Span Direction:";
     this.spanDirectionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // closeButton
     //
     this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.closeButton.Location     = new System.Drawing.Point(322, 367);
     this.closeButton.Name         = "closeButton";
     this.closeButton.Size         = new System.Drawing.Size(75, 23);
     this.closeButton.TabIndex     = 0;
     this.closeButton.Text         = "Close";
     this.closeButton.Click       += new System.EventHandler(this.closeButton_Click);
     //
     // degreeLabel
     //
     this.degreeLabel.Location  = new System.Drawing.Point(347, 59);
     this.degreeLabel.Name      = "degreeLabel";
     this.degreeLabel.Size      = new System.Drawing.Size(50, 23);
     this.degreeLabel.TabIndex  = 26;
     this.degreeLabel.Text      = "Degree";
     this.degreeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // SlabPropertiesForm
     //
     this.AcceptButton      = this.closeButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.closeButton;
     this.ClientSize        = new System.Drawing.Size(411, 402);
     this.Controls.Add(this.layerGroupBox);
     this.Controls.Add(this.levelLabel);
     this.Controls.Add(this.levelTextBox);
     this.Controls.Add(this.typeNameTextBox);
     this.Controls.Add(this.spanDirectionTextBox);
     this.Controls.Add(this.typeNameLabel);
     this.Controls.Add(this.degreeLabel);
     this.Controls.Add(this.spanDirectionLabel);
     this.Controls.Add(this.closeButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SlabPropertiesForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Slab Properties";
     this.Load           += new System.EventHandler(this.SlabPropertiesForm_Load);
     this.layerGroupBox.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.txtName           = new System.Windows.Forms.TextBox();
     this.lblName           = new System.Windows.Forms.Label();
     this.txtFileName       = new System.Windows.Forms.TextBox();
     this.tpImage           = new System.Windows.Forms.TabPage();
     this.cbCategory        = new System.Windows.Forms.ComboBox();
     this.lblCategory       = new System.Windows.Forms.Label();
     this.lblURL            = new System.Windows.Forms.Label();
     this.txtURL            = new System.Windows.Forms.TextBox();
     this.lblFileName       = new System.Windows.Forms.Label();
     this.txtHeight         = new System.Windows.Forms.TextBox();
     this.lblX              = new System.Windows.Forms.Label();
     this.txtWidth          = new System.Windows.Forms.TextBox();
     this.lblPixels         = new System.Windows.Forms.Label();
     this.chkThumbnail      = new System.Windows.Forms.CheckBox();
     this.gbRelatedInfo     = new System.Windows.Forms.GroupBox();
     this.cbThumbnailImage  = new System.Windows.Forms.ComboBox();
     this.lblThumbnailImage = new System.Windows.Forms.Label();
     this.cbTable           = new System.Windows.Forms.ComboBox();
     this.lblTable          = new System.Windows.Forms.Label();
     this.cbRecord          = new System.Windows.Forms.ComboBox();
     this.lblRecord         = new System.Windows.Forms.Label();
     this.gbCaption         = new System.Windows.Forms.GroupBox();
     this.rtfCaption        = new System.Windows.Forms.RichTextBox();
     ((System.ComponentModel.ISupportInitialize) this.sbpPosition).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpStatus).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpMessage).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpTime).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpEndBorder).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpFilter).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpMode).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.pbGeneral).BeginInit();
     this.gbGeneral.SuspendLayout();
     this.tcMain.SuspendLayout();
     this.tpGeneral.SuspendLayout();
     this.tpNotes.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize) this.pbGeneral2).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.epBase).BeginInit();
     this.gbRelatedInfo.SuspendLayout();
     this.gbCaption.SuspendLayout();
     this.SuspendLayout();
     //
     //btnLast
     //
     this.btnLast.Location = new System.Drawing.Point(639, 487);
     this.btnLast.TabIndex = 4;
     //
     //btnFirst
     //
     this.btnFirst.Location = new System.Drawing.Point(8, 487);
     this.btnFirst.TabIndex = 0;
     //
     //btnNext
     //
     this.btnNext.Location = new System.Drawing.Point(612, 487);
     this.btnNext.TabIndex = 3;
     //
     //btnPrev
     //
     this.btnPrev.Location = new System.Drawing.Point(36, 487);
     this.btnPrev.TabIndex = 1;
     //
     //sbpPosition
     //
     this.sbpPosition.Text  = "";
     this.sbpPosition.Width = 10;
     //
     //sbpStatus
     //
     this.sbpStatus.Text  = "Filter Off";
     this.sbpStatus.Width = 74;
     //
     //sbpMessage
     //
     this.sbpMessage.Text  = "";
     this.sbpMessage.Width = 474;
     //
     //sbpTime
     //
     this.sbpTime.Text  = "10:09 AM";
     this.sbpTime.Width = 80;
     //
     //lblID
     //
     this.lblID.Location = new System.Drawing.Point(12, 526);
     //
     //lblPurchased
     //
     this.lblPurchased.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.lblPurchased.Location = new System.Drawing.Point(20, 212);
     this.lblPurchased.TabIndex = 13;
     this.lblPurchased.Visible  = false;
     //
     //lblInventoried
     //
     this.lblInventoried.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.lblInventoried.Location = new System.Drawing.Point(256, 212);
     this.lblInventoried.TabIndex = 15;
     this.lblInventoried.Visible  = false;
     //
     //lblLocation
     //
     this.lblLocation.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.lblLocation.Location = new System.Drawing.Point(20, 216);
     this.lblLocation.TabIndex = 7;
     this.lblLocation.Visible  = false;
     //
     //lblAlphaSort
     //
     this.lblAlphaSort.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.lblAlphaSort.Location = new System.Drawing.Point(29, 132);
     this.lblAlphaSort.TabIndex = 13;
     this.lblAlphaSort.Visible  = false;
     //
     //lblPrice
     //
     this.lblPrice.Location = new System.Drawing.Point(252, 216);
     this.lblPrice.TabIndex = 9;
     this.lblPrice.Visible  = false;
     //
     //btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(508, 523);
     this.btnOK.TabIndex = 20;
     //
     //btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(589, 523);
     this.btnExit.TabIndex = 21;
     //
     //btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(589, 523);
     this.btnCancel.TabIndex = 22;
     //
     //sbStatus
     //
     this.sbStatus.Location = new System.Drawing.Point(0, 556);
     this.sbStatus.Size     = new System.Drawing.Size(676, 22);
     //
     //sbpFilter
     //
     this.sbpFilter.Text  = "";
     this.sbpFilter.Width = 10;
     //
     //sbpMode
     //
     this.sbpMode.Text  = "";
     this.sbpMode.Width = 10;
     //
     //chkWishList
     //
     this.chkWishList.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.chkWishList.Location = new System.Drawing.Point(484, 212);
     this.chkWishList.TabIndex = 17;
     this.chkWishList.Visible  = false;
     //
     //dtpPurchased
     //
     this.dtpPurchased.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.dtpPurchased.Location = new System.Drawing.Point(100, 212);
     this.dtpPurchased.TabIndex = 14;
     this.dtpPurchased.Visible  = false;
     //
     //dtpInventoried
     //
     this.dtpInventoried.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.dtpInventoried.Location = new System.Drawing.Point(340, 212);
     this.dtpInventoried.TabIndex = 16;
     this.dtpInventoried.Visible  = false;
     //
     //cbLocation
     //
     this.cbLocation.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.cbLocation.Location = new System.Drawing.Point(92, 212);
     this.cbLocation.Size     = new System.Drawing.Size(516, 24);
     this.cbLocation.TabIndex = 8;
     this.cbLocation.Visible  = false;
     //
     //txtAlphaSort
     //
     this.txtAlphaSort.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.txtAlphaSort.Location = new System.Drawing.Point(108, 212);
     this.txtAlphaSort.Size     = new System.Drawing.Size(512, 23);
     //
     //pbGeneral
     //
     this.pbGeneral.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.pbGeneral.Location = new System.Drawing.Point(616, 142);
     this.pbGeneral.Size     = new System.Drawing.Size(125, 67);
     this.pbGeneral.Visible  = false;
     //
     //txtCaption
     //
     this.txtCaption.Location = new System.Drawing.Point(64, 487);
     this.txtCaption.Size     = new System.Drawing.Size(544, 23);
     this.txtCaption.TabIndex = 2;
     //
     //txtID
     //
     this.txtID.Location = new System.Drawing.Point(40, 527);
     //
     //rtfNotes
     //
     this.rtfNotes.Size = new System.Drawing.Size(636, 233);
     this.ttBase.SetToolTip(this.rtfNotes, "Description of Class");
     //
     //txtPrice
     //
     this.txtPrice.Location = new System.Drawing.Point(296, 212);
     this.txtPrice.TabIndex = 10;
     this.txtPrice.Visible  = false;
     //
     //cbAlphaSort
     //
     this.cbAlphaSort.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.cbAlphaSort.Location = new System.Drawing.Point(108, 132);
     this.cbAlphaSort.Size     = new System.Drawing.Size(516, 24);
     this.cbAlphaSort.TabIndex = 14;
     this.ttBase.SetToolTip(this.cbAlphaSort, "AlphaSort");
     //
     //gbGeneral
     //
     this.gbGeneral.Controls.Add(this.lblPixels);
     this.gbGeneral.Controls.Add(this.txtWidth);
     this.gbGeneral.Controls.Add(this.lblX);
     this.gbGeneral.Controls.Add(this.txtHeight);
     this.gbGeneral.Controls.Add(this.lblFileName);
     this.gbGeneral.Controls.Add(this.txtName);
     this.gbGeneral.Controls.Add(this.lblURL);
     this.gbGeneral.Controls.Add(this.txtURL);
     this.gbGeneral.Controls.Add(this.lblCategory);
     this.gbGeneral.Controls.Add(this.txtFileName);
     this.gbGeneral.Controls.Add(this.lblName);
     this.gbGeneral.Controls.Add(this.gbCaption);
     this.gbGeneral.Controls.Add(this.gbRelatedInfo);
     this.gbGeneral.Controls.Add(this.chkThumbnail);
     this.gbGeneral.Controls.Add(this.cbCategory);
     this.gbGeneral.Size = new System.Drawing.Size(636, 403);
     this.gbGeneral.Controls.SetChildIndex(this.lblValue, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtValue, 0);
     this.gbGeneral.Controls.SetChildIndex(this.dtpVerified, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblVerified, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtAlphaSort, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblLocation, 0);
     this.gbGeneral.Controls.SetChildIndex(this.cbLocation, 0);
     this.gbGeneral.Controls.SetChildIndex(this.dtpInventoried, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblInventoried, 0);
     this.gbGeneral.Controls.SetChildIndex(this.dtpPurchased, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblPurchased, 0);
     this.gbGeneral.Controls.SetChildIndex(this.chkWishList, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblPrice, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtPrice, 0);
     this.gbGeneral.Controls.SetChildIndex(this.cbCategory, 0);
     this.gbGeneral.Controls.SetChildIndex(this.chkThumbnail, 0);
     this.gbGeneral.Controls.SetChildIndex(this.gbRelatedInfo, 0);
     this.gbGeneral.Controls.SetChildIndex(this.gbCaption, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblName, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtFileName, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblCategory, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtURL, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblURL, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtName, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblFileName, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtHeight, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblX, 0);
     this.gbGeneral.Controls.SetChildIndex(this.txtWidth, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblPixels, 0);
     this.gbGeneral.Controls.SetChildIndex(this.cbAlphaSort, 0);
     this.gbGeneral.Controls.SetChildIndex(this.lblAlphaSort, 0);
     this.gbGeneral.Controls.SetChildIndex(this.pbGeneral, 0);
     this.gbGeneral.Controls.SetChildIndex(this.hsbGeneral, 0);
     this.gbGeneral.Controls.SetChildIndex(this.pbGeneral2, 0);
     //
     //tcMain
     //
     this.tcMain.Controls.Add(this.tpImage);
     this.tcMain.Size = new System.Drawing.Size(656, 443);
     this.tcMain.Controls.SetChildIndex(this.tpImage, 0);
     this.tcMain.Controls.SetChildIndex(this.tpNotes, 0);
     this.tcMain.Controls.SetChildIndex(this.tpGeneral, 0);
     //
     //tpGeneral
     //
     this.tpGeneral.Size = new System.Drawing.Size(648, 414);
     //
     //tpNotes
     //
     this.tpNotes.Size = new System.Drawing.Size(656, 270);
     //
     //hsbGeneral
     //
     this.hsbGeneral.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.hsbGeneral.Location = new System.Drawing.Point(616, 214);
     this.hsbGeneral.Size     = new System.Drawing.Size(124, 17);
     this.hsbGeneral.Visible  = false;
     //
     //pbGeneral2
     //
     this.pbGeneral2.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left);
     this.pbGeneral2.Location = new System.Drawing.Point(616, 142);
     this.pbGeneral2.Size     = new System.Drawing.Size(125, 67);
     this.pbGeneral2.Visible  = false;
     //
     //dtpVerified
     //
     this.dtpVerified.Location = new System.Drawing.Point(176, 211);
     //
     //txtName
     //
     this.txtName.Anchor   = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.txtName.Location = new System.Drawing.Point(108, 20);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(496, 23);
     this.txtName.TabIndex = 1;
     this.txtName.Tag      = "Required";
     this.txtName.Text     = "txtName";
     this.ttBase.SetToolTip(this.txtName, "Image Name");
     //
     //lblName
     //
     this.lblName.AutoSize = true;
     this.lblName.Location = new System.Drawing.Point(56, 22);
     this.lblName.Name     = "lblName";
     this.lblName.Size     = new System.Drawing.Size(44, 16);
     this.lblName.TabIndex = 0;
     this.lblName.Text     = "Name";
     //
     //txtFileName
     //
     this.txtFileName.Anchor   = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.txtFileName.Location = new System.Drawing.Point(108, 48);
     this.txtFileName.Name     = "txtFileName";
     this.txtFileName.Size     = new System.Drawing.Size(228, 23);
     this.txtFileName.TabIndex = 3;
     this.txtFileName.TabStop  = false;
     this.txtFileName.Tag      = "";
     this.txtFileName.Text     = "txtFileName";
     this.ttBase.SetToolTip(this.txtFileName, "Filename of Image");
     //
     //tpImage
     //
     this.tpImage.Location = new System.Drawing.Point(4, 25);
     this.tpImage.Name     = "tpImage";
     this.tpImage.Size     = new System.Drawing.Size(656, 270);
     this.tpImage.TabIndex = 5;
     this.tpImage.Text     = "Image";
     //
     //cbCategory
     //
     this.cbCategory.Anchor   = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.cbCategory.Location = new System.Drawing.Point(108, 104);
     this.cbCategory.Name     = "cbCategory";
     this.cbCategory.Size     = new System.Drawing.Size(264, 24);
     this.cbCategory.TabIndex = 11;
     this.cbCategory.Tag      = "Required";
     this.cbCategory.Text     = "cbCategory";
     this.ttBase.SetToolTip(this.cbCategory, "Image Category");
     //
     //lblCategory
     //
     this.lblCategory.AutoSize = true;
     this.lblCategory.Location = new System.Drawing.Point(34, 107);
     this.lblCategory.Name     = "lblCategory";
     this.lblCategory.Size     = new System.Drawing.Size(68, 16);
     this.lblCategory.TabIndex = 10;
     this.lblCategory.Text     = "Category";
     //
     //lblURL
     //
     this.lblURL.AutoSize = true;
     this.lblURL.Location = new System.Drawing.Point(69, 79);
     this.lblURL.Name     = "lblURL";
     this.lblURL.Size     = new System.Drawing.Size(32, 16);
     this.lblURL.TabIndex = 8;
     this.lblURL.Text     = "URL";
     //
     //txtURL
     //
     this.txtURL.Anchor   = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.txtURL.Location = new System.Drawing.Point(108, 77);
     this.txtURL.Name     = "txtURL";
     this.txtURL.Size     = new System.Drawing.Size(496, 23);
     this.txtURL.TabIndex = 9;
     this.txtURL.Tag      = "";
     this.txtURL.Text     = "txtURL";
     this.ttBase.SetToolTip(this.txtURL, "Source URL of image");
     //
     //lblFileName
     //
     this.lblFileName.AutoSize = true;
     this.lblFileName.Location = new System.Drawing.Point(28, 50);
     this.lblFileName.Name     = "lblFileName";
     this.lblFileName.Size     = new System.Drawing.Size(71, 16);
     this.lblFileName.TabIndex = 2;
     this.lblFileName.Text     = "File Name";
     //
     //txtHeight
     //
     this.txtHeight.Anchor      = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.txtHeight.BackColor   = System.Drawing.SystemColors.Control;
     this.txtHeight.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtHeight.Enabled     = false;
     this.txtHeight.Location    = new System.Drawing.Point(432, 50);
     this.txtHeight.Name        = "txtHeight";
     this.txtHeight.Size        = new System.Drawing.Size(49, 16);
     this.txtHeight.TabIndex    = 4;
     this.txtHeight.TabStop     = false;
     this.txtHeight.Text        = "Height";
     this.txtHeight.TextAlign   = System.Windows.Forms.HorizontalAlignment.Left;
     this.ttBase.SetToolTip(this.txtHeight, "Image height in pixels");
     //
     //lblX
     //
     this.lblX.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.lblX.AutoSize = true;
     this.lblX.Location = new System.Drawing.Point(412, 50);
     this.lblX.Name     = "lblX";
     this.lblX.Size     = new System.Drawing.Size(15, 16);
     this.lblX.TabIndex = 5;
     this.lblX.Text     = "x";
     //
     //txtWidth
     //
     this.txtWidth.Anchor      = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.txtWidth.BackColor   = System.Drawing.SystemColors.Control;
     this.txtWidth.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtWidth.Enabled     = false;
     this.txtWidth.Location    = new System.Drawing.Point(356, 50);
     this.txtWidth.Name        = "txtWidth";
     this.txtWidth.Size        = new System.Drawing.Size(44, 16);
     this.txtWidth.TabIndex    = 6;
     this.txtWidth.TabStop     = false;
     this.txtWidth.Text        = "Width";
     this.txtWidth.TextAlign   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ttBase.SetToolTip(this.txtWidth, "Image width in pixels");
     //
     //lblPixels
     //
     this.lblPixels.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.lblPixels.AutoSize = true;
     this.lblPixels.Location = new System.Drawing.Point(480, 50);
     this.lblPixels.Name     = "lblPixels";
     this.lblPixels.Size     = new System.Drawing.Size(116, 16);
     this.lblPixels.TabIndex = 7;
     this.lblPixels.Text     = "(W x H in pixels)";
     //
     //chkThumbnail
     //
     this.chkThumbnail.Anchor     = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.chkThumbnail.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkThumbnail.Location   = new System.Drawing.Point(396, 104);
     this.chkThumbnail.Name       = "chkThumbnail";
     this.chkThumbnail.Size       = new System.Drawing.Size(104, 24);
     this.chkThumbnail.TabIndex   = 12;
     this.chkThumbnail.Text       = "Thumbnail?";
     this.ttBase.SetToolTip(this.chkThumbnail, "Is this image represent a thumbnail (tiny representation of the real image)?");
     //
     //gbRelatedInfo
     //
     this.gbRelatedInfo.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.gbRelatedInfo.Controls.Add(this.cbThumbnailImage);
     this.gbRelatedInfo.Controls.Add(this.lblThumbnailImage);
     this.gbRelatedInfo.Controls.Add(this.cbTable);
     this.gbRelatedInfo.Controls.Add(this.lblTable);
     this.gbRelatedInfo.Controls.Add(this.cbRecord);
     this.gbRelatedInfo.Controls.Add(this.lblRecord);
     this.gbRelatedInfo.Location = new System.Drawing.Point(8, 160);
     this.gbRelatedInfo.Name     = "gbRelatedInfo";
     this.gbRelatedInfo.Size     = new System.Drawing.Size(620, 88);
     this.gbRelatedInfo.TabIndex = 15;
     this.gbRelatedInfo.TabStop  = false;
     this.gbRelatedInfo.Text     = "Related Information";
     //
     //cbThumbnailImage
     //
     this.cbThumbnailImage.Anchor   = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.cbThumbnailImage.Location = new System.Drawing.Point(148, 60);
     this.cbThumbnailImage.Name     = "cbThumbnailImage";
     this.cbThumbnailImage.Size     = new System.Drawing.Size(448, 24);
     this.cbThumbnailImage.TabIndex = 5;
     this.cbThumbnailImage.Text     = "cbThumbnailImage";
     //
     //lblThumbnailImage
     //
     this.lblThumbnailImage.AutoSize = true;
     this.lblThumbnailImage.Location = new System.Drawing.Point(16, 60);
     this.lblThumbnailImage.Name     = "lblThumbnailImage";
     this.lblThumbnailImage.Size     = new System.Drawing.Size(119, 16);
     this.lblThumbnailImage.TabIndex = 4;
     this.lblThumbnailImage.Text     = "Thumbnail Image";
     //
     //cbTable
     //
     this.cbTable.Anchor        = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.cbTable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbTable.Location      = new System.Drawing.Point(88, 27);
     this.cbTable.Name          = "cbTable";
     this.cbTable.Size          = new System.Drawing.Size(236, 24);
     this.cbTable.TabIndex      = 1;
     //
     //lblTable
     //
     this.lblTable.AutoSize = true;
     this.lblTable.Location = new System.Drawing.Point(40, 27);
     this.lblTable.Name     = "lblTable";
     this.lblTable.Size     = new System.Drawing.Size(44, 16);
     this.lblTable.TabIndex = 0;
     this.lblTable.Text     = "Table";
     //
     //cbRecord
     //
     this.cbRecord.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.cbRecord.Location = new System.Drawing.Point(400, 27);
     this.cbRecord.Name     = "cbRecord";
     this.cbRecord.Size     = new System.Drawing.Size(196, 24);
     this.cbRecord.TabIndex = 3;
     //
     //lblRecord
     //
     this.lblRecord.AutoSize = true;
     this.lblRecord.Location = new System.Drawing.Point(344, 27);
     this.lblRecord.Name     = "lblRecord";
     this.lblRecord.Size     = new System.Drawing.Size(53, 16);
     this.lblRecord.TabIndex = 2;
     this.lblRecord.Text     = "Record";
     //
     //gbCaption
     //
     this.gbCaption.Anchor = (System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.gbCaption.Controls.Add(this.rtfCaption);
     this.gbCaption.Location = new System.Drawing.Point(8, 256);
     this.gbCaption.Name     = "gbCaption";
     this.gbCaption.Size     = new System.Drawing.Size(620, 144);
     this.gbCaption.TabIndex = 111;
     this.gbCaption.TabStop  = false;
     this.gbCaption.Text     = "Caption";
     //
     //rtfCaption
     //
     this.rtfCaption.Anchor   = (System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.rtfCaption.Location = new System.Drawing.Point(4, 20);
     this.rtfCaption.Name     = "rtfCaption";
     this.rtfCaption.Size     = new System.Drawing.Size(608, 120);
     this.rtfCaption.TabIndex = 0;
     this.rtfCaption.Text     = "rtfCaption";
     this.ttBase.SetToolTip(this.rtfCaption, "Image Caption");
     //
     //frmImages
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(676, 578);
     this.Name = "frmImages";
     this.Text = "frmImages";
     ((System.ComponentModel.ISupportInitialize) this.sbpPosition).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpStatus).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpMessage).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpTime).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpEndBorder).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpFilter).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.sbpMode).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.pbGeneral).EndInit();
     this.gbGeneral.ResumeLayout(false);
     this.gbGeneral.PerformLayout();
     this.tcMain.ResumeLayout(false);
     this.tpGeneral.ResumeLayout(false);
     this.tpNotes.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize) this.pbGeneral2).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.epBase).EndInit();
     this.gbRelatedInfo.ResumeLayout(false);
     this.gbRelatedInfo.PerformLayout();
     this.gbCaption.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this._outputTextBox   = new System.Windows.Forms.RichTextBox();
     this._verboseCheckBox = new System.Windows.Forms.CheckBox();
     this._mainToolTip     = new System.Windows.Forms.ToolTip(this.components);
     this.panelControl2    = new System.Windows.Forms.Panel();
     this._clearButton     = new System.Windows.Forms.Button();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.panelControl2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // _outputTextBox
     //
     this._outputTextBox.BackColor     = System.Drawing.SystemColors.Window;
     this._outputTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this._outputTextBox.Dock          = System.Windows.Forms.DockStyle.Fill;
     this._outputTextBox.Font          = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._outputTextBox.HideSelection = false;
     this._outputTextBox.Location      = new System.Drawing.Point(3, 16);
     this._outputTextBox.Name          = "_outputTextBox";
     this._outputTextBox.ReadOnly      = true;
     this._outputTextBox.ScrollBars    = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
     this._outputTextBox.Size          = new System.Drawing.Size(655, 327);
     this._outputTextBox.TabIndex      = 2;
     this._outputTextBox.Text          = "";
     //
     // _verboseCheckBox
     //
     this._verboseCheckBox.Checked    = true;
     this._verboseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this._verboseCheckBox.Location   = new System.Drawing.Point(84, 7);
     this._verboseCheckBox.Name       = "_verboseCheckBox";
     this._verboseCheckBox.Size       = new System.Drawing.Size(104, 19);
     this._verboseCheckBox.TabIndex   = 1;
     this._verboseCheckBox.Text       = "Verbose output";
     this._mainToolTip.SetToolTip(this._verboseCheckBox, "Check this option to show all messages.");
     //
     // panelControl2
     //
     this.panelControl2.Controls.Add(this._clearButton);
     this.panelControl2.Controls.Add(this._verboseCheckBox);
     this.panelControl2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl2.Location = new System.Drawing.Point(0, 0);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Size     = new System.Drawing.Size(661, 32);
     this.panelControl2.TabIndex = 3;
     //
     // _clearButton
     //
     this._clearButton.Location = new System.Drawing.Point(5, 4);
     this._clearButton.Name     = "_clearButton";
     this._clearButton.Size     = new System.Drawing.Size(54, 22);
     this._clearButton.TabIndex = 6;
     this._clearButton.Text     = "Clear";
     this._clearButton.UseVisualStyleBackColor = true;
     this._clearButton.Click += new System.EventHandler(this.btnClear_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this._outputTextBox);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location = new System.Drawing.Point(0, 32);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(661, 346);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Application log";
     //
     // ApplicationOutput
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.panelControl2);
     this.Name = "ApplicationOutput";
     this.Size = new System.Drawing.Size(661, 378);
     this.panelControl2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.richTextBox1        = new System.Windows.Forms.RichTextBox();
     this.contextMenuStripEx1 = new Syncfusion.Windows.Forms.Tools.ContextMenuStripEx();
     this.toolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem3  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem4  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem5  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem6  = new System.Windows.Forms.ToolStripMenuItem();
     this.label1       = new System.Windows.Forms.Label();
     this.panel1       = new System.Windows.Forms.Panel();
     this.panel2       = new System.Windows.Forms.Panel();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.comboBoxAdv2 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label3       = new System.Windows.Forms.Label();
     this.checkBoxAdv5 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.label2       = new System.Windows.Forms.Label();
     this.comboBoxAdv1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.checkBoxAdv4 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxAdv3 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxAdv2 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.panel3       = new System.Windows.Forms.Panel();
     this.contextMenuStripEx1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.ContextMenuStrip = this.contextMenuStripEx1;
     this.richTextBox1.Location         = new System.Drawing.Point(30, 18);
     this.richTextBox1.Name             = "richTextBox1";
     this.richTextBox1.Size             = new System.Drawing.Size(555, 615);
     this.richTextBox1.TabIndex         = 1;
     this.richTextBox1.Text             = resources.GetString("richTextBox1.Text");
     //
     // contextMenuStripEx1
     //
     this.contextMenuStripEx1.DropShadowEnabled = false;
     this.contextMenuStripEx1.ImageScalingSize  = new System.Drawing.Size(20, 20);
     this.contextMenuStripEx1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItem1,
         this.toolStripMenuItem2,
         this.toolStripMenuItem3,
         this.toolStripSeparator1,
         this.toolStripMenuItem4,
         this.toolStripMenuItem5,
         this.toolStripSeparator2,
         this.toolStripMenuItem6
     });
     this.contextMenuStripEx1.MetroColor       = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(236)))), ((int)(((byte)(249)))));
     this.contextMenuStripEx1.Name             = "contextMenuStripEx1";
     this.contextMenuStripEx1.ShowItemToolTips = false;
     this.contextMenuStripEx1.Size             = new System.Drawing.Size(189, 160);
     this.contextMenuStripEx1.Style            = Syncfusion.Windows.Forms.Tools.ContextMenuStripEx.ContextMenuStyle.Metro;
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name        = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem1.Text        = "Cut";
     this.toolStripMenuItem1.ToolTipText = "Remove the selection and put it on the Clipboard so you can paste it somewhere el" +
                                           "se.";
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name        = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem2.Text        = "Copy";
     this.toolStripMenuItem2.ToolTipText = "Put a copy of the selection on the Clipboard so you can paste it somewhere else.";
     //
     // toolStripMenuItem3
     //
     this.toolStripMenuItem3.Name        = "toolStripMenuItem3";
     this.toolStripMenuItem3.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem3.Text        = "Paste                   ";
     this.toolStripMenuItem3.ToolTipText = "Pick a paste option such as keeping formatting or pasting only content.";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(185, 6);
     //
     // toolStripMenuItem4
     //
     this.toolStripMenuItem4.Name        = "toolStripMenuItem4";
     this.toolStripMenuItem4.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem4.Text        = "Undo";
     this.toolStripMenuItem4.ToolTipText = "To reverse your last action, just click the Undo option.";
     //
     // toolStripMenuItem5
     //
     this.toolStripMenuItem5.Name        = "toolStripMenuItem5";
     this.toolStripMenuItem5.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem5.Text        = "Redo";
     this.toolStripMenuItem5.ToolTipText = "To reverse your last Undo, just click the Redo option.";
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(185, 6);
     //
     // toolStripMenuItem6
     //
     this.toolStripMenuItem6.Name        = "toolStripMenuItem6";
     this.toolStripMenuItem6.Size        = new System.Drawing.Size(188, 24);
     this.toolStripMenuItem6.Text        = "Exit";
     this.toolStripMenuItem6.ToolTipText = "Close the current context menu and back into the application.";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(6, 2);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(870, 60);
     this.label1.TabIndex = 0;
     this.label1.Text     = "This sample illustrates the additional features of ContextMenuStripEx such as auto close, tooltip, check/uncheck state, enable/disable menu items, RTL and appearance customization.";
     this.label1.AutoSize = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(2, 2);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(878, 45);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.groupBox1);
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Controls.Add(this.richTextBox1);
     this.panel2.Location = new System.Drawing.Point(2, 50);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(878, 656);
     this.panel2.TabIndex = 1;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.comboBoxAdv2);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.checkBoxAdv5);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.comboBoxAdv1);
     this.groupBox1.Controls.Add(this.checkBoxAdv4);
     this.groupBox1.Controls.Add(this.checkBoxAdv3);
     this.groupBox1.Controls.Add(this.checkBoxAdv2);
     this.groupBox1.Controls.Add(this.checkBoxAdv1);
     this.groupBox1.Location = new System.Drawing.Point(606, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(255, 625);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Options";
     //
     // comboBoxAdv2
     //
     this.comboBoxAdv2.BeforeTouchSize = new System.Drawing.Size(148, 29);
     this.comboBoxAdv2.Location        = new System.Drawing.Point(34, 330);
     this.comboBoxAdv2.Name            = "comboBoxAdv2";
     this.comboBoxAdv2.Size            = new System.Drawing.Size(148, 29);
     this.comboBoxAdv2.TabIndex        = 8;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(30, 310);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(148, 23);
     this.label3.TabIndex = 7;
     this.label3.Text     = "Background Color";
     //
     // checkBoxAdv5
     //
     this.checkBoxAdv5.BeforeTouchSize   = new System.Drawing.Size(150, 25);
     this.checkBoxAdv5.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.checkBoxAdv5.Location          = new System.Drawing.Point(30, 190);
     this.checkBoxAdv5.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv5.Name          = "checkBoxAdv5";
     this.checkBoxAdv5.Size          = new System.Drawing.Size(150, 40);
     this.checkBoxAdv5.TabIndex      = 6;
     this.checkBoxAdv5.Text          = "Enable RTL";
     this.checkBoxAdv5.ThemesEnabled = false;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(30, 250);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(146, 23);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Foreground Color";
     //
     // comboBoxAdv1
     //
     this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(148, 29);
     this.comboBoxAdv1.Location        = new System.Drawing.Point(34, 270);
     this.comboBoxAdv1.Name            = "comboBoxAdv1";
     this.comboBoxAdv1.Size            = new System.Drawing.Size(148, 29);
     this.comboBoxAdv1.TabIndex        = 4;
     //
     // checkBoxAdv4
     //
     this.checkBoxAdv4.BeforeTouchSize   = new System.Drawing.Size(150, 40);
     this.checkBoxAdv4.Checked           = true;
     this.checkBoxAdv4.CheckState        = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAdv4.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.checkBoxAdv4.Location          = new System.Drawing.Point(30, 110);
     this.checkBoxAdv4.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv4.Name          = "checkBoxAdv4";
     this.checkBoxAdv4.Size          = new System.Drawing.Size(150, 40);
     this.checkBoxAdv4.TabIndex      = 3;
     this.checkBoxAdv4.Text          = "Enable Menu Items";
     this.checkBoxAdv4.ThemesEnabled = false;
     //
     // checkBoxAdv3
     //
     this.checkBoxAdv3.BeforeTouchSize   = new System.Drawing.Size(150, 40);
     this.checkBoxAdv3.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.checkBoxAdv3.Location          = new System.Drawing.Point(30, 150);
     this.checkBoxAdv3.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv3.Name          = "checkBoxAdv3";
     this.checkBoxAdv3.Size          = new System.Drawing.Size(150, 40);
     this.checkBoxAdv3.TabIndex      = 2;
     this.checkBoxAdv3.Text          = "Enable Check State";
     this.checkBoxAdv3.ThemesEnabled = false;
     //
     // checkBoxAdv2
     //
     this.checkBoxAdv2.BeforeTouchSize   = new System.Drawing.Size(150, 40);
     this.checkBoxAdv2.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.checkBoxAdv2.Location          = new System.Drawing.Point(30, 70);
     this.checkBoxAdv2.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv2.Name          = "checkBoxAdv2";
     this.checkBoxAdv2.Size          = new System.Drawing.Size(150, 40);
     this.checkBoxAdv2.TabIndex      = 1;
     this.checkBoxAdv2.Text          = "Show Tooltip";
     this.checkBoxAdv2.ThemesEnabled = false;
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.BeforeTouchSize   = new System.Drawing.Size(150, 40);
     this.checkBoxAdv1.Checked           = true;
     this.checkBoxAdv1.CheckState        = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAdv1.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.checkBoxAdv1.Location          = new System.Drawing.Point(30, 30);
     this.checkBoxAdv1.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv1.Name          = "checkBoxAdv1";
     this.checkBoxAdv1.Size          = new System.Drawing.Size(150, 40);
     this.checkBoxAdv1.TabIndex      = 0;
     this.checkBoxAdv1.Text          = "Auto Close";
     this.checkBoxAdv1.ThemesEnabled = false;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
     this.panel3.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location  = new System.Drawing.Point(0, 0);
     this.panel3.Name      = "panel3";
     this.panel3.Size      = new System.Drawing.Size(878, 2);
     this.panel3.TabIndex  = 2;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(882, 677);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel2);
     this.Font          = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Margin        = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(885, 740);
     this.MinimumSize   = new System.Drawing.Size(885, 740);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Customization Demo";
     this.contextMenuStripEx1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.buttonClose          = new System.Windows.Forms.Button();
     this.buttonSendMessage    = new System.Windows.Forms.Button();
     this.richTextTxName       = new System.Windows.Forms.RichTextBox();
     this.textBoxConnectStatus = new System.Windows.Forms.TextBox();
     this.label4                      = new System.Windows.Forms.Label();
     this.richTextRxMessage           = new System.Windows.Forms.RichTextBox();
     this.textBoxPort                 = new System.Windows.Forms.TextBox();
     this.buttonConnect               = new System.Windows.Forms.Button();
     this.label5                      = new System.Windows.Forms.Label();
     this.textBoxIP                   = new System.Windows.Forms.TextBox();
     this.buttonDisconnect            = new System.Windows.Forms.Button();
     this.label1                      = new System.Windows.Forms.Label();
     this.label2                      = new System.Windows.Forms.Label();
     this.label3                      = new System.Windows.Forms.Label();
     this.label6                      = new System.Windows.Forms.Label();
     this.label7                      = new System.Windows.Forms.Label();
     this.richTextBoxHistoryResponses = new System.Windows.Forms.RichTextBox();
     this.label8                      = new System.Windows.Forms.Label();
     this.richTextBoxHistroryRequests = new System.Windows.Forms.RichTextBox();
     this.button1                     = new System.Windows.Forms.Button();
     this.button2                     = new System.Windows.Forms.Button();
     this.button3                     = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // buttonClose
     //
     this.buttonClose.Location = new System.Drawing.Point(400, 421);
     this.buttonClose.Name     = "buttonClose";
     this.buttonClose.Size     = new System.Drawing.Size(104, 24);
     this.buttonClose.TabIndex = 11;
     this.buttonClose.Text     = "Close";
     this.buttonClose.Click   += new System.EventHandler(this.ButtonCloseClick);
     //
     // buttonSendMessage
     //
     this.buttonSendMessage.Location = new System.Drawing.Point(8, 184);
     this.buttonSendMessage.Name     = "buttonSendMessage";
     this.buttonSendMessage.Size     = new System.Drawing.Size(152, 24);
     this.buttonSendMessage.TabIndex = 14;
     this.buttonSendMessage.Text     = "Send Request";
     this.buttonSendMessage.Click   += new System.EventHandler(this.ButtonSendMessageClick);
     //
     // richTextTxName
     //
     this.richTextTxName.Location = new System.Drawing.Point(8, 131);
     this.richTextTxName.Name     = "richTextTxName";
     this.richTextTxName.Size     = new System.Drawing.Size(152, 29);
     this.richTextTxName.TabIndex = 2;
     this.richTextTxName.Text     = "";
     //
     // textBoxConnectStatus
     //
     this.textBoxConnectStatus.BackColor   = System.Drawing.SystemColors.Control;
     this.textBoxConnectStatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBoxConnectStatus.ForeColor   = System.Drawing.SystemColors.HotTrack;
     this.textBoxConnectStatus.Location    = new System.Drawing.Point(128, 429);
     this.textBoxConnectStatus.Name        = "textBoxConnectStatus";
     this.textBoxConnectStatus.ReadOnly    = true;
     this.textBoxConnectStatus.Size        = new System.Drawing.Size(240, 13);
     this.textBoxConnectStatus.TabIndex    = 10;
     this.textBoxConnectStatus.Text        = "Not Connected";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 64);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(120, 16);
     this.label4.TabIndex = 9;
     this.label4.Text     = "Message To Server";
     //
     // richTextRxMessage
     //
     this.richTextRxMessage.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.richTextRxMessage.Location  = new System.Drawing.Point(331, 80);
     this.richTextRxMessage.Name      = "richTextRxMessage";
     this.richTextRxMessage.ReadOnly  = true;
     this.richTextRxMessage.Size      = new System.Drawing.Size(233, 128);
     this.richTextRxMessage.TabIndex  = 1;
     this.richTextRxMessage.Text      = "";
     //
     // textBoxPort
     //
     this.textBoxPort.Location = new System.Drawing.Point(112, 31);
     this.textBoxPort.Name     = "textBoxPort";
     this.textBoxPort.Size     = new System.Drawing.Size(48, 20);
     this.textBoxPort.TabIndex = 6;
     this.textBoxPort.Text     = "8000";
     //
     // buttonConnect
     //
     this.buttonConnect.BackColor = System.Drawing.SystemColors.HotTrack;
     this.buttonConnect.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonConnect.ForeColor = System.Drawing.Color.Yellow;
     this.buttonConnect.Location  = new System.Drawing.Point(344, 8);
     this.buttonConnect.Name      = "buttonConnect";
     this.buttonConnect.Size      = new System.Drawing.Size(72, 48);
     this.buttonConnect.TabIndex  = 7;
     this.buttonConnect.Text      = "Connect To Server";
     this.buttonConnect.UseVisualStyleBackColor = false;
     this.buttonConnect.Click += new System.EventHandler(this.ButtonConnectClick);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(0, 429);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(104, 16);
     this.label5.TabIndex = 13;
     this.label5.Text     = "Connection Status";
     //
     // textBoxIP
     //
     this.textBoxIP.Location = new System.Drawing.Point(112, 8);
     this.textBoxIP.Name     = "textBoxIP";
     this.textBoxIP.Size     = new System.Drawing.Size(152, 20);
     this.textBoxIP.TabIndex = 3;
     //
     // buttonDisconnect
     //
     this.buttonDisconnect.BackColor = System.Drawing.Color.Red;
     this.buttonDisconnect.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonDisconnect.ForeColor = System.Drawing.Color.Yellow;
     this.buttonDisconnect.Location  = new System.Drawing.Point(432, 8);
     this.buttonDisconnect.Name      = "buttonDisconnect";
     this.buttonDisconnect.Size      = new System.Drawing.Size(72, 48);
     this.buttonDisconnect.TabIndex  = 15;
     this.buttonDisconnect.Text      = "Disconnet From Server";
     this.buttonDisconnect.UseVisualStyleBackColor = false;
     this.buttonDisconnect.Click += new System.EventHandler(this.ButtonDisconnectClick);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 16);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Server IP Address";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 33);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 16);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Server Port";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(328, 59);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(192, 16);
     this.label3.TabIndex = 8;
     this.label3.Text     = "Message From Server";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(12, 94);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(161, 25);
     this.label6.TabIndex = 16;
     this.label6.Text     = "Name of the Requested Event";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(331, 235);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(233, 19);
     this.label7.TabIndex = 18;
     this.label7.Text     = "History of Responses From Broker";
     //
     // richTextBoxHistoryResponses
     //
     this.richTextBoxHistoryResponses.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.richTextBoxHistoryResponses.Location  = new System.Drawing.Point(331, 257);
     this.richTextBoxHistoryResponses.Name      = "richTextBoxHistoryResponses";
     this.richTextBoxHistoryResponses.ReadOnly  = true;
     this.richTextBoxHistoryResponses.Size      = new System.Drawing.Size(233, 128);
     this.richTextBoxHistoryResponses.TabIndex  = 17;
     this.richTextBoxHistoryResponses.Text      = "";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 235);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(211, 19);
     this.label8.TabIndex = 20;
     this.label8.Text     = "History of Requests to Broker";
     //
     // richTextBoxHistroryRequests
     //
     this.richTextBoxHistroryRequests.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
     this.richTextBoxHistroryRequests.Location  = new System.Drawing.Point(8, 257);
     this.richTextBoxHistroryRequests.Name      = "richTextBoxHistroryRequests";
     this.richTextBoxHistroryRequests.ReadOnly  = true;
     this.richTextBoxHistroryRequests.Size      = new System.Drawing.Size(211, 128);
     this.richTextBoxHistroryRequests.TabIndex  = 19;
     this.richTextBoxHistroryRequests.Text      = "";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(171, 109);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(66, 43);
     this.button1.TabIndex = 14;
     this.button1.Text     = "Subscr";
     this.button1.Click   += new System.EventHandler(this.ButtonSendSubscribeMessage);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(171, 158);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(66, 43);
     this.button2.TabIndex = 14;
     this.button2.Text     = "Pub";
     this.button2.Click   += new System.EventHandler(this.ButtonSendPublishMessage);
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button3.Location  = new System.Drawing.Point(243, 109);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(66, 43);
     this.button3.TabIndex  = 14;
     this.button3.Text      = "UnSubscr";
     this.button3.Click    += new System.EventHandler(this.ButtonSendUnSubscribeMessage);
     //
     // SocketClient
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(631, 492);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.richTextBoxHistroryRequests);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.richTextBoxHistoryResponses);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.buttonDisconnect);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.buttonSendMessage);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.buttonClose);
     this.Controls.Add(this.textBoxConnectStatus);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.buttonConnect);
     this.Controls.Add(this.textBoxPort);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textBoxIP);
     this.Controls.Add(this.richTextTxName);
     this.Controls.Add(this.richTextRxMessage);
     this.Name  = "SocketClient";
     this.Text  = "Subscriber";
     this.Load += new System.EventHandler(this.SocketClient_Load);
     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.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
            System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(editForm));
            this.richTextBox1         = new System.Windows.Forms.RichTextBox();
            this.panel1               = new System.Windows.Forms.Panel();
            this.button1              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button2              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.opnFileDlg           = new System.Windows.Forms.OpenFileDialog();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1            = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "HTMLUIEditor");
            this.parentBarItem2  = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem1  = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem4        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // richTextBox1
            //
            this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                              | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.richTextBox1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.richTextBox1.Location = new System.Drawing.Point(5, 43);
            this.richTextBox1.Name     = "richTextBox1";
            this.richTextBox1.Size     = new System.Drawing.Size(376, 223);
            this.richTextBox1.TabIndex = 0;
            this.richTextBox1.Text     = "";
            //
            // panel1
            //
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.button2);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(10, 273);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(368, 48);
            this.panel1.TabIndex = 1;
            //
            // button1
            //
            this.button1.Appearance              = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button1.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button1.BeforeTouchSize         = new System.Drawing.Size(64, 24);
            this.button1.DialogResult            = System.Windows.Forms.DialogResult.OK;
            this.button1.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor               = System.Drawing.Color.Black;
            this.button1.IsBackStageButton       = false;
            this.button1.Location                = new System.Drawing.Point(64, 8);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new System.Drawing.Size(64, 24);
            this.button1.TabIndex                = 0;
            this.button1.Text                    = "OK";
            this.button1.UseVisualStyleBackColor = false;
            //
            // button2
            //
            this.button2.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button2.Appearance              = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button2.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button2.BeforeTouchSize         = new System.Drawing.Size(64, 24);
            this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.button2.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor               = System.Drawing.Color.Black;
            this.button2.IsBackStageButton       = false;
            this.button2.Location                = new System.Drawing.Point(216, 8);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new System.Drawing.Size(64, 24);
            this.button2.TabIndex                = 1;
            this.button2.Text                    = "Cancel";
            this.button2.UseVisualStyleBackColor = false;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Edit");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.barItem1,
                this.barItem2,
                this.parentBarItem1,
                this.barItem3,
                this.barItem4
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "HTMLUIEditor";
            this.bar1.Caption = "HTMLUIEditor";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.parentBarItem1
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "File";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text       = "File";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Open New File";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Open New File";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Exit Edit Form";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Exit Edit Form";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 1;
            this.parentBarItem1.ID            = "Edit";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem4,
                this.barItem3
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text       = "Edit";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 1;
            this.barItem4.ID                 = "Select All";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Select All";
            this.barItem4.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 1;
            this.barItem3.ID                 = "Clear All";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Clear All";
            this.barItem3.Click             += new System.EventHandler(this.menuItem6_Click);
            //
            // scrollersFrame1
            //
            this.scrollersFrame1.AttachedTo            = this.richTextBox1;
            this.scrollersFrame1.CustomRender          = null;
            this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
            metroColorTable1.ArrowChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
            metroColorTable1.ArrowNormal               = System.Drawing.Color.White;
            metroColorTable1.ArrowNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
            metroColorTable1.ArrowPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
            metroColorTable1.ScrollerBackground        = System.Drawing.Color.White;
            metroColorTable1.ThumbChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
            metroColorTable1.ThumbNormal               = System.Drawing.Color.White;
            metroColorTable1.ThumbNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
            metroColorTable1.ThumbPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
            this.scrollersFrame1.ScrollMetroColorTable = metroColorTable1;
            this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
            this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            //
            // editForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.ClientSize        = new System.Drawing.Size(388, 331);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.richTextBox1);
            this.DropShadow    = true;
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MetroColor    = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.Name          = "editForm";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Editor";
            this.Load         += new System.EventHandler(this.Form2_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Example #50
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.mbuttonOK          = new System.Windows.Forms.Button();
     this.label2             = new System.Windows.Forms.Label();
     this.mlinkLabelDownload = new System.Windows.Forms.LinkLabel();
     this.richTextBox1       = new System.Windows.Forms.RichTextBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(662, 40);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "About MTDB Creator";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // mbuttonOK
     //
     this.mbuttonOK.Anchor    = System.Windows.Forms.AnchorStyles.Bottom;
     this.mbuttonOK.BackColor = System.Drawing.Color.White;
     this.mbuttonOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.mbuttonOK.Font      = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mbuttonOK.ForeColor = System.Drawing.Color.Black;
     this.mbuttonOK.Location  = new System.Drawing.Point(278, 495);
     this.mbuttonOK.Name      = "mbuttonOK";
     this.mbuttonOK.Size      = new System.Drawing.Size(113, 41);
     this.mbuttonOK.TabIndex  = 3;
     this.mbuttonOK.Text      = "OK";
     this.mbuttonOK.UseVisualStyleBackColor = false;
     this.mbuttonOK.Click += new System.EventHandler(this.mbuttonOK_Click);
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(12, 457);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(256, 32);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Download Latest version from: ";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mlinkLabelDownload
     //
     this.mlinkLabelDownload.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mlinkLabelDownload.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mlinkLabelDownload.Location  = new System.Drawing.Point(274, 457);
     this.mlinkLabelDownload.Name      = "mlinkLabelDownload";
     this.mlinkLabelDownload.Size      = new System.Drawing.Size(280, 32);
     this.mlinkLabelDownload.TabIndex  = 5;
     this.mlinkLabelDownload.TabStop   = true;
     this.mlinkLabelDownload.Text      = "http://omics.pnl.gov/software";
     this.mlinkLabelDownload.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.Location    = new System.Drawing.Point(8, 43);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(642, 422);
     this.richTextBox1.TabIndex    = 6;
     this.richTextBox1.Text        = "";
     //
     // frmAbout
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(662, 548);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.mlinkLabelDownload);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.mbuttonOK);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "frmAbout";
     this.Text            = "About ";
     this.ResumeLayout(false);
 }
Example #51
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmExportToRtf));
     this.richTextBox1   = new System.Windows.Forms.RichTextBox();
     this.toolBar1       = new System.Windows.Forms.ToolBar();
     this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.tbPrint        = new System.Windows.Forms.ToolBarButton();
     this.tbOut          = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.tbExit         = new System.Windows.Forms.ToolBarButton();
     this.imageList1     = new System.Windows.Forms.ImageList(this.components);
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.Location    = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(800, 1000);
     this.richTextBox1.TabIndex    = 0;
     this.richTextBox1.Text        = "";
     this.richTextBox1.WordWrap    = false;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton3,
         this.toolBarButton2,
         this.tbPrint,
         this.tbOut,
         this.toolBarButton1,
         this.tbExit
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(576, 41);
     this.toolBar1.TabIndex       = 1;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButton3
     //
     this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton2
     //
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbPrint
     //
     this.tbPrint.ImageIndex = 0;
     this.tbPrint.Text       = "打印";
     //
     // tbOut
     //
     this.tbOut.ImageIndex = 2;
     this.tbOut.Text       = "Word";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbExit
     //
     this.tbExit.ImageIndex = 1;
     this.tbExit.Text       = "退出";
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // panel1
     //
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.richTextBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 41);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(576, 468);
     this.panel1.TabIndex = 2;
     //
     // frmExportToRtf
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(576, 509);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolBar1);
     this.Name  = "frmExportToRtf";
     this.Text  = "输出方式1";
     this.Load += new System.EventHandler(this.frmExportToRtf_Load);
     this.panel1.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.label8       = new System.Windows.Forms.Label();
     this.label9       = new System.Windows.Forms.Label();
     this.button1      = new System.Windows.Forms.Button();
     this.comboBox1    = new System.Windows.Forms.ComboBox();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.button2      = new System.Windows.Forms.Button();
     this.checkBox1    = new System.Windows.Forms.CheckBox();
     this.button3      = new System.Windows.Forms.Button();
     this.checkBox2    = new System.Windows.Forms.CheckBox();
     this.checkBox3    = new System.Windows.Forms.CheckBox();
     this.checkBox4    = new System.Windows.Forms.CheckBox();
     this.richTextBox2 = new System.Windows.Forms.RichTextBox();
     this.checkBox5    = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(0, 0);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(304, 23);
     this.label8.TabIndex  = 4;
     this.label8.Text      = "label8";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(0, 24);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(304, 16);
     this.label9.TabIndex  = 4;
     this.label9.Text      = "label9";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // button1
     //
     this.button1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Location = new System.Drawing.Point(392, 56);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(40, 20);
     this.button1.TabIndex = 2;
     this.button1.Text     = "Send";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.comboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboBox1.Location           = new System.Drawing.Point(8, 56);
     this.comboBox1.Name      = "comboBox1";
     this.comboBox1.Size      = new System.Drawing.Size(376, 21);
     this.comboBox1.TabIndex  = 0;
     this.comboBox1.Text      = "comboBox1";
     this.comboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox1_KeyPress);
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox1.BackColor    = System.Drawing.SystemColors.Control;
     this.richTextBox1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.richTextBox1.Location     = new System.Drawing.Point(8, 96);
     this.richTextBox1.Name         = "richTextBox1";
     this.richTextBox1.ReadOnly     = true;
     this.richTextBox1.Size         = new System.Drawing.Size(424, 280);
     this.richTextBox1.TabIndex     = 4;
     this.richTextBox1.Text         = "richTextBox1";
     this.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.richTextBox1_LinkClicked);
     //
     // button2
     //
     this.button2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Location = new System.Drawing.Point(392, 80);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(40, 16);
     this.button2.TabIndex = 3;
     this.button2.Text     = "clear";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // checkBox1
     //
     this.checkBox1.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox1.Location        = new System.Drawing.Point(336, 32);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(96, 16);
     this.checkBox1.TabIndex        = 9;
     this.checkBox1.Text            = "autocomplete";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // button3
     //
     this.button3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.Location = new System.Drawing.Point(176, 32);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(80, 16);
     this.button3.TabIndex = 10;
     this.button3.Text     = "clear history";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // checkBox2
     //
     this.checkBox2.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox2.AutoSize   = true;
     this.checkBox2.Checked    = true;
     this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.Location   = new System.Drawing.Point(239, 78);
     this.checkBox2.Name       = "checkBox2";
     this.checkBox2.Size       = new System.Drawing.Size(66, 17);
     this.checkBox2.TabIndex   = 11;
     this.checkBox2.Text       = "filter adc";
     this.checkBox2.UseVisualStyleBackColor = true;
     //
     // checkBox3
     //
     this.checkBox3.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox3.AutoSize   = true;
     this.checkBox3.Checked    = true;
     this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.Location   = new System.Drawing.Point(311, 78);
     this.checkBox3.Name       = "checkBox3";
     this.checkBox3.Size       = new System.Drawing.Size(67, 17);
     this.checkBox3.TabIndex   = 12;
     this.checkBox3.Text       = "filter wsp";
     this.checkBox3.UseVisualStyleBackColor = true;
     //
     // checkBox4
     //
     this.checkBox4.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox4.Location        = new System.Drawing.Point(262, 32);
     this.checkBox4.Name            = "checkBox4";
     this.checkBox4.Size            = new System.Drawing.Size(68, 18);
     this.checkBox4.TabIndex        = 15;
     this.checkBox4.Text            = "multiline";
     this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // richTextBox2
     //
     this.richTextBox2.AcceptsTab = true;
     this.richTextBox2.Anchor     = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox2.Location = new System.Drawing.Point(8, 57);
     this.richTextBox2.Name     = "richTextBox2";
     this.richTextBox2.Size     = new System.Drawing.Size(375, 154);
     this.richTextBox2.TabIndex = 1;
     this.richTextBox2.Text     = "";
     this.richTextBox2.Visible  = false;
     //
     // checkBox5
     //
     this.checkBox5.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox5.AutoSize   = true;
     this.checkBox5.Checked    = true;
     this.checkBox5.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox5.Location   = new System.Drawing.Point(121, 78);
     this.checkBox5.Name       = "checkBox5";
     this.checkBox5.Size       = new System.Drawing.Size(112, 17);
     this.checkBox5.TabIndex   = 16;
     this.checkBox5.Text       = "filter sbmdebugger";
     this.checkBox5.UseVisualStyleBackColor = true;
     //
     // Form1
     //
     this.AcceptButton      = this.button1;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 382);
     this.Controls.Add(this.checkBox5);
     this.Controls.Add(this.checkBox4);
     this.Controls.Add(this.checkBox3);
     this.Controls.Add(this.checkBox2);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.richTextBox2);
     this.Name = "Form1";
     this.Text = "VHMsg Sender Util C#";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.rtbText                  = new System.Windows.Forms.RichTextBox();
     this.lblText                  = new System.Windows.Forms.Label();
     this.txtRegEx                 = new System.Windows.Forms.TextBox();
     this.lblRegEx                 = new System.Windows.Forms.Label();
     this.lvResult                 = new System.Windows.Forms.ListView();
     this.chMatch                  = new System.Windows.Forms.ColumnHeader();
     this.chPosition               = new System.Windows.Forms.ColumnHeader();
     this.chLength                 = new System.Windows.Forms.ColumnHeader();
     this.statusBar1               = new System.Windows.Forms.StatusBar();
     this.sbpInfo                  = new System.Windows.Forms.StatusBarPanel();
     this.sbpMatchCount            = new System.Windows.Forms.StatusBarPanel();
     this.label1                   = new System.Windows.Forms.Label();
     this.txtReplace               = new System.Windows.Forms.TextBox();
     this.rtxtOutput               = new System.Windows.Forms.RichTextBox();
     this.tabControl1              = new System.Windows.Forms.TabControl();
     this.tabPage1                 = new System.Windows.Forms.TabPage();
     this.tabPage2                 = new System.Windows.Forms.TabPage();
     this.splitContainer1          = new System.Windows.Forms.SplitContainer();
     this.label2                   = new System.Windows.Forms.Label();
     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.toolStripMenuItem1       = new System.Windows.Forms.ToolStripSeparator();
     this.saveToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.saveAsToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2       = new System.Windows.Forms.ToolStripSeparator();
     this.exitToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuIgnore                = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuMultiLine             = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuReplace               = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuTest                  = new System.Windows.Forms.ToolStripMenuItem();
     this.openFileDialog1          = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1          = new System.Windows.Forms.SaveFileDialog();
     this.splitContainer2          = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.sbpInfo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbpMatchCount)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.menuStrip1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // rtbText
     //
     this.rtbText.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.rtbText.HideSelection = false;
     this.rtbText.Location      = new System.Drawing.Point(0, 16);
     this.rtbText.Name          = "rtbText";
     this.rtbText.Size          = new System.Drawing.Size(584, 107);
     this.rtbText.TabIndex      = 8;
     this.rtbText.Text          = "";
     this.rtbText.WordWrap      = false;
     this.rtbText.TextChanged  += new System.EventHandler(this.rtbText_TextChanged);
     //
     // lblText
     //
     this.lblText.Dock     = System.Windows.Forms.DockStyle.Top;
     this.lblText.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblText.Location = new System.Drawing.Point(0, 0);
     this.lblText.Name     = "lblText";
     this.lblText.Size     = new System.Drawing.Size(584, 16);
     this.lblText.TabIndex = 7;
     this.lblText.Text     = "Text";
     //
     // txtRegEx
     //
     this.txtRegEx.AcceptsReturn = true;
     this.txtRegEx.AcceptsTab    = true;
     this.txtRegEx.AllowDrop     = true;
     this.txtRegEx.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.txtRegEx.Font          = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtRegEx.HideSelection = false;
     this.txtRegEx.Location      = new System.Drawing.Point(0, 17);
     this.txtRegEx.Multiline     = true;
     this.txtRegEx.Name          = "txtRegEx";
     this.txtRegEx.ScrollBars    = System.Windows.Forms.ScrollBars.Vertical;
     this.txtRegEx.Size          = new System.Drawing.Size(314, 469);
     this.txtRegEx.TabIndex      = 3;
     this.txtRegEx.TextChanged  += new System.EventHandler(this.txtRegEx_TextChanged);
     //
     // lblRegEx
     //
     this.lblRegEx.Dock     = System.Windows.Forms.DockStyle.Top;
     this.lblRegEx.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblRegEx.Location = new System.Drawing.Point(0, 0);
     this.lblRegEx.Name     = "lblRegEx";
     this.lblRegEx.Size     = new System.Drawing.Size(314, 17);
     this.lblRegEx.TabIndex = 5;
     this.lblRegEx.Text     = "Regular Expression";
     //
     // lvResult
     //
     this.lvResult.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.chMatch,
         this.chPosition,
         this.chLength
     });
     this.lvResult.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lvResult.FullRowSelect = true;
     this.lvResult.GridLines     = true;
     this.lvResult.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.lvResult.Location      = new System.Drawing.Point(3, 3);
     this.lvResult.MultiSelect   = false;
     this.lvResult.Name          = "lvResult";
     this.lvResult.Size          = new System.Drawing.Size(570, 277);
     this.lvResult.TabIndex      = 10;
     this.lvResult.UseCompatibleStateImageBehavior = false;
     this.lvResult.View = System.Windows.Forms.View.Details;
     this.lvResult.SelectedIndexChanged += new System.EventHandler(this.lvResult_SelectedIndexChanged);
     //
     // chMatch
     //
     this.chMatch.Text  = "Match";
     this.chMatch.Width = 435;
     //
     // chPosition
     //
     this.chPosition.Text  = "Position";
     this.chPosition.Width = 87;
     //
     // chLength
     //
     this.chLength.Text  = "Length";
     this.chLength.Width = 98;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 510);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.sbpInfo,
         this.sbpMatchCount
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(902, 22);
     this.statusBar1.SizingGrip = false;
     this.statusBar1.TabIndex   = 12;
     this.statusBar1.Text       = "statusBar1";
     //
     // sbpInfo
     //
     this.sbpInfo.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.sbpInfo.Name     = "sbpInfo";
     this.sbpInfo.Width    = 821;
     //
     // sbpMatchCount
     //
     this.sbpMatchCount.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.sbpMatchCount.Name     = "sbpMatchCount";
     this.sbpMatchCount.Text     = "Match Count:";
     this.sbpMatchCount.Width    = 81;
     //
     // label1
     //
     this.label1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.label1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(0, 34);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(584, 16);
     this.label1.TabIndex = 15;
     this.label1.Text     = "Results";
     //
     // txtReplace
     //
     this.txtReplace.Dock         = System.Windows.Forms.DockStyle.Top;
     this.txtReplace.Enabled      = false;
     this.txtReplace.Location     = new System.Drawing.Point(0, 13);
     this.txtReplace.Name         = "txtReplace";
     this.txtReplace.Size         = new System.Drawing.Size(584, 21);
     this.txtReplace.TabIndex     = 18;
     this.txtReplace.TextChanged += new System.EventHandler(this.txtReplace_TextChanged);
     //
     // rtxtOutput
     //
     this.rtxtOutput.AutoWordSelection = true;
     this.rtxtOutput.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.rtxtOutput.HideSelection = false;
     this.rtxtOutput.Location      = new System.Drawing.Point(3, 3);
     this.rtxtOutput.Name          = "rtxtOutput";
     this.rtxtOutput.ReadOnly      = true;
     this.rtxtOutput.ScrollBars    = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.rtxtOutput.Size          = new System.Drawing.Size(398, 251);
     this.rtxtOutput.TabIndex      = 19;
     this.rtxtOutput.Text          = "";
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 50);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(584, 309);
     this.tabControl1.TabIndex      = 20;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.lvResult);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(576, 283);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Matches";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.rtxtOutput);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(404, 257);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Output";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.Location   = new System.Drawing.Point(0, 24);
     this.splitContainer1.Name       = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.txtRegEx);
     this.splitContainer1.Panel1.Controls.Add(this.lblRegEx);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Size             = new System.Drawing.Size(902, 486);
     this.splitContainer1.SplitterDistance = 314;
     this.splitContainer1.TabIndex         = 21;
     //
     // label2
     //
     this.label2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.label2.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold);
     this.label2.Location = new System.Drawing.Point(0, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(584, 13);
     this.label2.TabIndex = 19;
     this.label2.Text     = "Replace";
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem,
         this.optionsToolStripMenuItem,
         this.mnuTest
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(902, 24);
     this.menuStrip1.TabIndex = 22;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.newToolStripMenuItem,
         this.openToolStripMenuItem,
         this.toolStripMenuItem1,
         this.saveToolStripMenuItem,
         this.saveAsToolStripMenuItem,
         this.toolStripMenuItem2,
         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.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     this.newToolStripMenuItem.Size         = new System.Drawing.Size(146, 22);
     this.newToolStripMenuItem.Text         = "&New";
     this.newToolStripMenuItem.Click       += new System.EventHandler(this.newToolStripMenuItem_Click);
     //
     // openToolStripMenuItem
     //
     this.openToolStripMenuItem.Name         = "openToolStripMenuItem";
     this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     this.openToolStripMenuItem.Size         = new System.Drawing.Size(146, 22);
     this.openToolStripMenuItem.Text         = "&Open";
     this.openToolStripMenuItem.Click       += new System.EventHandler(this.openToolStripMenuItem_Click);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(143, 6);
     //
     // saveToolStripMenuItem
     //
     this.saveToolStripMenuItem.Name         = "saveToolStripMenuItem";
     this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     this.saveToolStripMenuItem.Size         = new System.Drawing.Size(146, 22);
     this.saveToolStripMenuItem.Text         = "&Save";
     this.saveToolStripMenuItem.Click       += new System.EventHandler(this.saveToolStripMenuItem_Click);
     //
     // saveAsToolStripMenuItem
     //
     this.saveAsToolStripMenuItem.Name   = "saveAsToolStripMenuItem";
     this.saveAsToolStripMenuItem.Size   = new System.Drawing.Size(146, 22);
     this.saveAsToolStripMenuItem.Text   = "Save &As";
     this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(143, 6);
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name         = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
     this.exitToolStripMenuItem.Size         = new System.Drawing.Size(146, 22);
     this.exitToolStripMenuItem.Text         = "&Exit";
     this.exitToolStripMenuItem.Click       += new System.EventHandler(this.exitToolStripMenuItem_Click);
     //
     // optionsToolStripMenuItem
     //
     this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnuIgnore,
         this.mnuMultiLine,
         this.mnuReplace
     });
     this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
     this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
     this.optionsToolStripMenuItem.Text = "&Options";
     //
     // mnuIgnore
     //
     this.mnuIgnore.Checked      = true;
     this.mnuIgnore.CheckOnClick = true;
     this.mnuIgnore.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.mnuIgnore.Name         = "mnuIgnore";
     this.mnuIgnore.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
     this.mnuIgnore.Size         = new System.Drawing.Size(173, 22);
     this.mnuIgnore.Text         = "&Ignore Case";
     this.mnuIgnore.Click       += new System.EventHandler(this.mnuIgnore_Click);
     //
     // mnuMultiLine
     //
     this.mnuMultiLine.Checked      = true;
     this.mnuMultiLine.CheckOnClick = true;
     this.mnuMultiLine.CheckState   = System.Windows.Forms.CheckState.Checked;
     this.mnuMultiLine.Name         = "mnuMultiLine";
     this.mnuMultiLine.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)));
     this.mnuMultiLine.Size         = new System.Drawing.Size(173, 22);
     this.mnuMultiLine.Text         = "&MultiLine";
     this.mnuMultiLine.Click       += new System.EventHandler(this.mnuMultiLine_Click);
     //
     // mnuReplace
     //
     this.mnuReplace.CheckOnClick = true;
     this.mnuReplace.Name         = "mnuReplace";
     this.mnuReplace.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));
     this.mnuReplace.Size         = new System.Drawing.Size(173, 22);
     this.mnuReplace.Text         = "&Replace";
     this.mnuReplace.Click       += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // mnuTest
     //
     this.mnuTest.Name         = "mnuTest";
     this.mnuTest.ShortcutKeys = System.Windows.Forms.Keys.F5;
     this.mnuTest.Size         = new System.Drawing.Size(41, 20);
     this.mnuTest.Text         = "&Test";
     this.mnuTest.Click       += new System.EventHandler(this.btnTest_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "regex";
     this.openFileDialog1.FileName   = "openFileDialog1";
     this.openFileDialog1.Filter     = "Regular Expression Projects|*.regex|All Files|*.*";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "regex";
     this.saveFileDialog1.Filter     = "Regular Expression Projects|*.regex|All Files|*.*";
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.rtbText);
     this.splitContainer2.Panel1.Controls.Add(this.lblText);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.tabControl1);
     this.splitContainer2.Panel2.Controls.Add(this.label1);
     this.splitContainer2.Panel2.Controls.Add(this.txtReplace);
     this.splitContainer2.Panel2.Controls.Add(this.label2);
     this.splitContainer2.Size             = new System.Drawing.Size(584, 486);
     this.splitContainer2.SplitterDistance = 123;
     this.splitContainer2.TabIndex         = 21;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(902, 532);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.menuStrip1);
     this.Font  = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "MainForm";
     this.Text  = "RegExTester";
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.sbpInfo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbpMatchCount)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
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.mnuMainAPI        = new System.Windows.Forms.MainMenu();
     this.mnuFile           = new System.Windows.Forms.MenuItem();
     this.mnuFileOpen       = new System.Windows.Forms.MenuItem();
     this.mnuFileSep        = new System.Windows.Forms.MenuItem();
     this.mnuFileExit       = new System.Windows.Forms.MenuItem();
     this.mnuHelp           = new System.Windows.Forms.MenuItem();
     this.mnuHelpAbout      = new System.Windows.Forms.MenuItem();
     this.opnFileDialog     = new System.Windows.Forms.OpenFileDialog();
     this.lblAPITypes       = new System.Windows.Forms.Label();
     this.cmbAPITypes       = new System.Windows.Forms.ComboBox();
     this.lblLookfor        = new System.Windows.Forms.Label();
     this.txtLookfor        = new System.Windows.Forms.TextBox();
     this.lblAvailablefuncs = new System.Windows.Forms.Label();
     this.lstAvailableFuncs = new System.Windows.Forms.ListBox();
     this.txtSelected       = new System.Windows.Forms.RichTextBox();
     this.lblSelected       = new System.Windows.Forms.Label();
     this.btnAdd            = new System.Windows.Forms.Button();
     this.grpScope          = new System.Windows.Forms.GroupBox();
     this.rdPrivate         = new System.Windows.Forms.RadioButton();
     this.rdPublic          = new System.Windows.Forms.RadioButton();
     this.btnRemove         = new System.Windows.Forms.Button();
     this.btnClear          = new System.Windows.Forms.Button();
     this.btnCopy           = new System.Windows.Forms.Button();
     this.grpScope.SuspendLayout();
     this.SuspendLayout();
     //
     // mnuMainAPI
     //
     this.mnuMainAPI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuHelp
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileOpen,
         this.mnuFileSep,
         this.mnuFileExit
     });
     this.mnuFile.Text = "File";
     //
     // mnuFileOpen
     //
     this.mnuFileOpen.Index  = 0;
     this.mnuFileOpen.Text   = "Open";
     this.mnuFileOpen.Click += new System.EventHandler(this.mnuFileOpen_Click);
     //
     // mnuFileSep
     //
     this.mnuFileSep.Index = 1;
     this.mnuFileSep.Text  = "-";
     //
     // mnuFileExit
     //
     this.mnuFileExit.Index  = 2;
     this.mnuFileExit.Text   = "Exit";
     this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 1;
     this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuHelpAbout
     });
     this.mnuHelp.Text = "Help";
     //
     // mnuHelpAbout
     //
     this.mnuHelpAbout.Index  = 0;
     this.mnuHelpAbout.Text   = "About C# API Text Viewer";
     this.mnuHelpAbout.Click += new System.EventHandler(this.mnuHelpAbout_Click);
     //
     // lblAPITypes
     //
     this.lblAPITypes.Location = new System.Drawing.Point(16, 8);
     this.lblAPITypes.Name     = "lblAPITypes";
     this.lblAPITypes.TabIndex = 0;
     this.lblAPITypes.Text     = "API Type:";
     //
     // cmbAPITypes
     //
     this.cmbAPITypes.Location              = new System.Drawing.Point(16, 26);
     this.cmbAPITypes.Name                  = "cmbAPITypes";
     this.cmbAPITypes.Size                  = new System.Drawing.Size(208, 21);
     this.cmbAPITypes.TabIndex              = 1;
     this.cmbAPITypes.TextChanged          += new System.EventHandler(this.cmbAPITypes_TextChanged);
     this.cmbAPITypes.SelectedIndexChanged += new System.EventHandler(this.cmbAPITypes_SelectedIndexChanged);
     //
     // lblLookfor
     //
     this.lblLookfor.Location = new System.Drawing.Point(16, 48);
     this.lblLookfor.Name     = "lblLookfor";
     this.lblLookfor.Size     = new System.Drawing.Size(312, 16);
     this.lblLookfor.TabIndex = 2;
     this.lblLookfor.Text     = "Type the first few letters of the function name you look for:";
     //
     // txtLookfor
     //
     this.txtLookfor.Location     = new System.Drawing.Point(16, 64);
     this.txtLookfor.Name         = "txtLookfor";
     this.txtLookfor.Size         = new System.Drawing.Size(312, 20);
     this.txtLookfor.TabIndex     = 3;
     this.txtLookfor.Text         = "Look for functions";
     this.txtLookfor.TextChanged += new System.EventHandler(this.txtLookfor_TextChanged);
     //
     // lblAvailablefuncs
     //
     this.lblAvailablefuncs.Location = new System.Drawing.Point(16, 88);
     this.lblAvailablefuncs.Name     = "lblAvailablefuncs";
     this.lblAvailablefuncs.Size     = new System.Drawing.Size(272, 16);
     this.lblAvailablefuncs.TabIndex = 4;
     this.lblAvailablefuncs.Text     = "Available functions:";
     //
     // lstAvailableFuncs
     //
     this.lstAvailableFuncs.Location = new System.Drawing.Point(16, 104);
     this.lstAvailableFuncs.Name     = "lstAvailableFuncs";
     this.lstAvailableFuncs.Size     = new System.Drawing.Size(312, 95);
     this.lstAvailableFuncs.TabIndex = 5;
     //
     // txtSelected
     //
     this.txtSelected.Location  = new System.Drawing.Point(16, 224);
     this.txtSelected.Name      = "txtSelected";
     this.txtSelected.Size      = new System.Drawing.Size(312, 136);
     this.txtSelected.TabIndex  = 6;
     this.txtSelected.Text      = "Selected functions";
     this.txtSelected.GotFocus += new System.EventHandler(this.txtSelected_GotFocus);
     //
     // lblSelected
     //
     this.lblSelected.Location = new System.Drawing.Point(16, 208);
     this.lblSelected.Name     = "lblSelected";
     this.lblSelected.Size     = new System.Drawing.Size(272, 16);
     this.lblSelected.TabIndex = 7;
     this.lblSelected.Text     = "Selected functions:";
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(344, 104);
     this.btnAdd.Name     = "btnAdd";
     this.btnAdd.Size     = new System.Drawing.Size(120, 23);
     this.btnAdd.TabIndex = 8;
     this.btnAdd.Text     = "Add";
     this.btnAdd.Click   += new System.EventHandler(this.btnAdd_Click);
     //
     // grpScope
     //
     this.grpScope.Controls.Add(this.rdPrivate);
     this.grpScope.Controls.Add(this.rdPublic);
     this.grpScope.Location = new System.Drawing.Point(344, 136);
     this.grpScope.Name     = "grpScope";
     this.grpScope.Size     = new System.Drawing.Size(120, 72);
     this.grpScope.TabIndex = 9;
     this.grpScope.TabStop  = false;
     this.grpScope.Text     = "Scope";
     //
     // rdPrivate
     //
     this.rdPrivate.Location = new System.Drawing.Point(24, 40);
     this.rdPrivate.Name     = "rdPrivate";
     this.rdPrivate.Size     = new System.Drawing.Size(64, 24);
     this.rdPrivate.TabIndex = 1;
     this.rdPrivate.Text     = "private";
     //
     // rdPublic
     //
     this.rdPublic.Location = new System.Drawing.Point(24, 16);
     this.rdPublic.Name     = "rdPublic";
     this.rdPublic.Size     = new System.Drawing.Size(56, 24);
     this.rdPublic.TabIndex = 0;
     this.rdPublic.Text     = "public";
     //
     // btnRemove
     //
     this.btnRemove.Location  = new System.Drawing.Point(344, 232);
     this.btnRemove.Name      = "btnRemove";
     this.btnRemove.Size      = new System.Drawing.Size(120, 24);
     this.btnRemove.TabIndex  = 10;
     this.btnRemove.Text      = "Remove";
     this.btnRemove.Click    += new System.EventHandler(this.btnRemove_Click);
     this.btnRemove.GotFocus += new System.EventHandler(this.btnRemove_GotFocus);
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(344, 264);
     this.btnClear.Name     = "btnClear";
     this.btnClear.Size     = new System.Drawing.Size(120, 23);
     this.btnClear.TabIndex = 11;
     this.btnClear.Text     = "Clear";
     this.btnClear.Click   += new System.EventHandler(this.btnClear_Click);
     //
     // btnCopy
     //
     this.btnCopy.Location = new System.Drawing.Point(344, 336);
     this.btnCopy.Name     = "btnCopy";
     this.btnCopy.Size     = new System.Drawing.Size(120, 23);
     this.btnCopy.TabIndex = 12;
     this.btnCopy.Text     = "Copy";
     this.btnCopy.Click   += new System.EventHandler(this.btnCopy_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(472, 401);
     this.Controls.Add(this.btnCopy);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.btnRemove);
     this.Controls.Add(this.grpScope);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.lblSelected);
     this.Controls.Add(this.txtSelected);
     this.Controls.Add(this.lstAvailableFuncs);
     this.Controls.Add(this.lblAvailablefuncs);
     this.Controls.Add(this.txtLookfor);
     this.Controls.Add(this.lblLookfor);
     this.Controls.Add(this.cmbAPITypes);
     this.Controls.Add(this.lblAPITypes);
     this.Menu        = this.mnuMainAPI;
     this.MinimumSize = new System.Drawing.Size(480, 428);
     this.Name        = "Form1";
     this.Text        = "C# API Text Viewer";
     this.Resize     += new System.EventHandler(this.RenewResize);
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.grpScope.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #55
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(About));
     this.panel1         = new System.Windows.Forms.Panel();
     this.Logo           = new System.Windows.Forms.PictureBox();
     this.panelAbout     = new System.Windows.Forms.Panel();
     this.txtCRT         = new System.Windows.Forms.TextBox();
     this.txtCompany     = new System.Windows.Forms.TextBox();
     this.txtComments    = new System.Windows.Forms.TextBox();
     this.txtDescription = new System.Windows.Forms.TextBox();
     this.txtVer         = new System.Windows.Forms.TextBox();
     this.txtProductName = new System.Windows.Forms.TextBox();
     this.label6         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     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.panel2         = new System.Windows.Forms.Panel();
     this.rtxtHelp       = new System.Windows.Forms.RichTextBox();
     this.btnOk          = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.Logo)).BeginInit();
     this.panelAbout.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.LightSteelBlue;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(434, 16);
     this.panel1.TabIndex  = 0;
     //
     // Logo
     //
     this.Logo.BackColor = System.Drawing.Color.White;
     this.Logo.Dock      = System.Windows.Forms.DockStyle.Top;
     this.Logo.Image     = ((System.Drawing.Image)(resources.GetObject("Logo.Image")));
     this.Logo.Location  = new System.Drawing.Point(0, 16);
     this.Logo.Name      = "Logo";
     this.Logo.Size      = new System.Drawing.Size(434, 55);
     this.Logo.TabIndex  = 16;
     this.Logo.TabStop   = false;
     //
     // panelAbout
     //
     this.panelAbout.Controls.Add(this.txtCRT);
     this.panelAbout.Controls.Add(this.txtCompany);
     this.panelAbout.Controls.Add(this.txtComments);
     this.panelAbout.Controls.Add(this.txtDescription);
     this.panelAbout.Controls.Add(this.txtVer);
     this.panelAbout.Controls.Add(this.txtProductName);
     this.panelAbout.Controls.Add(this.label6);
     this.panelAbout.Controls.Add(this.label5);
     this.panelAbout.Controls.Add(this.label4);
     this.panelAbout.Controls.Add(this.label3);
     this.panelAbout.Controls.Add(this.label2);
     this.panelAbout.Controls.Add(this.label1);
     this.panelAbout.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelAbout.Location = new System.Drawing.Point(0, 71);
     this.panelAbout.Name     = "panelAbout";
     this.panelAbout.Size     = new System.Drawing.Size(434, 146);
     this.panelAbout.TabIndex = 1;
     //
     // txtCRT
     //
     this.txtCRT.Location = new System.Drawing.Point(81, 24);
     this.txtCRT.Name     = "txtCRT";
     this.txtCRT.ReadOnly = true;
     this.txtCRT.Size     = new System.Drawing.Size(346, 20);
     this.txtCRT.TabIndex = 3;
     this.txtCRT.WordWrap = false;
     //
     // txtCompany
     //
     this.txtCompany.Location = new System.Drawing.Point(81, 3);
     this.txtCompany.Name     = "txtCompany";
     this.txtCompany.ReadOnly = true;
     this.txtCompany.Size     = new System.Drawing.Size(346, 20);
     this.txtCompany.TabIndex = 1;
     this.txtCompany.WordWrap = false;
     //
     // txtComments
     //
     this.txtComments.Location = new System.Drawing.Point(81, 121);
     this.txtComments.Name     = "txtComments";
     this.txtComments.ReadOnly = true;
     this.txtComments.Size     = new System.Drawing.Size(346, 20);
     this.txtComments.TabIndex = 11;
     this.txtComments.WordWrap = false;
     //
     // txtDescription
     //
     this.txtDescription.Location = new System.Drawing.Point(81, 101);
     this.txtDescription.Name     = "txtDescription";
     this.txtDescription.ReadOnly = true;
     this.txtDescription.Size     = new System.Drawing.Size(346, 20);
     this.txtDescription.TabIndex = 9;
     this.txtDescription.WordWrap = false;
     //
     // txtVer
     //
     this.txtVer.Location = new System.Drawing.Point(81, 73);
     this.txtVer.Name     = "txtVer";
     this.txtVer.ReadOnly = true;
     this.txtVer.Size     = new System.Drawing.Size(346, 20);
     this.txtVer.TabIndex = 7;
     this.txtVer.WordWrap = false;
     //
     // txtProductName
     //
     this.txtProductName.Location = new System.Drawing.Point(81, 52);
     this.txtProductName.Name     = "txtProductName";
     this.txtProductName.ReadOnly = true;
     this.txtProductName.Size     = new System.Drawing.Size(346, 20);
     this.txtProductName.TabIndex = 5;
     this.txtProductName.WordWrap = false;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(7, 24);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(67, 21);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "Copyright:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(7, 3);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(67, 21);
     this.label5.TabIndex  = 0;
     this.label5.Text      = "Company:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(7, 121);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(67, 21);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Description:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(7, 101);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(67, 20);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Title:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(21, 73);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(53, 21);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Version:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(21, 52);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(53, 21);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Product:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.rtxtHelp);
     this.panel2.Controls.Add(this.btnOk);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 217);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(434, 210);
     this.panel2.TabIndex = 2;
     //
     // rtxtHelp
     //
     this.rtxtHelp.AcceptsTab = true;
     this.rtxtHelp.Anchor     = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.rtxtHelp.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.rtxtHelp.Location    = new System.Drawing.Point(7, 4);
     this.rtxtHelp.Name        = "rtxtHelp";
     this.rtxtHelp.ReadOnly    = true;
     this.rtxtHelp.ScrollBars  = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
     this.rtxtHelp.Size        = new System.Drawing.Size(420, 162);
     this.rtxtHelp.TabIndex    = 0;
     this.rtxtHelp.Text        = "Command Line Options:";
     this.rtxtHelp.WordWrap    = false;
     //
     // btnOk
     //
     this.btnOk.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOk.Location = new System.Drawing.Point(344, 176);
     this.btnOk.Name     = "btnOk";
     this.btnOk.Size     = new System.Drawing.Size(60, 20);
     this.btnOk.TabIndex = 1;
     this.btnOk.Text     = "Okay";
     this.btnOk.Click   += new System.EventHandler(this.btnOk_Click);
     //
     // About
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(434, 427);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panelAbout);
     this.Controls.Add(this.Logo);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "About";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "About the DTS Command Line Tool";
     ((System.ComponentModel.ISupportInitialize)(this.Logo)).EndInit();
     this.panelAbout.ResumeLayout(false);
     this.panelAbout.PerformLayout();
     this.panel2.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.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 #57
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(UCAbout));
     this.label1       = new System.Windows.Forms.Label();
     this.lblAuthor    = new System.Windows.Forms.Label();
     this.lnkWorkspace = new System.Windows.Forms.LinkLabel();
     this.label5       = new System.Windows.Forms.Label();
     this.lblVersion   = new System.Windows.Forms.Label();
     this.label7       = new System.Windows.Forms.Label();
     this.tabControl   = new System.Windows.Forms.TabControl();
     this.tabThanksTo  = new System.Windows.Forms.TabPage();
     this.txtThanksTo  = new System.Windows.Forms.RichTextBox();
     this.tabLicense   = new System.Windows.Forms.TabPage();
     this.txtLicense   = new System.Windows.Forms.RichTextBox();
     this.tabChanges   = new System.Windows.Forms.TabPage();
     this.txtChanges   = new System.Windows.Forms.RichTextBox();
     this.pictureBox1  = new System.Windows.Forms.PictureBox();
     this.tabControl.SuspendLayout();
     this.tabThanksTo.SuspendLayout();
     this.tabLicense.SuspendLayout();
     this.tabChanges.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // lblAuthor
     //
     resources.ApplyResources(this.lblAuthor, "lblAuthor");
     this.lblAuthor.BackColor   = System.Drawing.Color.White;
     this.lblAuthor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblAuthor.Name        = "lblAuthor";
     //
     // lnkWorkspace
     //
     resources.ApplyResources(this.lnkWorkspace, "lnkWorkspace");
     this.lnkWorkspace.BackColor    = System.Drawing.Color.White;
     this.lnkWorkspace.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lnkWorkspace.Name         = "lnkWorkspace";
     this.lnkWorkspace.TabStop      = true;
     this.lnkWorkspace.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkCompany_LinkClicked);
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // lblVersion
     //
     resources.ApplyResources(this.lblVersion, "lblVersion");
     this.lblVersion.BackColor   = System.Drawing.Color.White;
     this.lblVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblVersion.Name        = "lblVersion";
     //
     // label7
     //
     resources.ApplyResources(this.label7, "label7");
     this.label7.Name = "label7";
     //
     // tabControl
     //
     resources.ApplyResources(this.tabControl, "tabControl");
     this.tabControl.Controls.Add(this.tabThanksTo);
     this.tabControl.Controls.Add(this.tabLicense);
     this.tabControl.Controls.Add(this.tabChanges);
     this.tabControl.Name          = "tabControl";
     this.tabControl.SelectedIndex = 0;
     //
     // tabThanksTo
     //
     resources.ApplyResources(this.tabThanksTo, "tabThanksTo");
     this.tabThanksTo.Controls.Add(this.txtThanksTo);
     this.tabThanksTo.Name = "tabThanksTo";
     //
     // txtThanksTo
     //
     this.txtThanksTo.BackColor   = System.Drawing.Color.White;
     this.txtThanksTo.BorderStyle = System.Windows.Forms.BorderStyle.None;
     resources.ApplyResources(this.txtThanksTo, "txtThanksTo");
     this.txtThanksTo.Name     = "txtThanksTo";
     this.txtThanksTo.ReadOnly = true;
     //
     // tabLicense
     //
     this.tabLicense.Controls.Add(this.txtLicense);
     resources.ApplyResources(this.tabLicense, "tabLicense");
     this.tabLicense.Name = "tabLicense";
     //
     // txtLicense
     //
     this.txtLicense.BackColor   = System.Drawing.Color.White;
     this.txtLicense.BorderStyle = System.Windows.Forms.BorderStyle.None;
     resources.ApplyResources(this.txtLicense, "txtLicense");
     this.txtLicense.Name     = "txtLicense";
     this.txtLicense.ReadOnly = true;
     //
     // tabChanges
     //
     this.tabChanges.Controls.Add(this.txtChanges);
     resources.ApplyResources(this.tabChanges, "tabChanges");
     this.tabChanges.Name = "tabChanges";
     //
     // txtChanges
     //
     this.txtChanges.BorderStyle = System.Windows.Forms.BorderStyle.None;
     resources.ApplyResources(this.txtChanges, "txtChanges");
     this.txtChanges.Name = "txtChanges";
     //
     // pictureBox1
     //
     this.pictureBox1.Image = global::Be.HexEditor.images.Logo;
     resources.ApplyResources(this.pictureBox1, "pictureBox1");
     this.pictureBox1.Name    = "pictureBox1";
     this.pictureBox1.TabStop = false;
     //
     // UCAbout
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.tabControl);
     this.Controls.Add(this.lblVersion);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.lnkWorkspace);
     this.Controls.Add(this.lblAuthor);
     this.Controls.Add(this.label1);
     this.Name  = "UCAbout";
     this.Load += new System.EventHandler(this.UCAbout_Load);
     this.tabControl.ResumeLayout(false);
     this.tabThanksTo.ResumeLayout(false);
     this.tabLicense.ResumeLayout(false);
     this.tabChanges.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).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()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frm_ErrorDlg));
     this.btnOK        = new System.Windows.Forms.Button();
     this.btnDetails   = new System.Windows.Forms.Button();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.pbxErrorInfo = new System.Windows.Forms.PictureBox();
     this.lblOperation = new System.Windows.Forms.Label();
     this.lblError     = new System.Windows.Forms.Label();
     this.redError     = new System.Windows.Forms.RichTextBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location     = new System.Drawing.Point(240, 96);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(80, 23);
     this.btnOK.TabIndex     = 3;
     this.btnOK.Text         = "&OK";
     //
     // btnDetails
     //
     this.btnDetails.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnDetails.Location  = new System.Drawing.Point(328, 96);
     this.btnDetails.Name      = "btnDetails";
     this.btnDetails.Size      = new System.Drawing.Size(80, 23);
     this.btnDetails.TabIndex  = 4;
     this.btnDetails.Text      = "Show Details";
     this.btnDetails.Click    += new System.EventHandler(this.btnDetails_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.pbxErrorInfo);
     this.groupBox1.Controls.Add(this.lblOperation);
     this.groupBox1.Controls.Add(this.lblError);
     this.groupBox1.Location = new System.Drawing.Point(13, 6);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(397, 82);
     this.groupBox1.TabIndex = 5;
     this.groupBox1.TabStop  = false;
     //
     // pbxErrorInfo
     //
     this.pbxErrorInfo.Image    = ((System.Drawing.Image)(resources.GetObject("pbxErrorInfo.Image")));
     this.pbxErrorInfo.Location = new System.Drawing.Point(16, 21);
     this.pbxErrorInfo.Name     = "pbxErrorInfo";
     this.pbxErrorInfo.Size     = new System.Drawing.Size(32, 32);
     this.pbxErrorInfo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pbxErrorInfo.TabIndex = 5;
     this.pbxErrorInfo.TabStop  = false;
     //
     // lblOperation
     //
     this.lblOperation.AutoSize = true;
     this.lblOperation.Location = new System.Drawing.Point(65, 49);
     this.lblOperation.Name     = "lblOperation";
     this.lblOperation.Size     = new System.Drawing.Size(53, 17);
     this.lblOperation.TabIndex = 4;
     this.lblOperation.Text     = "Operation";
     //
     // lblError
     //
     this.lblError.AutoSize = true;
     this.lblError.Location = new System.Drawing.Point(65, 21);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(320, 17);
     this.lblError.TabIndex = 3;
     this.lblError.Text     = "An Error has occured while performing the following operation:";
     //
     // redError
     //
     this.redError.Location = new System.Drawing.Point(13, 128);
     this.redError.Name     = "redError";
     this.redError.ReadOnly = true;
     this.redError.Size     = new System.Drawing.Size(395, 200);
     this.redError.TabIndex = 6;
     this.redError.Text     = "";
     //
     // frm_ErrorDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(424, 342);
     this.Controls.Add(this.redError);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnDetails);
     this.Controls.Add(this.btnOK);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frm_ErrorDlg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Scheduler";
     this.Load           += new System.EventHandler(this.frm_ErrorDlg_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.richTextBox1       = new System.Windows.Forms.RichTextBox();
     this.contextMenu1       = new System.Windows.Forms.ContextMenu();
     this.menuItem_Bold      = new System.Windows.Forms.MenuItem();
     this.menuItem_Italic    = new System.Windows.Forms.MenuItem();
     this.menuItem_UnderLine = new System.Windows.Forms.MenuItem();
     this.menuItem_Color     = new System.Windows.Forms.MenuItem();
     this.menuItem_Font      = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                  | System.Windows.Forms.AnchorStyles.Left)
                                 | System.Windows.Forms.AnchorStyles.Right);
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.ContextMenu = this.contextMenu1;
     this.richTextBox1.Location    = new System.Drawing.Point(1, 1);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(102, 18);
     this.richTextBox1.TabIndex    = 0;
     this.richTextBox1.Text        = "richTextBox1";
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem_Bold,
         this.menuItem_Italic,
         this.menuItem_UnderLine,
         this.menuItem_Color,
         this.menuItem_Font
     });
     //
     // menuItem_Bold
     //
     this.menuItem_Bold.Index  = 0;
     this.menuItem_Bold.Text   = "Bold";
     this.menuItem_Bold.Click += new System.EventHandler(this.menuItem_Bold_Click);
     //
     // menuItem_Italic
     //
     this.menuItem_Italic.Index  = 1;
     this.menuItem_Italic.Text   = "Italic";
     this.menuItem_Italic.Click += new System.EventHandler(this.menuItem_Italic_Click);
     //
     // menuItem_UnderLine
     //
     this.menuItem_UnderLine.Index  = 2;
     this.menuItem_UnderLine.Text   = "UnderLine";
     this.menuItem_UnderLine.Click += new System.EventHandler(this.menuItem_UnderLine_Click);
     //
     // menuItem_Color
     //
     this.menuItem_Color.Index  = 3;
     this.menuItem_Color.Text   = "Color";
     this.menuItem_Color.Click += new System.EventHandler(this.menuItem_Color_Click);
     //
     // menuItem_Font
     //
     this.menuItem_Font.Index  = 4;
     this.menuItem_Font.Text   = "Font";
     this.menuItem_Font.Click += new System.EventHandler(this.menuItem_Font_Click);
     //
     // WRichEditBox
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox1
     });
     this.Name = "WRichEditBox";
     this.Size = new System.Drawing.Size(104, 20);
     this.ResumeLayout(false);
 }
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()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Call_Dialog));
     this.assignment_Text = new System.Windows.Forms.TextBox();
     this.done_button     = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.textBox1        = new System.Windows.Forms.RichTextBox();
     this.mainMenu1       = new System.Windows.Forms.MainMenu();
     this.menuHelp        = new System.Windows.Forms.MenuItem();
     this.menuGeneralHelp = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // assignment_Text
     //
     this.assignment_Text.AcceptsReturn = true;
     this.assignment_Text.AcceptsTab    = true;
     this.assignment_Text.Location      = new System.Drawing.Point(48, 96);
     this.assignment_Text.Multiline     = true;
     this.assignment_Text.Name          = "assignment_Text";
     this.assignment_Text.ScrollBars    = System.Windows.Forms.ScrollBars.Vertical;
     this.assignment_Text.Size          = new System.Drawing.Size(200, 72);
     this.assignment_Text.TabIndex      = 1;
     this.assignment_Text.Text          = "";
     this.assignment_Text.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.Check_key);
     this.assignment_Text.KeyPress     += new System.Windows.Forms.KeyPressEventHandler(this.assignment_Text_KeyPress);
     this.assignment_Text.TextChanged  += new System.EventHandler(this.Check_Hint);
     //
     // done_button
     //
     this.done_button.Location = new System.Drawing.Point(104, 368);
     this.done_button.Name     = "done_button";
     this.done_button.Size     = new System.Drawing.Size(88, 24);
     this.done_button.TabIndex = 2;
     this.done_button.Text     = "Done";
     this.done_button.Click   += new System.EventHandler(this.done_button_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(51, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(221, 80);
     this.label1.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 200);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(264, 48);
     this.label2.TabIndex = 4;
     //
     // textBox1
     //
     this.textBox1.Location   = new System.Drawing.Point(8, 264);
     this.textBox1.Name       = "textBox1";
     this.textBox1.ReadOnly   = true;
     this.textBox1.Size       = new System.Drawing.Size(272, 96);
     this.textBox1.TabIndex   = 5;
     this.textBox1.Text       = "";
     this.textBox1.Visible    = false;
     this.textBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDown);
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuHelp
     });
     //
     // menuHelp
     //
     this.menuHelp.Index = 0;
     this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuGeneralHelp
     });
     this.menuHelp.Text = "&Help";
     //
     // menuGeneralHelp
     //
     this.menuGeneralHelp.Index    = 0;
     this.menuGeneralHelp.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.menuGeneralHelp.Text     = "&General Help";
     this.menuGeneralHelp.Click   += new System.EventHandler(this.menuGeneralHelp_Click);
     //
     // Call_Dialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(288, 401);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.done_button);
     this.Controls.Add(this.assignment_Text);
     this.Icon     = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu     = this.mainMenu1;
     this.Name     = "Call_Dialog";
     this.Text     = "Enter Call";
     this.TopMost  = true;
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Check_key);
     this.Resize  += new System.EventHandler(this.Call_Dialog_Resize);
     this.ResumeLayout(false);
 }