コード例 #1
0
        public static FlowLayoutPanel Container(IXsdPart part, ToolTip tooltip = null)
        {
            var panel = new FlowLayoutPanel();
            panel.SuspendLayout();
            panel.FlowDirection = FlowDirection.TopDown;
            panel.AutoSize = true;
            panel.Font = Methods.BaseFont;
            panel.Name = "p" + part.Name;
            panel.Size = new System.Drawing.Size(208, 53);
            panel.AutoSize = true;

            //panel.BorderStyle = BorderStyle.Fixed3D;
            panel.BorderStyle = BorderStyle.None;

            panel.Controls.Add(Controls.Label(part, tooltip));
            panel.ResumeLayout();
            return panel;
        }
コード例 #2
0
ファイル: UtilsGui.cs プロジェクト: spiiin/CadEditor
 public static void prepareBlocksPanel(FlowLayoutPanel blocksPanel, Size buttonSize, ImageList buttonsImages, EventHandler buttonBlockClick, int startIndex, int count)
 {
     blocksPanel.Controls.Clear();
     blocksPanel.SuspendLayout();
     for (int i = startIndex; i < startIndex + count; i++)
     {
         var but = new Button();
         but.FlatStyle = FlatStyle.Flat;
         but.Size = buttonSize;
         but.ImageList = buttonsImages;
         but.ImageIndex = i;
         but.Click += buttonBlockClick;
         but.Margin = new Padding(0);
         but.Padding = new Padding(0);
         blocksPanel.Controls.Add(but);
     }
     blocksPanel.ResumeLayout();
 }
コード例 #3
0
ファイル: AboutForm.cs プロジェクト: soywiz/cspspemu
 private void AddLinkList(FlowLayoutPanel Panel, int Columns, IEnumerable<BaseLinkable> List)
 {
     Panel.SuspendLayout();
     //Panel.Controls.Clear();
     Panel.Margin = new Padding(0);
     Panel.Padding = new Padding(0);
     List.ForEach((Index, Item) =>
     {
         var Label = new LinkLabel();
         Label.Padding = new Padding(0);
         Label.Margin = new Padding(0);
         Label.Width = Panel.Width / Columns;
         Label.Text = Item.ToString();
         Label.Click += (_sender, _e) =>
         {
             Process.Start(Item.Url);
         };
         Panel.Controls.Add(Label);
     });
     Panel.ResumeLayout();
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 ///   the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.FlowLayoutPanel           buttonsFlow;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShowSelectDialog));
     this.selectButton = new System.Windows.Forms.Button();
     this.closeButton  = new System.Windows.Forms.Button();
     this.showList     = new System.Windows.Forms.ListBox();
     buttonsFlow       = new System.Windows.Forms.FlowLayoutPanel();
     buttonsFlow.SuspendLayout();
     this.SuspendLayout();
     //
     // buttonsFlow
     //
     buttonsFlow.Controls.Add(this.selectButton);
     buttonsFlow.Controls.Add(this.closeButton);
     buttonsFlow.Dock          = System.Windows.Forms.DockStyle.Bottom;
     buttonsFlow.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     buttonsFlow.Location      = new System.Drawing.Point(0, 312);
     buttonsFlow.Name          = "buttonsFlow";
     buttonsFlow.Size          = new System.Drawing.Size(221, 30);
     buttonsFlow.TabIndex      = 1;
     //
     // selectButton
     //
     this.selectButton.Location = new System.Drawing.Point(143, 3);
     this.selectButton.Name     = "selectButton";
     this.selectButton.Size     = new System.Drawing.Size(75, 23);
     this.selectButton.TabIndex = 0;
     this.selectButton.Text     = "Select";
     this.selectButton.UseVisualStyleBackColor = true;
     this.selectButton.Click += new System.EventHandler(this.SelectButtonClick);
     //
     // closeButton
     //
     this.closeButton.Location = new System.Drawing.Point(62, 3);
     this.closeButton.Name     = "closeButton";
     this.closeButton.Size     = new System.Drawing.Size(75, 23);
     this.closeButton.TabIndex = 1;
     this.closeButton.Text     = "Close";
     this.closeButton.UseVisualStyleBackColor = true;
     this.closeButton.Click += new System.EventHandler(this.CloseButtonClick);
     //
     // showList
     //
     this.showList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.showList.FormattingEnabled = true;
     this.showList.Location          = new System.Drawing.Point(0, 0);
     this.showList.Name     = "showList";
     this.showList.Size     = new System.Drawing.Size(221, 342);
     this.showList.TabIndex = 0;
     //
     // ShowSelectDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(221, 342);
     this.Controls.Add(buttonsFlow);
     this.Controls.Add(this.showList);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ShowSelectDialog";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Select Show";
     this.Load         += new System.EventHandler(this.ShowSelectDialogLoad);
     buttonsFlow.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #5
0
ファイル: AboutJanusForm.Designer.cs プロジェクト: rsdn/janus
		/// <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.Windows.Forms.FlowLayoutPanel lytButtons;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutJanusForm));
			System.Windows.Forms.RadioButton btnComponents;
			System.Windows.Forms.RadioButton btnDevelopers;
			this._asmButton = new System.Windows.Forms.RadioButton();
			this._okButton = new System.Windows.Forms.Button();
			this._panelBlack = new System.Windows.Forms.Panel();
			this._janusPicture = new System.Windows.Forms.PictureBox();
			this._titleLabel = new System.Windows.Forms.Label();
			this._versionLabel = new System.Windows.Forms.Label();
			this._webBrowser = new System.Windows.Forms.WebBrowser();
			this._fadeTimer = new System.Windows.Forms.Timer(this.components);
			lytButtons = new System.Windows.Forms.FlowLayoutPanel();
			btnComponents = new System.Windows.Forms.RadioButton();
			btnDevelopers = new System.Windows.Forms.RadioButton();
			lytButtons.SuspendLayout();
			this._panelBlack.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this._janusPicture)).BeginInit();
			this.SuspendLayout();
			// 
			// lytButtons
			// 
			resources.ApplyResources(lytButtons, "lytButtons");
			lytButtons.Controls.Add(this._asmButton);
			lytButtons.Controls.Add(btnComponents);
			lytButtons.Controls.Add(btnDevelopers);
			lytButtons.Controls.Add(this._okButton);
			lytButtons.Name = "lytButtons";
			// 
			// _asmButton
			// 
			resources.ApplyResources(this._asmButton, "_asmButton");
			this._asmButton.Name = "_asmButton";
			this._asmButton.Click += new System.EventHandler(this.ButtonAssemblyInfoClick);
			// 
			// btnComponents
			// 
			resources.ApplyResources(btnComponents, "btnComponents");
			btnComponents.Name = "btnComponents";
			btnComponents.Click += new System.EventHandler(this.ButtonShowComponentsClick);
			// 
			// btnDevelopers
			// 
			resources.ApplyResources(btnDevelopers, "btnDevelopers");
			btnDevelopers.Name = "btnDevelopers";
			btnDevelopers.Click += new System.EventHandler(this.ButtonShowDevelopersClick);
			// 
			// _okButton
			// 
			resources.ApplyResources(this._okButton, "_okButton");
			this._okButton.BackColor = System.Drawing.SystemColors.Control;
			this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
			this._okButton.Name = "_okButton";
			this._okButton.UseVisualStyleBackColor = false;
			// 
			// _panelBlack
			// 
			resources.ApplyResources(this._panelBlack, "_panelBlack");
			this._panelBlack.BackColor = System.Drawing.Color.Black;
			this._panelBlack.Controls.Add(this._janusPicture);
			this._panelBlack.Name = "_panelBlack";
			// 
			// _janusPicture
			// 
			resources.ApplyResources(this._janusPicture, "_janusPicture");
			this._janusPicture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this._janusPicture.Name = "_janusPicture";
			this._janusPicture.TabStop = false;
			// 
			// _titleLabel
			// 
			resources.ApplyResources(this._titleLabel, "_titleLabel");
			this._titleLabel.BackColor = System.Drawing.Color.Black;
			this._titleLabel.ForeColor = System.Drawing.Color.White;
			this._titleLabel.Name = "_titleLabel";
			// 
			// _versionLabel
			// 
			resources.ApplyResources(this._versionLabel, "_versionLabel");
			this._versionLabel.BackColor = System.Drawing.Color.Black;
			this._versionLabel.ForeColor = System.Drawing.Color.White;
			this._versionLabel.Name = "_versionLabel";
			// 
			// _webBrowser
			// 
			resources.ApplyResources(this._webBrowser, "_webBrowser");
			this._webBrowser.Name = "_webBrowser";
			// 
			// _fadeTimer
			// 
			this._fadeTimer.Interval = 70;
			this._fadeTimer.Tick += new System.EventHandler(this.FadeTimerTick);
			// 
			// AboutJanusForm
			// 
			this.AcceptButton = this._okButton;
			this.BackColor = System.Drawing.SystemColors.Control;
			this.CancelButton = this._okButton;
			resources.ApplyResources(this, "$this");
			this.Controls.Add(lytButtons);
			this.Controls.Add(this._webBrowser);
			this.Controls.Add(this._versionLabel);
			this.Controls.Add(this._titleLabel);
			this.Controls.Add(this._panelBlack);
			this.Name = "AboutJanusForm";
			this.ShowInTaskbar = false;
			this.Closing += new System.ComponentModel.CancelEventHandler(this.AboutJanusForm_Closing);
			lytButtons.ResumeLayout(false);
			lytButtons.PerformLayout();
			this._panelBlack.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this._janusPicture)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
コード例 #6
0
        public static FlowLayoutPanel RadioButtonFlow(IXsdPart part, string defaultSelected = "", ToolTip tooltip = null)
        {
            try
            {
                if (String.IsNullOrWhiteSpace(part.Name))
                {
                    throw new ArgumentNullException();
                }
                var panel = Container(part, tooltip);
                panel.SuspendLayout();

                var container = new FlowLayoutPanel();
                container.SuspendLayout();
                container.FlowDirection = FlowDirection.LeftToRight;
                container.AutoSize = true;
                container.Font = Methods.BaseFont;
                container.Name = "container" + part.Name;
                container.Size = new System.Drawing.Size(208, 53);

                //true false
                string selected = !String.IsNullOrWhiteSpace(part.Value) ? part.Value : defaultSelected;

                container.Controls.Add(Controls.RadioButton(part, "True", selected, tooltip));
                container.Controls.Add(Controls.RadioButton(part, "False", selected, tooltip));
                container.ResumeLayout();
                panel.Controls.Add(container);
                panel.ResumeLayout();
                return panel;
            }
            catch (Exception ex)
            {
                log.Debug(ex);
                return null;
            }
        }
コード例 #7
0
ファイル: StudentHome.Designer.cs プロジェクト: daiqun/shixi
        /// <summary>
        /// InitNotice
        /// </summary>
        public void InitNotice()
        {
            StudentExam stuExam = new StudentExam();

            stuExam.UserId    = Login.userOverall.Id;
            stuExam.Operation = 0;
            Exam[] noticeExams = studentExam.StudentExamNotice(stuExam);

            for (int i = 0; i < noticeExams.Length; i++)
            {
                FlowLayoutPanel notice01  = new System.Windows.Forms.FlowLayoutPanel();
                Label           notcieCM1 = new System.Windows.Forms.Label();
                LinkLabel       notcieCM2 = new System.Windows.Forms.LinkLabel();
                Label           notcieCM3 = new System.Windows.Forms.Label();
                notice01.SuspendLayout();
                notice01.ResumeLayout(false);
                notice01.PerformLayout();

                //
                // notice01
                //
                notice01.Controls.Add(notcieCM1);
                notice01.Controls.Add(notcieCM2);
                notice01.Controls.Add(notcieCM3);
                notice01.Location = new System.Drawing.Point(3, 3);
                notice01.Name     = "notice01";
                notice01.Size     = new System.Drawing.Size(480, 30);
                notice01.TabIndex = 0;
                //
                // notcieCM1
                //
                notcieCM1.AutoSize  = true;
                notcieCM1.ForeColor = System.Drawing.Color.Black;
                notcieCM1.Location  = new System.Drawing.Point(3, 0);
                notcieCM1.Name      = "notcieCM1";
                notcieCM1.Size      = new System.Drawing.Size(135, 16);
                notcieCM1.TabIndex  = 0;
                notcieCM1.Text      = "1.Please attend the ";
                //
                // notcieCM2
                //
                notcieCM2.AutoSize     = true;
                notcieCM2.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
                notcieCM2.LinkColor    = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(103)))), ((int)(((byte)(147)))));
                notcieCM2.Location     = new System.Drawing.Point(144, 0);
                notcieCM2.Name         = "notcieCM2";
                notcieCM2.Size         = new System.Drawing.Size(47, 16);
                notcieCM2.TabIndex     = 1;
                notcieCM2.TabStop      = true;
                notcieCM2.Text         = "\"Java\"";
                //
                // notcieCM3
                //
                notcieCM3.AutoSize  = true;
                notcieCM3.ForeColor = System.Drawing.Color.Black;
                notcieCM3.Location  = new System.Drawing.Point(197, 0);
                notcieCM3.Name      = "notcieCM3";
                notcieCM3.Size      = new System.Drawing.Size(191, 16);
                notcieCM3.TabIndex  = 2;
                notcieCM3.Text      = "exam on 2017-10- 1 at 10:00";

                notcieCM1.Text = i + 1 + ".Please attend the ";
                notcieCM2.Text = "\"" + noticeExams[i].ExamName + "\"";
                notcieCM2.Tag  = noticeExams[i].Id;
                notcieCM3.Text = "exam on " + noticeExams[i].EffectiveTime.ToShortDateString() + " at " + string.Format("{0:00}:{1:00}", noticeExams[i].EffectiveTime.Hour, noticeExams[i].EffectiveTime.Minute);

                noticeContent.Controls.Add(notice01);
                notcieCM2.Click += new System.EventHandler(ToTakeExam);
            }
        }
コード例 #8
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.Windows.Forms.FlowLayoutPanel topButtonsFlow;
            System.Windows.Forms.FlowLayoutPanel selectButtonsFlow;
            this.subDirectoryFilter = new System.Windows.Forms.ComboBox();
            this.scanButton = new System.Windows.Forms.Button();
            this.copyButton = new System.Windows.Forms.Button();
            this.moveButton = new System.Windows.Forms.Button();
            this.resultsList = new System.Windows.Forms.ListView();
            this.sourceFileColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.tvShowColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.seasonColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.episodeColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.episodeNameColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.destinationFile = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.selectAllButton = new System.Windows.Forms.Button();
            this.deselectAllButton = new System.Windows.Forms.Button();
            this.setShowButton = new System.Windows.Forms.Button();
            this.setEpisodeButton = new System.Windows.Forms.Button();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            topButtonsFlow = new System.Windows.Forms.FlowLayoutPanel();
            selectButtonsFlow = new System.Windows.Forms.FlowLayoutPanel();
            topButtonsFlow.SuspendLayout();
            selectButtonsFlow.SuspendLayout();
            this.SuspendLayout();
            // 
            // topButtonsFlow
            // 
            topButtonsFlow.Controls.Add(this.subDirectoryFilter);
            topButtonsFlow.Controls.Add(this.scanButton);
            topButtonsFlow.Controls.Add(this.copyButton);
            topButtonsFlow.Controls.Add(this.moveButton);
            topButtonsFlow.Dock = System.Windows.Forms.DockStyle.Top;
            topButtonsFlow.Location = new System.Drawing.Point(0, 0);
            topButtonsFlow.Name = "topButtonsFlow";
            topButtonsFlow.Size = new System.Drawing.Size(678, 31);
            topButtonsFlow.TabIndex = 1;
            // 
            // subDirectoryFilter
            // 
            this.subDirectoryFilter.FormattingEnabled = true;
            this.subDirectoryFilter.Location = new System.Drawing.Point(3, 3);
            this.subDirectoryFilter.Name = "subDirectoryFilter";
            this.subDirectoryFilter.Size = new System.Drawing.Size(121, 21);
            this.subDirectoryFilter.TabIndex = 0;
            this.toolTip.SetToolTip(this.subDirectoryFilter, "The subdirectory of Source Directory to search from.");
            // 
            // scanButton
            // 
            this.scanButton.Location = new System.Drawing.Point(130, 3);
            this.scanButton.Name = "scanButton";
            this.scanButton.Size = new System.Drawing.Size(93, 23);
            this.scanButton.TabIndex = 1;
            this.scanButton.Text = "Scan for Files";
            this.toolTip.SetToolTip(this.scanButton, "Scans for files in the selected subdirectory of Source Directory.");
            this.scanButton.UseVisualStyleBackColor = true;
            this.scanButton.Click += new System.EventHandler(this.ScanButtonClick);
            // 
            // copyButton
            // 
            this.copyButton.Location = new System.Drawing.Point(229, 3);
            this.copyButton.Name = "copyButton";
            this.copyButton.Size = new System.Drawing.Size(95, 23);
            this.copyButton.TabIndex = 2;
            this.copyButton.Text = "Copy to Dest.";
            this.toolTip.SetToolTip(this.copyButton, "Copies the selected episodes to the Destination Directory");
            this.copyButton.UseVisualStyleBackColor = true;
            this.copyButton.Click += new System.EventHandler(this.CopyButtonClick);
            // 
            // moveButton
            // 
            this.moveButton.Location = new System.Drawing.Point(330, 3);
            this.moveButton.Name = "moveButton";
            this.moveButton.Size = new System.Drawing.Size(102, 23);
            this.moveButton.TabIndex = 3;
            this.moveButton.Text = "Move to Dest.";
            this.toolTip.SetToolTip(this.moveButton, "Moves the selected episodes to the destination directory.");
            this.moveButton.UseVisualStyleBackColor = true;
            this.moveButton.Click += new System.EventHandler(this.MoveButtonClick);
            // 
            // resultsList
            // 
            this.resultsList.CheckBoxes = true;
            this.resultsList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.sourceFileColumn,
            this.tvShowColumn,
            this.seasonColumn,
            this.episodeColumn,
            this.episodeNameColumn,
            this.destinationFile});
            this.resultsList.Cursor = System.Windows.Forms.Cursors.Default;
            this.resultsList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.resultsList.Location = new System.Drawing.Point(0, 66);
            this.resultsList.Name = "resultsList";
            this.resultsList.Size = new System.Drawing.Size(678, 348);
            this.resultsList.TabIndex = 2;
            this.resultsList.UseCompatibleStateImageBehavior = false;
            this.resultsList.View = System.Windows.Forms.View.Details;
            this.resultsList.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.ResultsListItemChecked);
            // 
            // sourceFileColumn
            // 
            this.sourceFileColumn.Text = "Source File";
            this.sourceFileColumn.Width = 200;
            // 
            // tvShowColumn
            // 
            this.tvShowColumn.Text = "TV Show";
            this.tvShowColumn.Width = 92;
            // 
            // seasonColumn
            // 
            this.seasonColumn.Text = "Season";
            this.seasonColumn.Width = 56;
            // 
            // episodeColumn
            // 
            this.episodeColumn.Text = "Episode";
            this.episodeColumn.Width = 51;
            // 
            // episodeNameColumn
            // 
            this.episodeNameColumn.Text = "Episode Name";
            this.episodeNameColumn.Width = 99;
            // 
            // destinationFile
            // 
            this.destinationFile.Text = "Destination";
            this.destinationFile.Width = 172;
            // 
            // selectButtonsFlow
            // 
            selectButtonsFlow.Controls.Add(this.selectAllButton);
            selectButtonsFlow.Controls.Add(this.deselectAllButton);
            selectButtonsFlow.Controls.Add(this.setShowButton);
            selectButtonsFlow.Controls.Add(this.setEpisodeButton);
            selectButtonsFlow.Dock = System.Windows.Forms.DockStyle.Top;
            selectButtonsFlow.Location = new System.Drawing.Point(0, 31);
            selectButtonsFlow.Name = "selectButtonsFlow";
            selectButtonsFlow.Size = new System.Drawing.Size(678, 35);
            selectButtonsFlow.TabIndex = 3;
            // 
            // selectAllButton
            // 
            this.selectAllButton.Location = new System.Drawing.Point(3, 3);
            this.selectAllButton.Name = "selectAllButton";
            this.selectAllButton.Size = new System.Drawing.Size(75, 23);
            this.selectAllButton.TabIndex = 0;
            this.selectAllButton.Text = "Select All";
            this.toolTip.SetToolTip(this.selectAllButton, "Selects all the epsodes.");
            this.selectAllButton.UseVisualStyleBackColor = true;
            this.selectAllButton.Click += new System.EventHandler(this.SelectAllButtonClick);
            // 
            // deselectAllButton
            // 
            this.deselectAllButton.Location = new System.Drawing.Point(84, 3);
            this.deselectAllButton.Name = "deselectAllButton";
            this.deselectAllButton.Size = new System.Drawing.Size(75, 23);
            this.deselectAllButton.TabIndex = 1;
            this.deselectAllButton.Text = "Deselect All";
            this.toolTip.SetToolTip(this.deselectAllButton, "Deselects all the episodes.");
            this.deselectAllButton.UseVisualStyleBackColor = true;
            this.deselectAllButton.Click += new System.EventHandler(this.DeselectAllButtonClick);
            // 
            // setShowButton
            // 
            this.setShowButton.Location = new System.Drawing.Point(165, 3);
            this.setShowButton.Name = "setShowButton";
            this.setShowButton.Size = new System.Drawing.Size(79, 23);
            this.setShowButton.TabIndex = 2;
            this.setShowButton.Text = "Set Show";
            this.toolTip.SetToolTip(this.setShowButton, "Overrides the show of the selected episodes.");
            this.setShowButton.UseVisualStyleBackColor = true;
            this.setShowButton.Click += new System.EventHandler(this.SetShowButtonClick);
            // 
            // setEpisodeButton
            // 
            this.setEpisodeButton.Location = new System.Drawing.Point(250, 3);
            this.setEpisodeButton.Name = "setEpisodeButton";
            this.setEpisodeButton.Size = new System.Drawing.Size(75, 23);
            this.setEpisodeButton.TabIndex = 4;
            this.setEpisodeButton.Text = "Set Episode";
            this.toolTip.SetToolTip(this.setEpisodeButton, ".");
            this.setEpisodeButton.UseVisualStyleBackColor = true;
            this.setEpisodeButton.Click += new System.EventHandler(this.SetEpisodeButtonClick);
            // 
            // SortEpisodes
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.resultsList);
            this.Controls.Add(selectButtonsFlow);
            this.Controls.Add(topButtonsFlow);
            this.Name = "SortEpisodes";
            this.Size = new System.Drawing.Size(678, 414);
            this.Load += new System.EventHandler(this.SortEpisodesLoad);
            topButtonsFlow.ResumeLayout(false);
            selectButtonsFlow.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #9
0
ファイル: BreakpointEditor.cs プロジェクト: Sumez/Brewmaster
		private void InitializeComponent()
		{
			System.Windows.Forms.Label label1;
			System.Windows.Forms.Label label2;
			System.Windows.Forms.Label label3;
			System.Windows.Forms.Label label4;
			System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
			System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
			System.Windows.Forms.Label label5;
			System.Windows.Forms.Label label6;
			this._addressFromCpu = new System.Windows.Forms.RadioButton();
			this._addressFromVram = new System.Windows.Forms.RadioButton();
			this._addressFromRom = new System.Windows.Forms.RadioButton();
			this._breakOnRead = new System.Windows.Forms.CheckBox();
			this._breakOnWrite = new System.Windows.Forms.CheckBox();
			this._breakOnExecute = new System.Windows.Forms.CheckBox();
			this._cancelButton = new System.Windows.Forms.Button();
			this._okButton = new System.Windows.Forms.Button();
			this._breakBySourceLine = new System.Windows.Forms.RadioButton();
			this._breakBySymbol = new System.Windows.Forms.RadioButton();
			this._breakByAddress = new System.Windows.Forms.RadioButton();
			this._fileSelect = new System.Windows.Forms.ComboBox();
			this._fileLineNumber = new System.Windows.Forms.TextBox();
			this._symbol = new System.Windows.Forms.TextBox();
			this._fromAddress = new System.Windows.Forms.TextBox();
			this._toAddress = new System.Windows.Forms.TextBox();
			this._conditions = new System.Windows.Forms.TextBox();
			label1 = new System.Windows.Forms.Label();
			label2 = new System.Windows.Forms.Label();
			label3 = new System.Windows.Forms.Label();
			label4 = new System.Windows.Forms.Label();
			flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
			flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
			label5 = new System.Windows.Forms.Label();
			label6 = new System.Windows.Forms.Label();
			flowLayoutPanel1.SuspendLayout();
			flowLayoutPanel2.SuspendLayout();
			this.SuspendLayout();
			// 
			// label1
			// 
			label1.AutoSize = true;
			label1.Location = new System.Drawing.Point(183, 433);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(30, 13);
			label1.TabIndex = 7;
			label1.Text = "Line:";
			// 
			// label2
			// 
			label2.AutoSize = true;
			label2.Location = new System.Drawing.Point(28, 84);
			label2.Name = "label2";
			label2.Size = new System.Drawing.Size(33, 13);
			label2.TabIndex = 10;
			label2.Text = "From:";
			// 
			// label3
			// 
			label3.AutoSize = true;
			label3.Location = new System.Drawing.Point(124, 84);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(23, 13);
			label3.TabIndex = 12;
			label3.Text = "To:";
			// 
			// label4
			// 
			label4.AutoSize = true;
			label4.Location = new System.Drawing.Point(205, 84);
			label4.Name = "label4";
			label4.Size = new System.Drawing.Size(50, 13);
			label4.TabIndex = 14;
			label4.Text = "(optional)";
			// 
			// flowLayoutPanel1
			// 
			flowLayoutPanel1.AutoSize = true;
			flowLayoutPanel1.Controls.Add(this._addressFromCpu);
			flowLayoutPanel1.Controls.Add(this._addressFromVram);
			flowLayoutPanel1.Controls.Add(this._addressFromRom);
			flowLayoutPanel1.Location = new System.Drawing.Point(31, 103);
			flowLayoutPanel1.Name = "flowLayoutPanel1";
			flowLayoutPanel1.Size = new System.Drawing.Size(241, 23);
			flowLayoutPanel1.TabIndex = 15;
			// 
			// _addressFromCpu
			// 
			this._addressFromCpu.AutoSize = true;
			this._addressFromCpu.Checked = true;
			this._addressFromCpu.Location = new System.Drawing.Point(3, 3);
			this._addressFromCpu.Name = "_addressFromCpu";
			this._addressFromCpu.Size = new System.Drawing.Size(82, 17);
			this._addressFromCpu.TabIndex = 1;
			this._addressFromCpu.TabStop = true;
			this._addressFromCpu.Text = "CPU / RAM";
			this._addressFromCpu.UseVisualStyleBackColor = true;
			// 
			// _addressFromVram
			// 
			this._addressFromVram.AutoSize = true;
			this._addressFromVram.Location = new System.Drawing.Point(91, 3);
			this._addressFromVram.Name = "_addressFromVram";
			this._addressFromVram.Size = new System.Drawing.Size(89, 17);
			this._addressFromVram.TabIndex = 2;
			this._addressFromVram.Text = "PPU / VRAM";
			this._addressFromVram.UseVisualStyleBackColor = true;
			// 
			// _addressFromRom
			// 
			this._addressFromRom.AutoSize = true;
			this._addressFromRom.Location = new System.Drawing.Point(186, 3);
			this._addressFromRom.Name = "_addressFromRom";
			this._addressFromRom.Size = new System.Drawing.Size(50, 17);
			this._addressFromRom.TabIndex = 0;
			this._addressFromRom.Text = "ROM";
			this._addressFromRom.UseVisualStyleBackColor = true;
			// 
			// flowLayoutPanel2
			// 
			flowLayoutPanel2.AutoSize = true;
			flowLayoutPanel2.Controls.Add(this._breakOnRead);
			flowLayoutPanel2.Controls.Add(this._breakOnWrite);
			flowLayoutPanel2.Controls.Add(this._breakOnExecute);
			flowLayoutPanel2.Location = new System.Drawing.Point(9, 152);
			flowLayoutPanel2.Name = "flowLayoutPanel2";
			flowLayoutPanel2.Size = new System.Drawing.Size(260, 23);
			flowLayoutPanel2.TabIndex = 16;
			// 
			// _breakOnRead
			// 
			this._breakOnRead.AutoSize = true;
			this._breakOnRead.Checked = true;
			this._breakOnRead.CheckState = System.Windows.Forms.CheckState.Checked;
			this._breakOnRead.Location = new System.Drawing.Point(3, 3);
			this._breakOnRead.Name = "_breakOnRead";
			this._breakOnRead.Size = new System.Drawing.Size(52, 17);
			this._breakOnRead.TabIndex = 0;
			this._breakOnRead.Text = "Read";
			this._breakOnRead.UseVisualStyleBackColor = true;
			// 
			// _breakOnWrite
			// 
			this._breakOnWrite.AutoSize = true;
			this._breakOnWrite.Checked = true;
			this._breakOnWrite.CheckState = System.Windows.Forms.CheckState.Checked;
			this._breakOnWrite.Location = new System.Drawing.Point(61, 3);
			this._breakOnWrite.Name = "_breakOnWrite";
			this._breakOnWrite.Size = new System.Drawing.Size(51, 17);
			this._breakOnWrite.TabIndex = 1;
			this._breakOnWrite.Text = "Write";
			this._breakOnWrite.UseVisualStyleBackColor = true;
			// 
			// _breakOnExecute
			// 
			this._breakOnExecute.AutoSize = true;
			this._breakOnExecute.Location = new System.Drawing.Point(118, 3);
			this._breakOnExecute.Name = "_breakOnExecute";
			this._breakOnExecute.Size = new System.Drawing.Size(65, 17);
			this._breakOnExecute.TabIndex = 2;
			this._breakOnExecute.Text = "Execute";
			this._breakOnExecute.UseVisualStyleBackColor = true;
			// 
			// label5
			// 
			label5.AutoSize = true;
			label5.Location = new System.Drawing.Point(9, 136);
			label5.Name = "label5";
			label5.Size = new System.Drawing.Size(53, 13);
			label5.TabIndex = 17;
			label5.Text = "Break on:";
			// 
			// label6
			// 
			label6.AutoSize = true;
			label6.Location = new System.Drawing.Point(9, 178);
			label6.Name = "label6";
			label6.Size = new System.Drawing.Size(59, 13);
			label6.TabIndex = 18;
			label6.Text = "Conditions:";
			label6.Visible = false;
			// 
			// _cancelButton
			// 
			this._cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this._cancelButton.Location = new System.Drawing.Point(198, 182);
			this._cancelButton.Name = "_cancelButton";
			this._cancelButton.Size = new System.Drawing.Size(75, 23);
			this._cancelButton.TabIndex = 1;
			this._cancelButton.Text = "Cancel";
			this._cancelButton.UseVisualStyleBackColor = true;
			// 
			// _okButton
			// 
			this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this._okButton.Location = new System.Drawing.Point(117, 182);
			this._okButton.Name = "_okButton";
			this._okButton.Size = new System.Drawing.Size(75, 23);
			this._okButton.TabIndex = 2;
			this._okButton.Text = "OK";
			this._okButton.UseVisualStyleBackColor = true;
			this._okButton.Click += new System.EventHandler(this._okButton_Click);
			// 
			// _breakBySourceLine
			// 
			this._breakBySourceLine.Enabled = false;
			this._breakBySourceLine.Location = new System.Drawing.Point(12, 407);
			this._breakBySourceLine.Name = "_breakBySourceLine";
			this._breakBySourceLine.Size = new System.Drawing.Size(260, 17);
			this._breakBySourceLine.TabIndex = 3;
			this._breakBySourceLine.Text = "Source code:";
			this._breakBySourceLine.UseVisualStyleBackColor = true;
			// 
			// _breakBySymbol
			// 
			this._breakBySymbol.Location = new System.Drawing.Point(12, 9);
			this._breakBySymbol.Name = "_breakBySymbol";
			this._breakBySymbol.Size = new System.Drawing.Size(260, 17);
			this._breakBySymbol.TabIndex = 4;
			this._breakBySymbol.Text = "Symbol:";
			this._breakBySymbol.UseVisualStyleBackColor = true;
			// 
			// _breakByAddress
			// 
			this._breakByAddress.Checked = true;
			this._breakByAddress.Location = new System.Drawing.Point(12, 58);
			this._breakByAddress.Name = "_breakByAddress";
			this._breakByAddress.Size = new System.Drawing.Size(261, 17);
			this._breakByAddress.TabIndex = 5;
			this._breakByAddress.TabStop = true;
			this._breakByAddress.Text = "Specific address:";
			this._breakByAddress.UseVisualStyleBackColor = true;
			// 
			// _fileSelect
			// 
			this._fileSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this._fileSelect.FormattingEnabled = true;
			this._fileSelect.Location = new System.Drawing.Point(31, 430);
			this._fileSelect.Name = "_fileSelect";
			this._fileSelect.Size = new System.Drawing.Size(147, 21);
			this._fileSelect.TabIndex = 6;
			// 
			// _fileLineNumber
			// 
			this._fileLineNumber.Location = new System.Drawing.Point(215, 430);
			this._fileLineNumber.Name = "_fileLineNumber";
			this._fileLineNumber.Size = new System.Drawing.Size(43, 20);
			this._fileLineNumber.TabIndex = 8;
			// 
			// _symbol
			// 
			this._symbol.Location = new System.Drawing.Point(31, 32);
			this._symbol.Name = "_symbol";
			this._symbol.Size = new System.Drawing.Size(147, 20);
			this._symbol.TabIndex = 9;
			// 
			// _fromAddress
			// 
			this._fromAddress.Location = new System.Drawing.Point(61, 81);
			this._fromAddress.Name = "_fromAddress";
			this._fromAddress.Size = new System.Drawing.Size(57, 20);
			this._fromAddress.TabIndex = 11;
			// 
			// _toAddress
			// 
			this._toAddress.Location = new System.Drawing.Point(146, 81);
			this._toAddress.Name = "_toAddress";
			this._toAddress.Size = new System.Drawing.Size(57, 20);
			this._toAddress.TabIndex = 13;
			// 
			// _conditions
			// 
			this._conditions.AcceptsReturn = true;
			this._conditions.Location = new System.Drawing.Point(12, 194);
			this._conditions.Multiline = true;
			this._conditions.Name = "_conditions";
			this._conditions.Size = new System.Drawing.Size(260, 86);
			this._conditions.TabIndex = 19;
			this._conditions.Visible = false;
			// 
			// BreakpointEditor
			// 
			this.AcceptButton = this._okButton;
			this.CancelButton = this._cancelButton;
			this.ClientSize = new System.Drawing.Size(285, 217);
			this.Controls.Add(this._conditions);
			this.Controls.Add(label6);
			this.Controls.Add(label5);
			this.Controls.Add(flowLayoutPanel2);
			this.Controls.Add(flowLayoutPanel1);
			this.Controls.Add(label4);
			this.Controls.Add(this._toAddress);
			this.Controls.Add(label3);
			this.Controls.Add(this._fromAddress);
			this.Controls.Add(label2);
			this.Controls.Add(this._symbol);
			this.Controls.Add(this._fileLineNumber);
			this.Controls.Add(label1);
			this.Controls.Add(this._fileSelect);
			this.Controls.Add(this._breakByAddress);
			this.Controls.Add(this._breakBySymbol);
			this.Controls.Add(this._breakBySourceLine);
			this.Controls.Add(this._okButton);
			this.Controls.Add(this._cancelButton);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "BreakpointEditor";
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.Text = "Breakpoint";
			flowLayoutPanel1.ResumeLayout(false);
			flowLayoutPanel1.PerformLayout();
			flowLayoutPanel2.ResumeLayout(false);
			flowLayoutPanel2.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 ///   the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel tableMain;
     System.Windows.Forms.FlowLayoutPanel  flowBottomButtons;
     this.closeButton  = new System.Windows.Forms.Button();
     this.saveButton   = new System.Windows.Forms.Button();
     this.list         = new System.Windows.Forms.ListBox();
     this.text         = new System.Windows.Forms.TextBox();
     this.addButton    = new System.Windows.Forms.Button();
     this.removeButton = new System.Windows.Forms.Button();
     tableMain         = new System.Windows.Forms.TableLayoutPanel();
     flowBottomButtons = new System.Windows.Forms.FlowLayoutPanel();
     tableMain.SuspendLayout();
     flowBottomButtons.SuspendLayout();
     this.SuspendLayout();
     //
     // tableMain
     //
     tableMain.ColumnCount = 2;
     tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     tableMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 118F));
     tableMain.Controls.Add(flowBottomButtons, 0, 2);
     tableMain.Controls.Add(this.list, 0, 1);
     tableMain.Controls.Add(this.text, 0, 0);
     tableMain.Controls.Add(this.addButton, 1, 0);
     tableMain.Controls.Add(this.removeButton, 1, 1);
     tableMain.Dock     = System.Windows.Forms.DockStyle.Fill;
     tableMain.Location = new System.Drawing.Point(0, 0);
     tableMain.Name     = "tableMain";
     tableMain.RowCount = 3;
     tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
     tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     tableMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     tableMain.Size     = new System.Drawing.Size(306, 237);
     tableMain.TabIndex = 0;
     //
     // flowBottomButtons
     //
     tableMain.SetColumnSpan(flowBottomButtons, 2);
     flowBottomButtons.Controls.Add(this.closeButton);
     flowBottomButtons.Controls.Add(this.saveButton);
     flowBottomButtons.Dock          = System.Windows.Forms.DockStyle.Fill;
     flowBottomButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     flowBottomButtons.Location      = new System.Drawing.Point(0, 207);
     flowBottomButtons.Margin        = new System.Windows.Forms.Padding(0);
     flowBottomButtons.Name          = "flowBottomButtons";
     flowBottomButtons.Size          = new System.Drawing.Size(306, 30);
     flowBottomButtons.TabIndex      = 0;
     //
     // closeButton
     //
     this.closeButton.Location = new System.Drawing.Point(228, 3);
     this.closeButton.Name     = "closeButton";
     this.closeButton.Size     = new System.Drawing.Size(75, 23);
     this.closeButton.TabIndex = 1;
     this.closeButton.Text     = "Close";
     this.closeButton.UseVisualStyleBackColor = true;
     this.closeButton.Click += new System.EventHandler(this.CloseButtonClick);
     //
     // saveButton
     //
     this.saveButton.Location = new System.Drawing.Point(147, 3);
     this.saveButton.Name     = "saveButton";
     this.saveButton.Size     = new System.Drawing.Size(75, 23);
     this.saveButton.TabIndex = 0;
     this.saveButton.Text     = "OK";
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
     //
     // list
     //
     this.list.Dock = System.Windows.Forms.DockStyle.Fill;
     this.list.FormattingEnabled = true;
     this.list.Location          = new System.Drawing.Point(3, 31);
     this.list.Name     = "list";
     this.list.Size     = new System.Drawing.Size(182, 173);
     this.list.TabIndex = 1;
     //
     // text
     //
     this.text.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.text.Location = new System.Drawing.Point(3, 3);
     this.text.Name     = "text";
     this.text.Size     = new System.Drawing.Size(182, 20);
     this.text.TabIndex = 2;
     //
     // addButton
     //
     this.addButton.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.addButton.Location = new System.Drawing.Point(191, 3);
     this.addButton.Name     = "addButton";
     this.addButton.Size     = new System.Drawing.Size(112, 22);
     this.addButton.TabIndex = 3;
     this.addButton.Text     = "Add";
     this.addButton.UseVisualStyleBackColor = true;
     this.addButton.Click += new System.EventHandler(this.AddButtonClick);
     //
     // removeButton
     //
     this.removeButton.Dock     = System.Windows.Forms.DockStyle.Top;
     this.removeButton.Location = new System.Drawing.Point(191, 31);
     this.removeButton.Name     = "removeButton";
     this.removeButton.Size     = new System.Drawing.Size(112, 23);
     this.removeButton.TabIndex = 4;
     this.removeButton.Text     = "Remove";
     this.removeButton.UseVisualStyleBackColor = true;
     this.removeButton.Click += new System.EventHandler(this.RemoveButtonClick);
     //
     // ListDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(306, 237);
     this.ControlBox          = false;
     this.Controls.Add(tableMain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Name            = "ListDialog";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "ListDialog";
     this.Load           += new System.EventHandler(this.ListDialogLoad);
     tableMain.ResumeLayout(false);
     tableMain.PerformLayout();
     flowBottomButtons.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #11
0
		public void AutoSizeGrowAndShrink_ResizeIfSmaller ()
		{
			var panel = new FlowLayoutPanel ();
			panel.SuspendLayout ();
			panel.AutoSize = true;
			panel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
			panel.WrapContents = true;
			panel.Bounds = new Rectangle (5, 5, 100, 100);
			panel.Dock = DockStyle.None;

			var c = new Label ();
			c.Size = new Size (90, 25);
			panel.Controls.Add (c);
			f.Controls.Add(panel);
			panel.ResumeLayout (true);

			Assert.AreEqual (96, panel.Width, "1"); // 90 + 2*3 margin
			Assert.AreEqual (25, panel.Height, "2");
		}
コード例 #12
0
ファイル: Main.cs プロジェクト: Moones/OpenEnsage
 private void InitializeComponent()
 {
     components = new Container();
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Main));
     tabControl1 = new TabControl();
     mainPage = new TabPage();
     newVersionCheck = new CheckBox();
     groupBox1 = new GroupBox();
     newsBox = new Label();
     userGroupLabel = new Label();
     hackVersionLabel = new Label();
     loaderVersionLabel = new Label();
     startButton = new Button();
     reloadButton = new Button();
     label1 = new Label();
     chatPage = new TabPage();
     ircTabControl = new TabControl();
     tabPage1 = new TabPage();
     splitContainer1 = new SplitContainer();
     label4 = new Label();
     ircLanguage = new ComboBox();
     label2 = new Label();
     label3 = new Label();
     enterChatButton = new Button();
     autoEnterChatCheckBox = new CheckBox();
     statusBox = new ListBox();
     tabPage2 = new TabPage();
     splitContainer2 = new SplitContainer();
     splitContainer3 = new SplitContainer();
     ircMessageBox = new RichTextBox();
     ircUserList = new ListBox();
     flowLayoutPanel1 = new FlowLayoutPanel();
     ircSendButton = new Button();
     ircChatText = new TextBox();
     ircCloseButton = new Button();
     scriptsPage = new TabPage();
     scriptsDataGrid = new DataGridView();
     LoadScript = new DataGridViewCheckBoxColumn();
     ScriptName = new DataGridViewTextBoxColumn();
     ScriptDescription = new DataGridViewTextBoxColumn();
     State = new DataGridViewImageColumn();
     ConfigColumn = new DataGridViewImageColumn();
     listBinding = new BindingSource(components);
     scriptConfigPage = new TabPage();
     scriptConfigGrid = new PropertyGrid();
     repository = new TabPage();
     tableLayoutPanel1 = new TableLayoutPanel();
     tableLayoutPanel2 = new TableLayoutPanel();
     tableLayoutPanel3 = new TableLayoutPanel();
     repoName = new TextBox();
     addRepo = new Button();
     removeRepo = new Button();
     repoScripts = new TreeView();
     configPage = new TabPage();
     configGrid = new PropertyGrid();
     helpPage = new TabPage();
     changelogLink = new LinkLabel();
     bugLink = new LinkLabel();
     scriptsLink = new LinkLabel();
     installLink = new LinkLabel();
     dotaFindTimer = new System.Windows.Forms.Timer(components);
     taskbarIcon = new NotifyIcon(components);
     injectWorker = new BackgroundWorker();
     pipeWorker = new BackgroundWorker();
     serverWorker = new BackgroundWorker();
     updateTimer = new System.Windows.Forms.Timer(components);
     loadWorker = new BackgroundWorker();
     DisableVAC = new CheckBox();
     tabControl1.SuspendLayout();
     mainPage.SuspendLayout();
     groupBox1.SuspendLayout();
     chatPage.SuspendLayout();
     ircTabControl.SuspendLayout();
     tabPage1.SuspendLayout();
     splitContainer1.BeginInit();
     splitContainer1.Panel1.SuspendLayout();
     splitContainer1.Panel2.SuspendLayout();
     splitContainer1.SuspendLayout();
     tabPage2.SuspendLayout();
     splitContainer2.BeginInit();
     splitContainer2.Panel1.SuspendLayout();
     splitContainer2.Panel2.SuspendLayout();
     splitContainer2.SuspendLayout();
     splitContainer3.BeginInit();
     splitContainer3.Panel1.SuspendLayout();
     splitContainer3.Panel2.SuspendLayout();
     splitContainer3.SuspendLayout();
     flowLayoutPanel1.SuspendLayout();
     scriptsPage.SuspendLayout();
     ((ISupportInitialize)scriptsDataGrid).BeginInit();
     ((ISupportInitialize)listBinding).BeginInit();
     scriptConfigPage.SuspendLayout();
     repository.SuspendLayout();
     tableLayoutPanel1.SuspendLayout();
     tableLayoutPanel2.SuspendLayout();
     tableLayoutPanel3.SuspendLayout();
     configPage.SuspendLayout();
     helpPage.SuspendLayout();
     SuspendLayout();
     tabControl1.Controls.Add(mainPage);
     tabControl1.Controls.Add(chatPage);
     tabControl1.Controls.Add(scriptsPage);
     tabControl1.Controls.Add(scriptConfigPage);
     tabControl1.Controls.Add(repository);
     tabControl1.Controls.Add(configPage);
     tabControl1.Controls.Add(helpPage);
     tabControl1.Dock = DockStyle.Fill;
     tabControl1.Location = new Point(0, 0);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new Size(683, 428);
     tabControl1.TabIndex = 0;
     tabControl1.SelectedIndexChanged += new EventHandler(tabControl1_SelectedIndexChanged);
     mainPage.Controls.Add(DisableVAC);
     mainPage.Controls.Add(newVersionCheck);
     mainPage.Controls.Add(groupBox1);
     mainPage.Controls.Add(userGroupLabel);
     mainPage.Controls.Add(hackVersionLabel);
     mainPage.Controls.Add(loaderVersionLabel);
     mainPage.Controls.Add(startButton);
     mainPage.Controls.Add(reloadButton);
     mainPage.Controls.Add(label1);
     mainPage.Location = new Point(4, 22);
     mainPage.Name = "mainPage";
     mainPage.Padding = new Padding(3);
     mainPage.Size = new Size(675, 402);
     mainPage.TabIndex = 0;
     mainPage.Text = "Main";
     mainPage.UseVisualStyleBackColor = true;
     newVersionCheck.AutoSize = true;
     newVersionCheck.Location = new Point(9, 94);
     newVersionCheck.Name = "newVersionCheck";
     newVersionCheck.Size = new Size(105, 17);
     newVersionCheck.TabIndex = 8;
     newVersionCheck.Text = "Use new version";
     newVersionCheck.UseVisualStyleBackColor = true;
     newVersionCheck.Visible = false;
     groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     groupBox1.Controls.Add(newsBox);
     groupBox1.Location = new Point(194, 6);
     groupBox1.Name = "groupBox1";
     groupBox1.Size = new Size(462, 358);
     groupBox1.TabIndex = 7;
     groupBox1.TabStop = false;
     groupBox1.Text = "News";
     newsBox.Dock = DockStyle.Fill;
     newsBox.Location = new Point(3, 16);
     newsBox.Name = "newsBox";
     newsBox.Size = new Size(456, 339);
     newsBox.TabIndex = 0;
     userGroupLabel.AutoSize = true;
     userGroupLabel.Dock = DockStyle.Bottom;
     userGroupLabel.Location = new Point(3, 360);
     userGroupLabel.Name = "userGroupLabel";
     userGroupLabel.Size = new Size(86, 13);
     userGroupLabel.TabIndex = 6;
     userGroupLabel.Text = "Account Status: ";
     hackVersionLabel.AutoSize = true;
     hackVersionLabel.Dock = DockStyle.Bottom;
     hackVersionLabel.Location = new Point(3, 373);
     hackVersionLabel.Name = "hackVersionLabel";
     hackVersionLabel.Size = new Size(76, 13);
     hackVersionLabel.TabIndex = 5;
     hackVersionLabel.Text = "Hack version: ";
     loaderVersionLabel.AutoSize = true;
     loaderVersionLabel.Dock = DockStyle.Bottom;
     loaderVersionLabel.Location = new Point(3, 386);
     loaderVersionLabel.Name = "loaderVersionLabel";
     loaderVersionLabel.Size = new Size(83, 13);
     loaderVersionLabel.TabIndex = 4;
     loaderVersionLabel.Text = "Loader version: ";
     startButton.Enabled = false;
     startButton.Location = new Point(9, 28);
     startButton.Name = "startButton";
     startButton.Size = new Size(121, 23);
     startButton.TabIndex = 3;
     startButton.Text = "Start Dota2";
     startButton.UseVisualStyleBackColor = true;
     startButton.Click += new EventHandler(startButton_Click);
     reloadButton.Location = new Point(9, 57);
     reloadButton.Name = "reloadButton";
     reloadButton.Size = new Size(121, 21);
     reloadButton.TabIndex = 2;
     reloadButton.Text = "Reload Scripts";
     reloadButton.UseVisualStyleBackColor = true;
     reloadButton.Click += new EventHandler(reloadButton_Click);
     label1.AutoSize = true;
     label1.Location = new Point(8, 3);
     label1.Name = "label1";
     label1.Size = new Size(40, 13);
     label1.TabIndex = 1;
     label1.Text = "Status:";
     chatPage.Controls.Add(ircTabControl);
     chatPage.Location = new Point(4, 22);
     chatPage.Name = "chatPage";
     chatPage.Size = new Size(675, 402);
     chatPage.TabIndex = 6;
     chatPage.Text = "Chat";
     chatPage.UseVisualStyleBackColor = true;
     ircTabControl.Appearance = TabAppearance.Buttons;
     ircTabControl.Controls.Add(tabPage1);
     ircTabControl.Controls.Add(tabPage2);
     ircTabControl.Dock = DockStyle.Fill;
     ircTabControl.ItemSize = new Size(0, 1);
     ircTabControl.Location = new Point(0, 0);
     ircTabControl.Name = "ircTabControl";
     ircTabControl.SelectedIndex = 0;
     ircTabControl.Size = new Size(675, 402);
     ircTabControl.SizeMode = TabSizeMode.Fixed;
     ircTabControl.TabIndex = 7;
     tabPage1.Controls.Add(splitContainer1);
     tabPage1.Location = new Point(4, 5);
     tabPage1.Name = "tabPage1";
     tabPage1.Padding = new Padding(3);
     tabPage1.Size = new Size(667, 393);
     tabPage1.TabIndex = 0;
     tabPage1.Text = "tabPage1";
     tabPage1.UseVisualStyleBackColor = true;
     splitContainer1.Dock = DockStyle.Fill;
     splitContainer1.FixedPanel = FixedPanel.Panel1;
     splitContainer1.IsSplitterFixed = true;
     splitContainer1.Location = new Point(3, 3);
     splitContainer1.Name = "splitContainer1";
     splitContainer1.Orientation = Orientation.Horizontal;
     splitContainer1.Panel1.Controls.Add(label4);
     splitContainer1.Panel1.Controls.Add(ircLanguage);
     splitContainer1.Panel1.Controls.Add(label2);
     splitContainer1.Panel1.Controls.Add(label3);
     splitContainer1.Panel1.Controls.Add(enterChatButton);
     splitContainer1.Panel1.Controls.Add(autoEnterChatCheckBox);
     splitContainer1.Panel2.Controls.Add(statusBox);
     splitContainer1.Size = new Size(661, 387);
     splitContainer1.SplitterDistance = 70;
     splitContainer1.TabIndex = 5;
     label4.AutoSize = true;
     label4.Location = new Point(270, 20);
     label4.Name = "label4";
     label4.Size = new Size(58, 13);
     label4.TabIndex = 6;
     label4.Text = "Language:";
     ircLanguage.DropDownStyle = ComboBoxStyle.DropDownList;
     ircLanguage.FormattingEnabled = true;
     ircLanguage.Items.AddRange(new object[3]
     {
      "English",
      "Russian",
      "German"
     });
     ircLanguage.Location = new Point(334, 16);
     ircLanguage.Name = "ircLanguage";
     ircLanguage.Size = new Size(121, 21);
     ircLanguage.TabIndex = 5;
     label2.AutoSize = true;
     label2.Location = new Point(3, 0);
     label2.Name = "label2";
     label2.Size = new Size(385, 13);
     label2.TabIndex = 2;
     label2.Text = "The chat will connect to irc.rizon.net:6697/zynox with your forum account name.";
     label3.AutoSize = true;
     label3.Location = new Point(3, 53);
     label3.Name = "label3";
     label3.Size = new Size(40, 13);
     label3.TabIndex = 4;
     label3.Text = "Status:";
     enterChatButton.Location = new Point(6, 16);
     enterChatButton.Name = "enterChatButton";
     enterChatButton.Size = new Size(75, 22);
     enterChatButton.TabIndex = 0;
     enterChatButton.Text = "Enter chat";
     enterChatButton.UseVisualStyleBackColor = true;
     enterChatButton.Click += new EventHandler(enterChatButton_Click);
     autoEnterChatCheckBox.AutoSize = true;
     autoEnterChatCheckBox.Location = new Point(87, 20);
     autoEnterChatCheckBox.Name = "autoEnterChatCheckBox";
     autoEnterChatCheckBox.Size = new Size(125, 17);
     autoEnterChatCheckBox.TabIndex = 1;
     autoEnterChatCheckBox.Text = "Enter chat on startup";
     autoEnterChatCheckBox.UseVisualStyleBackColor = true;
     autoEnterChatCheckBox.CheckedChanged += new EventHandler(autoEnterChatCheckBox_CheckedChanged);
     statusBox.Dock = DockStyle.Fill;
     statusBox.FormattingEnabled = true;
     statusBox.Location = new Point(0, 0);
     statusBox.Name = "statusBox";
     statusBox.Size = new Size(661, 313);
     statusBox.TabIndex = 3;
     tabPage2.Controls.Add(splitContainer2);
     tabPage2.Location = new Point(4, 5);
     tabPage2.Name = "tabPage2";
     tabPage2.Padding = new Padding(3);
     tabPage2.Size = new Size(667, 393);
     tabPage2.TabIndex = 1;
     tabPage2.Text = "tabPage2";
     tabPage2.UseVisualStyleBackColor = true;
     splitContainer2.Dock = DockStyle.Fill;
     splitContainer2.FixedPanel = FixedPanel.Panel2;
     splitContainer2.IsSplitterFixed = true;
     splitContainer2.Location = new Point(3, 3);
     splitContainer2.Name = "splitContainer2";
     splitContainer2.Orientation = Orientation.Horizontal;
     splitContainer2.Panel1.Controls.Add(splitContainer3);
     splitContainer2.Panel2.Controls.Add(flowLayoutPanel1);
     splitContainer2.Size = new Size(661, 387);
     splitContainer2.SplitterDistance = 354;
     splitContainer2.TabIndex = 5;
     splitContainer3.Dock = DockStyle.Fill;
     splitContainer3.Location = new Point(0, 0);
     splitContainer3.Name = "splitContainer3";
     splitContainer3.Panel1.Controls.Add(ircMessageBox);
     splitContainer3.Panel2.Controls.Add(ircUserList);
     splitContainer3.Size = new Size(661, 354);
     splitContainer3.SplitterDistance = 509;
     splitContainer3.TabIndex = 0;
     ircMessageBox.Dock = DockStyle.Fill;
     ircMessageBox.Location = new Point(0, 0);
     ircMessageBox.Name = "ircMessageBox";
     ircMessageBox.ReadOnly = true;
     ircMessageBox.Size = new Size(509, 354);
     ircMessageBox.TabIndex = 4;
     ircMessageBox.Text = "";
     ircUserList.Dock = DockStyle.Fill;
     ircUserList.DrawMode = DrawMode.OwnerDrawVariable;
     ircUserList.FormattingEnabled = true;
     ircUserList.Location = new Point(0, 0);
     ircUserList.Name = "ircUserList";
     ircUserList.Size = new Size(148, 354);
     ircUserList.TabIndex = 4;
     ircUserList.DrawItem += new DrawItemEventHandler(ircUserList_DrawItem);
     ircUserList.SelectedIndexChanged += new EventHandler(ircUserList_SelectedIndexChanged);
     ircUserList.Resize += new EventHandler(ircUserList_Resize);
     flowLayoutPanel1.Controls.Add(ircSendButton);
     flowLayoutPanel1.Controls.Add(ircChatText);
     flowLayoutPanel1.Controls.Add(ircCloseButton);
     flowLayoutPanel1.Dock = DockStyle.Fill;
     flowLayoutPanel1.Location = new Point(0, 0);
     flowLayoutPanel1.Name = "flowLayoutPanel1";
     flowLayoutPanel1.Size = new Size(661, 29);
     flowLayoutPanel1.TabIndex = 4;
     flowLayoutPanel1.Resize += new EventHandler(flowLayoutPanel1_Resize);
     ircSendButton.Location = new Point(3, 3);
     ircSendButton.Name = "ircSendButton";
     ircSendButton.Size = new Size(75, 20);
     ircSendButton.TabIndex = 1;
     ircSendButton.Text = "Send";
     ircSendButton.UseVisualStyleBackColor = true;
     ircSendButton.Click += new EventHandler(ircSendButton_Click);
     ircChatText.AcceptsTab = true;
     ircChatText.Location = new Point(84, 3);
     ircChatText.Multiline = true;
     ircChatText.Name = "ircChatText";
     ircChatText.Size = new Size(492, 20);
     ircChatText.TabIndex = 2;
     ircChatText.KeyDown += new KeyEventHandler(ircChatText_KeyDown);
     ircChatText.KeyPress += new KeyPressEventHandler(ircChatText_KeyPress);
     ircCloseButton.Location = new Point(582, 3);
     ircCloseButton.Name = "ircCloseButton";
     ircCloseButton.Size = new Size(74, 20);
     ircCloseButton.TabIndex = 0;
     ircCloseButton.Text = "Quit Chat";
     ircCloseButton.UseVisualStyleBackColor = true;
     ircCloseButton.Click += new EventHandler(ircCloseButton_Click);
     scriptsPage.Controls.Add(scriptsDataGrid);
     scriptsPage.Location = new Point(4, 22);
     scriptsPage.Name = "scriptsPage";
     scriptsPage.Padding = new Padding(3);
     scriptsPage.Size = new Size(675, 402);
     scriptsPage.TabIndex = 1;
     scriptsPage.Text = "Scripts";
     scriptsPage.UseVisualStyleBackColor = true;
     scriptsDataGrid.AllowUserToAddRows = false;
     scriptsDataGrid.AllowUserToDeleteRows = false;
     scriptsDataGrid.AllowUserToResizeColumns = false;
     scriptsDataGrid.AllowUserToResizeRows = false;
     scriptsDataGrid.AutoGenerateColumns = false;
     scriptsDataGrid.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     scriptsDataGrid.Columns.AddRange(LoadScript, ScriptName, ScriptDescription, State, ConfigColumn);
     scriptsDataGrid.DataSource = listBinding;
     scriptsDataGrid.Dock = DockStyle.Fill;
     scriptsDataGrid.Location = new Point(3, 3);
     scriptsDataGrid.Name = "scriptsDataGrid";
     scriptsDataGrid.Size = new Size(669, 396);
     scriptsDataGrid.TabIndex = 0;
     scriptsDataGrid.CellContentClick += new DataGridViewCellEventHandler(scriptsDataGrid_CellContentClick);
     scriptsDataGrid.CellFormatting += new DataGridViewCellFormattingEventHandler(scriptsDataGrid_CellFormatting);
     LoadScript.DataPropertyName = "LoadScript";
     LoadScript.HeaderText = "Load";
     LoadScript.Name = "LoadScript";
     LoadScript.Width = 38;
     ScriptName.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
     ScriptName.DataPropertyName = "ScriptName";
     ScriptName.HeaderText = "Name";
     ScriptName.Name = "ScriptName";
     ScriptName.ReadOnly = true;
     ScriptName.Width = 60;
     ScriptDescription.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
     ScriptDescription.DataPropertyName = "ScriptDescription";
     ScriptDescription.HeaderText = "Description";
     ScriptDescription.Name = "ScriptDescription";
     ScriptDescription.ReadOnly = true;
     State.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
     State.HeaderText = "Libs";
     State.MinimumWidth = 16;
     State.Name = "State";
     State.ReadOnly = true;
     State.Width = 32;
     ConfigColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
     ConfigColumn.HeaderText = "Config";
     ConfigColumn.Name = "ConfigColumn";
     ConfigColumn.ReadOnly = true;
     ConfigColumn.Width = 43;
     scriptConfigPage.Controls.Add(scriptConfigGrid);
     scriptConfigPage.Location = new Point(4, 22);
     scriptConfigPage.Name = "scriptConfigPage";
     scriptConfigPage.Size = new Size(675, 402);
     scriptConfigPage.TabIndex = 5;
     scriptConfigPage.Text = "Script-Config";
     scriptConfigPage.UseVisualStyleBackColor = true;
     scriptConfigGrid.Dock = DockStyle.Fill;
     scriptConfigGrid.HelpVisible = false;
     scriptConfigGrid.Location = new Point(0, 0);
     scriptConfigGrid.Name = "scriptConfigGrid";
     scriptConfigGrid.Size = new Size(675, 402);
     scriptConfigGrid.TabIndex = 0;
     scriptConfigGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(scriptConfigGrid_PropertyValueChanged);
     repository.Controls.Add(tableLayoutPanel1);
     repository.Location = new Point(4, 22);
     repository.Name = "repository";
     repository.Padding = new Padding(3);
     repository.Size = new Size(675, 402);
     repository.TabIndex = 4;
     repository.Text = "Repository";
     repository.UseVisualStyleBackColor = true;
     tableLayoutPanel1.ColumnCount = 1;
     tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 32.61868f));
     tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 67.38132f));
     tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 0);
     tableLayoutPanel1.Dock = DockStyle.Fill;
     tableLayoutPanel1.Location = new Point(3, 3);
     tableLayoutPanel1.Name = "tableLayoutPanel1";
     tableLayoutPanel1.RowCount = 1;
     tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
     tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 396f));
     tableLayoutPanel1.Size = new Size(669, 396);
     tableLayoutPanel1.TabIndex = 0;
     tableLayoutPanel2.ColumnCount = 1;
     tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     tableLayoutPanel2.Controls.Add(tableLayoutPanel3, 0, 2);
     tableLayoutPanel2.Controls.Add(repoScripts, 0, 0);
     tableLayoutPanel2.Dock = DockStyle.Fill;
     tableLayoutPanel2.Location = new Point(0, 0);
     tableLayoutPanel2.Margin = new Padding(0);
     tableLayoutPanel2.Name = "tableLayoutPanel2";
     tableLayoutPanel2.RowCount = 3;
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 25f));
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 25f));
     tableLayoutPanel2.Size = new Size(669, 396);
     tableLayoutPanel2.TabIndex = 1;
     tableLayoutPanel3.ColumnCount = 4;
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 80f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120f));
     tableLayoutPanel3.Controls.Add(repoName, 0, 0);
     tableLayoutPanel3.Controls.Add(addRepo, 1, 0);
     tableLayoutPanel3.Controls.Add(removeRepo, 3, 0);
     tableLayoutPanel3.Dock = DockStyle.Fill;
     tableLayoutPanel3.Location = new Point(0, 371);
     tableLayoutPanel3.Margin = new Padding(0);
     tableLayoutPanel3.Name = "tableLayoutPanel3";
     tableLayoutPanel3.RowCount = 1;
     tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     tableLayoutPanel3.Size = new Size(669, 25);
     tableLayoutPanel3.TabIndex = 0;
     repoName.Dock = DockStyle.Fill;
     repoName.Location = new Point(3, 3);
     repoName.Name = "repoName";
     repoName.Size = new Size(343, 20);
     repoName.TabIndex = 1;
     repoName.TextChanged += new EventHandler(repoName_TextChanged);
     addRepo.Dock = DockStyle.Fill;
     addRepo.Enabled = false;
     addRepo.Location = new Point(352, 3);
     addRepo.Name = "addRepo";
     addRepo.Size = new Size(114, 19);
     addRepo.TabIndex = 0;
     addRepo.Text = "Add";
     addRepo.UseVisualStyleBackColor = true;
     addRepo.Click += new EventHandler(addRepo_Click);
     removeRepo.Dock = DockStyle.Fill;
     removeRepo.Enabled = false;
     removeRepo.Location = new Point(552, 3);
     removeRepo.Name = "removeRepo";
     removeRepo.Size = new Size(114, 19);
     removeRepo.TabIndex = 1;
     removeRepo.Text = "Remove";
     removeRepo.UseVisualStyleBackColor = true;
     removeRepo.Click += new EventHandler(removeRepo_Click);
     repoScripts.CheckBoxes = true;
     repoScripts.Dock = DockStyle.Fill;
     repoScripts.Location = new Point(3, 3);
     repoScripts.Name = "repoScripts";
     repoScripts.Size = new Size(663, 340);
     repoScripts.TabIndex = 1;
     repoScripts.AfterCheck += new TreeViewEventHandler(repoScripts_AfterCheck);
     repoScripts.NodeMouseClick += new TreeNodeMouseClickEventHandler(repoScripts_NodeMouseClick);
     configPage.Controls.Add(configGrid);
     configPage.Location = new Point(4, 22);
     configPage.Name = "configPage";
     configPage.Size = new Size(675, 402);
     configPage.TabIndex = 2;
     configPage.Text = "Options";
     configPage.UseVisualStyleBackColor = true;
     configGrid.Dock = DockStyle.Fill;
     configGrid.Location = new Point(0, 0);
     configGrid.Name = "configGrid";
     configGrid.Size = new Size(675, 402);
     configGrid.TabIndex = 0;
     configGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(configGrid_PropertyValueChanged);
     helpPage.Controls.Add(changelogLink);
     helpPage.Controls.Add(bugLink);
     helpPage.Controls.Add(scriptsLink);
     helpPage.Controls.Add(installLink);
     helpPage.Location = new Point(4, 22);
     helpPage.Name = "helpPage";
     helpPage.Size = new Size(675, 402);
     helpPage.TabIndex = 3;
     helpPage.Text = "Help";
     helpPage.UseVisualStyleBackColor = true;
     changelogLink.AutoSize = true;
     changelogLink.Location = new Point(8, 55);
     changelogLink.Name = "changelogLink";
     changelogLink.Size = new Size(58, 13);
     changelogLink.TabIndex = 3;
     changelogLink.TabStop = true;
     changelogLink.Text = "Changelog";
     changelogLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     bugLink.AutoSize = true;
     bugLink.Location = new Point(8, 78);
     bugLink.Name = "bugLink";
     bugLink.Size = new Size(61, 13);
     bugLink.TabIndex = 2;
     bugLink.TabStop = true;
     bugLink.Text = "Bug reports";
     bugLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     scriptsLink.AutoSize = true;
     scriptsLink.Location = new Point(8, 34);
     scriptsLink.Name = "scriptsLink";
     scriptsLink.Size = new Size(68, 13);
     scriptsLink.TabIndex = 1;
     scriptsLink.TabStop = true;
     scriptsLink.Text = "Scripts forum";
     scriptsLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     installLink.AutoSize = true;
     installLink.Location = new Point(8, 12);
     installLink.Name = "installLink";
     installLink.Size = new Size(86, 13);
     installLink.TabIndex = 0;
     installLink.TabStop = true;
     installLink.Text = "Installation guide";
     installLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     dotaFindTimer.Interval = 125;
     dotaFindTimer.Tick += new EventHandler(dotaFindTimer_Tick);
     taskbarIcon.Icon = (Icon)componentResourceManager.GetObject("taskbarIcon.Icon");
     taskbarIcon.Text = "Ensage";
     taskbarIcon.Visible = true;
     taskbarIcon.Click += new EventHandler(notifyIcon1_Click);
     injectWorker.WorkerReportsProgress = true;
     injectWorker.DoWork += new DoWorkEventHandler(injectWorker_DoWork);
     injectWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(injectWorker_RunWorkerCompleted);
     pipeWorker.WorkerReportsProgress = true;
     pipeWorker.DoWork += new DoWorkEventHandler(pipeWorker_DoWork);
     pipeWorker.ProgressChanged += new ProgressChangedEventHandler(pipeWorker_ProgressChanged);
     serverWorker.DoWork += new DoWorkEventHandler(serverWorker_DoWork);
     updateTimer.Interval = 60000;
     updateTimer.Tick += new EventHandler(updateTimer_Tick);
     loadWorker.WorkerReportsProgress = true;
     loadWorker.DoWork += new DoWorkEventHandler(loadWorker_DoWork);
     loadWorker.ProgressChanged += new ProgressChangedEventHandler(loadWorker_ProgressChanged);
     DisableVAC.AutoSize = true;
     DisableVAC.Location = new Point(11, 151);
     DisableVAC.Name = "DisableVAC";
     DisableVAC.Size = new Size(103, 17);
     DisableVAC.TabIndex = 9;
     DisableVAC.Text = "disable anti-VAC";
     DisableVAC.UseVisualStyleBackColor = true;
     AutoScaleDimensions = new SizeF(6f, 13f);
     AutoScaleMode = AutoScaleMode.Font;
     ClientSize = new Size(683, 428);
     Controls.Add(tabControl1);
     Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     MinimumSize = new Size(683, 428);
     Name = "Main";
     Text = "Ensage - Main";
     FormClosing += new FormClosingEventHandler(Main_FormClosing);
     Shown += new EventHandler(Main_Shown);
     Resize += new EventHandler(Main_Resize);
     tabControl1.ResumeLayout(false);
     mainPage.ResumeLayout(false);
     mainPage.PerformLayout();
     groupBox1.ResumeLayout(false);
     chatPage.ResumeLayout(false);
     ircTabControl.ResumeLayout(false);
     tabPage1.ResumeLayout(false);
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel1.PerformLayout();
     splitContainer1.Panel2.ResumeLayout(false);
     splitContainer1.EndInit();
     splitContainer1.ResumeLayout(false);
     tabPage2.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel2.ResumeLayout(false);
     splitContainer2.EndInit();
     splitContainer2.ResumeLayout(false);
     splitContainer3.Panel1.ResumeLayout(false);
     splitContainer3.Panel2.ResumeLayout(false);
     splitContainer3.EndInit();
     splitContainer3.ResumeLayout(false);
     flowLayoutPanel1.ResumeLayout(false);
     flowLayoutPanel1.PerformLayout();
     scriptsPage.ResumeLayout(false);
     ((ISupportInitialize)scriptsDataGrid).EndInit();
     ((ISupportInitialize)listBinding).EndInit();
     scriptConfigPage.ResumeLayout(false);
     repository.ResumeLayout(false);
     tableLayoutPanel1.ResumeLayout(false);
     tableLayoutPanel2.ResumeLayout(false);
     tableLayoutPanel3.ResumeLayout(false);
     tableLayoutPanel3.PerformLayout();
     configPage.ResumeLayout(false);
     helpPage.ResumeLayout(false);
     helpPage.PerformLayout();
     ResumeLayout(false);
 }
コード例 #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new Container();
            ComponentResourceManager resources = new ComponentResourceManager(typeof(FormFind));

            txtFind          = new TextBox();
            rbString         = new RadioButton();
            rbHex            = new RadioButton();
            label1           = new Label();
            btnOK            = new Button();
            btnCancel        = new Button();
            groupBox1        = new GroupBox();
            lblPercent       = new Label();
            lblFinding       = new Label();
            chkMatchCase     = new CheckBox();
            timerPercent     = new Timer(components);
            timer            = new Timer(components);
            hexFind          = new HexBox();
            flowLayoutPanel1 = new FlowLayoutPanel();
            flowLayoutPanel1.SuspendLayout();
            SuspendLayout();
            //
            // txtFind
            //
            resources.ApplyResources(txtFind, "txtFind");
            txtFind.Name         = "txtFind";
            txtFind.TextChanged += txtString_TextChanged;
            //
            // rbString
            //
            resources.ApplyResources(rbString, "rbString");
            rbString.Checked = true;
            rbString.Name    = "rbString";
            rbString.TabStop = true;
            //
            // rbHex
            //
            resources.ApplyResources(rbHex, "rbHex");
            rbHex.Name = "rbHex";
            //
            // label1
            //
            resources.ApplyResources(label1, "label1");
            label1.ForeColor = Drawing.Color.Blue;
            label1.Name      = "label1";
            //
            // btnOK
            //
            resources.ApplyResources(btnOK, "btnOK");
            btnOK.Name   = "btnOK";
            btnOK.Click += btnOK_Click;
            //
            // btnCancel
            //
            resources.ApplyResources(btnCancel, "btnCancel");
            btnCancel.DialogResult = DialogResult.Cancel;
            btnCancel.Name         = "btnCancel";
            btnCancel.Click       += btnCancel_Click;
            //
            // groupBox1
            //
            resources.ApplyResources(groupBox1, "groupBox1");
            groupBox1.Name    = "groupBox1";
            groupBox1.TabStop = false;
            //
            // lblPercent
            //
            resources.ApplyResources(lblPercent, "lblPercent");
            lblPercent.Name = "lblPercent";
            //
            // lblFinding
            //
            resources.ApplyResources(lblFinding, "lblFinding");
            lblFinding.ForeColor = Drawing.Color.Blue;
            lblFinding.Name      = "lblFinding";
            //
            // chkMatchCase
            //
            resources.ApplyResources(chkMatchCase, "chkMatchCase");
            chkMatchCase.Name = "chkMatchCase";
            chkMatchCase.UseVisualStyleBackColor = true;
            //
            // timerPercent
            //
            timerPercent.Tick += timerPercent_Tick;
            //
            // timer
            //
            timer.Interval = 50;
            timer.Tick    += timer_Tick;
            //
            // hexFind
            //
            resources.ApplyResources(hexFind, "hexFind");
            //
            //
            //
            //this.hexFind.BuiltInContextMenu.CopyMenuItemImage = global::Be.HexEditor.images.CopyHS;
            //this.hexFind.BuiltInContextMenu.CopyMenuItemText = resources.GetString("hexFind.BuiltInContextMenu.CopyMenuItemText");
            //this.hexFind.BuiltInContextMenu.CutMenuItemImage = global::Be.HexEditor.images.CutHS;
            //this.hexFind.BuiltInContextMenu.CutMenuItemText = resources.GetString("hexFind.BuiltInContextMenu.CutMenuItemText");
            //this.hexFind.BuiltInContextMenu.PasteMenuItemImage = global::Be.HexEditor.images.PasteHS;
            //this.hexFind.BuiltInContextMenu.PasteMenuItemText = resources.GetString("hexFind.BuiltInContextMenu.PasteMenuItemText");
            //this.hexFind.BuiltInContextMenu.SelectAllMenuItemText = resources.GetString("hexFind.BuiltInContextMenu.SelectAllMenuItemText");
            hexFind.InfoForeColor        = Drawing.Color.Empty;
            hexFind.Name                 = "hexFind";
            hexFind.ShadowSelectionColor = Drawing.Color.FromArgb(100, 60, 188, 255);
            //
            // flowLayoutPanel1
            //
            resources.ApplyResources(flowLayoutPanel1, "flowLayoutPanel1");
            flowLayoutPanel1.Controls.Add(label1);
            flowLayoutPanel1.Controls.Add(groupBox1);
            flowLayoutPanel1.Name = "flowLayoutPanel1";
            //
            // FormFind
            //
            AcceptButton = btnOK;
            resources.ApplyResources(this, "$this");
            BackColor    = Drawing.SystemColors.Control;
            CancelButton = btnCancel;
            Controls.Add(flowLayoutPanel1);
            Controls.Add(chkMatchCase);
            Controls.Add(lblPercent);
            Controls.Add(lblFinding);
            Controls.Add(btnCancel);
            Controls.Add(btnOK);
            Controls.Add(rbHex);
            Controls.Add(rbString);
            Controls.Add(txtFind);
            Controls.Add(hexFind);
            FormBorderStyle = FormBorderStyle.FixedDialog;
            MaximizeBox     = false;
            MinimizeBox     = false;
            Name            = "FormFind";
            ShowIcon        = false;
            ShowInTaskbar   = false;
            Activated      += FormFind_Activated;
            flowLayoutPanel1.ResumeLayout(false);
            flowLayoutPanel1.PerformLayout();
            ResumeLayout(false);
            PerformLayout();
        }
コード例 #14
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.Windows.Forms.TableLayoutPanel selectedShowTable;
     System.Windows.Forms.GroupBox         customSettingsGroup;
     System.Windows.Forms.Label            destinationLabel;
     System.Windows.Forms.FlowLayoutPanel  selectedShowButtons;
     System.Windows.Forms.Label            folderNameLabel;
     System.Windows.Forms.GroupBox         episodesGroup;
     this.selectedShowName             = new System.Windows.Forms.Label();
     this.selectedShowBanner           = new System.Windows.Forms.PictureBox();
     this.selectedShowLastUpdated      = new System.Windows.Forms.Label();
     this.selectedShowTvdb             = new System.Windows.Forms.Label();
     this.customFormatTable            = new System.Windows.Forms.TableLayoutPanel();
     this.selectedShowUseCustomFormat  = new System.Windows.Forms.CheckBox();
     this.selectedShowCustomFormatText = new System.Windows.Forms.TextBox();
     this.formatLabel   = new System.Windows.Forms.Label();
     this.formatBuilder = new System.Windows.Forms.Button();
     this.useCustomDestinationDirectory = new System.Windows.Forms.CheckBox();
     this.customDestination             = new System.Windows.Forms.ComboBox();
     this.saveButton             = new System.Windows.Forms.Button();
     this.revertButton           = new System.Windows.Forms.Button();
     this.updateShowButton       = new System.Windows.Forms.Button();
     this.removeShowButton       = new System.Windows.Forms.Button();
     this.resetLastUpdatedButton = new System.Windows.Forms.Button();
     this.namesGroup             = new System.Windows.Forms.GroupBox();
     this.nameTable = new System.Windows.Forms.TableLayoutPanel();
     this.selectedShowFolderNameText = new System.Windows.Forms.TextBox();
     this.alternateNamesButton       = new System.Windows.Forms.Button();
     this.episodesFlow            = new System.Windows.Forms.FlowLayoutPanel();
     this.selectedShowUseDvdOrder = new System.Windows.Forms.CheckBox();
     this.selectedShowLockButton  = new System.Windows.Forms.Button();
     this.updateAllButton         = new System.Windows.Forms.Button();
     this.addShowButton           = new System.Windows.Forms.Button();
     this.searchShowsButton       = new System.Windows.Forms.Button();
     this.tvShowsList             = new System.Windows.Forms.ListBox();
     this.topButtonsFlow          = new System.Windows.Forms.FlowLayoutPanel();
     this.toolTip        = new System.Windows.Forms.ToolTip(this.components);
     selectedShowTable   = new System.Windows.Forms.TableLayoutPanel();
     customSettingsGroup = new System.Windows.Forms.GroupBox();
     destinationLabel    = new System.Windows.Forms.Label();
     selectedShowButtons = new System.Windows.Forms.FlowLayoutPanel();
     folderNameLabel     = new System.Windows.Forms.Label();
     episodesGroup       = new System.Windows.Forms.GroupBox();
     selectedShowTable.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.selectedShowBanner)).BeginInit();
     customSettingsGroup.SuspendLayout();
     this.customFormatTable.SuspendLayout();
     selectedShowButtons.SuspendLayout();
     this.namesGroup.SuspendLayout();
     this.nameTable.SuspendLayout();
     episodesGroup.SuspendLayout();
     this.episodesFlow.SuspendLayout();
     this.topButtonsFlow.SuspendLayout();
     this.SuspendLayout();
     //
     // selectedShowTable
     //
     selectedShowTable.ColumnCount = 1;
     selectedShowTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     selectedShowTable.Controls.Add(this.selectedShowName, 0, 0);
     selectedShowTable.Controls.Add(this.selectedShowBanner, 0, 1);
     selectedShowTable.Controls.Add(this.selectedShowLastUpdated, 0, 3);
     selectedShowTable.Controls.Add(this.selectedShowTvdb, 0, 2);
     selectedShowTable.Controls.Add(customSettingsGroup, 0, 4);
     selectedShowTable.Controls.Add(selectedShowButtons, 0, 7);
     selectedShowTable.Controls.Add(this.namesGroup, 0, 5);
     selectedShowTable.Controls.Add(episodesGroup, 0, 6);
     selectedShowTable.Dock     = System.Windows.Forms.DockStyle.Fill;
     selectedShowTable.Location = new System.Drawing.Point(178, 35);
     selectedShowTable.Name     = "selectedShowTable";
     selectedShowTable.RowCount = 8;
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 150F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 142F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F));
     selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
     selectedShowTable.Size     = new System.Drawing.Size(571, 649);
     selectedShowTable.TabIndex = 2;
     //
     // selectedShowName
     //
     this.selectedShowName.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.selectedShowName.AutoSize = true;
     this.selectedShowName.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.selectedShowName.Location = new System.Drawing.Point(3, 5);
     this.selectedShowName.Name     = "selectedShowName";
     this.selectedShowName.Size     = new System.Drawing.Size(129, 20);
     this.selectedShowName.TabIndex = 0;
     this.selectedShowName.Text     = "Selected Show";
     //
     // selectedShowBanner
     //
     this.selectedShowBanner.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.selectedShowBanner.Location = new System.Drawing.Point(3, 33);
     this.selectedShowBanner.Name     = "selectedShowBanner";
     this.selectedShowBanner.Size     = new System.Drawing.Size(565, 144);
     this.selectedShowBanner.TabIndex = 1;
     this.selectedShowBanner.TabStop  = false;
     //
     // selectedShowLastUpdated
     //
     this.selectedShowLastUpdated.AutoSize = true;
     this.selectedShowLastUpdated.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.selectedShowLastUpdated.Location = new System.Drawing.Point(3, 205);
     this.selectedShowLastUpdated.Name     = "selectedShowLastUpdated";
     this.selectedShowLastUpdated.Size     = new System.Drawing.Size(565, 25);
     this.selectedShowLastUpdated.TabIndex = 2;
     this.selectedShowLastUpdated.Text     = "Last Updated:";
     this.toolTip.SetToolTip(this.selectedShowLastUpdated, "The time that the show was last updated in TheTVDB.com\'s server time (UTC).");
     //
     // selectedShowTvdb
     //
     this.selectedShowTvdb.AutoSize = true;
     this.selectedShowTvdb.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.selectedShowTvdb.Location = new System.Drawing.Point(3, 180);
     this.selectedShowTvdb.Name     = "selectedShowTvdb";
     this.selectedShowTvdb.Size     = new System.Drawing.Size(565, 25);
     this.selectedShowTvdb.TabIndex = 3;
     this.selectedShowTvdb.Text     = "TVDB ID: ";
     this.toolTip.SetToolTip(this.selectedShowTvdb, "The show\'s ID on TheTVDB.com");
     //
     // customSettingsGroup
     //
     customSettingsGroup.Controls.Add(this.customFormatTable);
     customSettingsGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     customSettingsGroup.Location = new System.Drawing.Point(3, 233);
     customSettingsGroup.Name     = "customSettingsGroup";
     customSettingsGroup.Size     = new System.Drawing.Size(565, 136);
     customSettingsGroup.TabIndex = 4;
     customSettingsGroup.TabStop  = false;
     customSettingsGroup.Text     = "Custom Settings";
     //
     // customFormatTable
     //
     this.customFormatTable.ColumnCount = 3;
     this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 79F));
     this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
     this.customFormatTable.Controls.Add(this.selectedShowUseCustomFormat, 0, 0);
     this.customFormatTable.Controls.Add(this.selectedShowCustomFormatText, 1, 1);
     this.customFormatTable.Controls.Add(this.formatLabel, 0, 1);
     this.customFormatTable.Controls.Add(this.formatBuilder, 2, 1);
     this.customFormatTable.Controls.Add(this.useCustomDestinationDirectory, 0, 2);
     this.customFormatTable.Controls.Add(destinationLabel, 0, 3);
     this.customFormatTable.Controls.Add(this.customDestination, 1, 3);
     this.customFormatTable.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.customFormatTable.Location = new System.Drawing.Point(3, 16);
     this.customFormatTable.Margin   = new System.Windows.Forms.Padding(0);
     this.customFormatTable.Name     = "customFormatTable";
     this.customFormatTable.RowCount = 4;
     this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
     this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
     this.customFormatTable.Size     = new System.Drawing.Size(559, 117);
     this.customFormatTable.TabIndex = 3;
     //
     // selectedShowUseCustomFormat
     //
     this.selectedShowUseCustomFormat.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.selectedShowUseCustomFormat.AutoSize = true;
     this.customFormatTable.SetColumnSpan(this.selectedShowUseCustomFormat, 3);
     this.selectedShowUseCustomFormat.Location = new System.Drawing.Point(3, 6);
     this.selectedShowUseCustomFormat.Name     = "selectedShowUseCustomFormat";
     this.selectedShowUseCustomFormat.Size     = new System.Drawing.Size(118, 17);
     this.selectedShowUseCustomFormat.TabIndex = 0;
     this.selectedShowUseCustomFormat.Text     = "Use Custom Format";
     this.toolTip.SetToolTip(this.selectedShowUseCustomFormat, "Indicates whether to use a custom format with this show.");
     this.selectedShowUseCustomFormat.UseVisualStyleBackColor = true;
     this.selectedShowUseCustomFormat.CheckedChanged         += new System.EventHandler(this.SelectedUseCustomFormatCheckedChanged);
     //
     // selectedShowCustomFormatText
     //
     this.selectedShowCustomFormatText.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.selectedShowCustomFormatText.Enabled  = false;
     this.selectedShowCustomFormatText.Location = new System.Drawing.Point(82, 33);
     this.selectedShowCustomFormatText.Name     = "selectedShowCustomFormatText";
     this.selectedShowCustomFormatText.Size     = new System.Drawing.Size(372, 20);
     this.selectedShowCustomFormatText.TabIndex = 2;
     this.toolTip.SetToolTip(this.selectedShowCustomFormatText, "The custom format to use for this show.");
     //
     // formatLabel
     //
     this.formatLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.formatLabel.AutoSize = true;
     this.formatLabel.Location = new System.Drawing.Point(34, 37);
     this.formatLabel.Name     = "formatLabel";
     this.formatLabel.Size     = new System.Drawing.Size(42, 13);
     this.formatLabel.TabIndex = 1;
     this.formatLabel.Text     = "Format:";
     //
     // formatBuilder
     //
     this.formatBuilder.Enabled  = false;
     this.formatBuilder.Location = new System.Drawing.Point(460, 33);
     this.formatBuilder.Name     = "formatBuilder";
     this.formatBuilder.Size     = new System.Drawing.Size(95, 22);
     this.formatBuilder.TabIndex = 3;
     this.formatBuilder.Text     = "Format Builder";
     this.formatBuilder.UseVisualStyleBackColor = true;
     this.formatBuilder.Click += new System.EventHandler(this.FormatBuilderClick);
     //
     // useCustomDestinationDirectory
     //
     this.useCustomDestinationDirectory.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.useCustomDestinationDirectory.AutoSize = true;
     this.customFormatTable.SetColumnSpan(this.useCustomDestinationDirectory, 2);
     this.useCustomDestinationDirectory.Location = new System.Drawing.Point(3, 64);
     this.useCustomDestinationDirectory.Name     = "useCustomDestinationDirectory";
     this.useCustomDestinationDirectory.Size     = new System.Drawing.Size(184, 17);
     this.useCustomDestinationDirectory.TabIndex = 4;
     this.useCustomDestinationDirectory.Text     = "Use Custom Destination Directory";
     this.useCustomDestinationDirectory.UseVisualStyleBackColor = true;
     this.useCustomDestinationDirectory.CheckedChanged         += new System.EventHandler(this.UseCustomDestinationDirectoryCheckedChanged);
     //
     // destinationLabel
     //
     destinationLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     destinationLabel.AutoSize = true;
     destinationLabel.Location = new System.Drawing.Point(13, 96);
     destinationLabel.Name     = "destinationLabel";
     destinationLabel.Size     = new System.Drawing.Size(63, 13);
     destinationLabel.TabIndex = 5;
     destinationLabel.Text     = "Destination:";
     //
     // customDestination
     //
     this.customDestination.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.customDestination.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.customDestination.Enabled           = false;
     this.customDestination.FormattingEnabled = true;
     this.customDestination.Location          = new System.Drawing.Point(82, 91);
     this.customDestination.Name              = "customDestination";
     this.customDestination.Size              = new System.Drawing.Size(372, 21);
     this.customDestination.TabIndex          = 6;
     //
     // selectedShowButtons
     //
     selectedShowButtons.Controls.Add(this.saveButton);
     selectedShowButtons.Controls.Add(this.revertButton);
     selectedShowButtons.Controls.Add(this.updateShowButton);
     selectedShowButtons.Controls.Add(this.removeShowButton);
     selectedShowButtons.Controls.Add(this.resetLastUpdatedButton);
     selectedShowButtons.Dock     = System.Windows.Forms.DockStyle.Fill;
     selectedShowButtons.Location = new System.Drawing.Point(0, 542);
     selectedShowButtons.Margin   = new System.Windows.Forms.Padding(0);
     selectedShowButtons.Name     = "selectedShowButtons";
     selectedShowButtons.Size     = new System.Drawing.Size(571, 121);
     selectedShowButtons.TabIndex = 5;
     //
     // saveButton
     //
     this.saveButton.Location = new System.Drawing.Point(3, 3);
     this.saveButton.Name     = "saveButton";
     this.saveButton.Size     = new System.Drawing.Size(75, 23);
     this.saveButton.TabIndex = 0;
     this.saveButton.Text     = "Save";
     this.toolTip.SetToolTip(this.saveButton, "Saves any changes to the show\'s configuration.");
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
     //
     // revertButton
     //
     this.revertButton.Location = new System.Drawing.Point(84, 3);
     this.revertButton.Name     = "revertButton";
     this.revertButton.Size     = new System.Drawing.Size(75, 23);
     this.revertButton.TabIndex = 1;
     this.revertButton.Text     = "Revert";
     this.toolTip.SetToolTip(this.revertButton, "Revert\'s any unsaved changes to the show\'s configuration.");
     this.revertButton.UseVisualStyleBackColor = true;
     this.revertButton.Click += new System.EventHandler(this.RevertButtonClick);
     //
     // updateShowButton
     //
     this.updateShowButton.Location = new System.Drawing.Point(165, 3);
     this.updateShowButton.Name     = "updateShowButton";
     this.updateShowButton.Size     = new System.Drawing.Size(93, 23);
     this.updateShowButton.TabIndex = 2;
     this.updateShowButton.Text     = "Update Show";
     this.toolTip.SetToolTip(this.updateShowButton, "Updates the show\'s episode data.");
     this.updateShowButton.UseVisualStyleBackColor = true;
     this.updateShowButton.Click += new System.EventHandler(this.UpdateShowButtonClick);
     //
     // removeShowButton
     //
     this.removeShowButton.Location = new System.Drawing.Point(264, 3);
     this.removeShowButton.Name     = "removeShowButton";
     this.removeShowButton.Size     = new System.Drawing.Size(75, 23);
     this.removeShowButton.TabIndex = 3;
     this.removeShowButton.Text     = "Remove";
     this.toolTip.SetToolTip(this.removeShowButton, "Removes the show from TVSorter.");
     this.removeShowButton.UseVisualStyleBackColor = true;
     this.removeShowButton.Click += new System.EventHandler(this.RemoveShowButtonClick);
     //
     // resetLastUpdatedButton
     //
     this.resetLastUpdatedButton.Location = new System.Drawing.Point(345, 3);
     this.resetLastUpdatedButton.Name     = "resetLastUpdatedButton";
     this.resetLastUpdatedButton.Size     = new System.Drawing.Size(115, 23);
     this.resetLastUpdatedButton.TabIndex = 4;
     this.resetLastUpdatedButton.Text     = "Reset Last Updated";
     this.toolTip.SetToolTip(this.resetLastUpdatedButton, "Resets the Last Updated timestamp of the show. \r\nThis allows new data to be downl" +
                             "oaded in the next\r\nupdate.");
     this.resetLastUpdatedButton.UseVisualStyleBackColor = true;
     this.resetLastUpdatedButton.Click += new System.EventHandler(this.ResetLastUpdatedButtonClick);
     //
     // namesGroup
     //
     this.namesGroup.Controls.Add(this.nameTable);
     this.namesGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.namesGroup.Location = new System.Drawing.Point(3, 375);
     this.namesGroup.Name     = "namesGroup";
     this.namesGroup.Size     = new System.Drawing.Size(565, 79);
     this.namesGroup.TabIndex = 6;
     this.namesGroup.TabStop  = false;
     this.namesGroup.Text     = "Names";
     //
     // nameTable
     //
     this.nameTable.ColumnCount = 3;
     this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
     this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
     this.nameTable.Controls.Add(folderNameLabel, 0, 0);
     this.nameTable.Controls.Add(this.selectedShowFolderNameText, 1, 0);
     this.nameTable.Controls.Add(this.alternateNamesButton, 1, 1);
     this.nameTable.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.nameTable.Location = new System.Drawing.Point(3, 16);
     this.nameTable.Margin   = new System.Windows.Forms.Padding(0);
     this.nameTable.Name     = "nameTable";
     this.nameTable.RowCount = 2;
     this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
     this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.nameTable.Size     = new System.Drawing.Size(559, 60);
     this.nameTable.TabIndex = 4;
     //
     // folderNameLabel
     //
     folderNameLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     folderNameLabel.AutoSize = true;
     folderNameLabel.Location = new System.Drawing.Point(7, 8);
     folderNameLabel.Name     = "folderNameLabel";
     folderNameLabel.Size     = new System.Drawing.Size(70, 13);
     folderNameLabel.TabIndex = 1;
     folderNameLabel.Text     = "Folder Name:";
     //
     // selectedShowFolderNameText
     //
     this.selectedShowFolderNameText.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.selectedShowFolderNameText.Location = new System.Drawing.Point(83, 3);
     this.selectedShowFolderNameText.Name     = "selectedShowFolderNameText";
     this.selectedShowFolderNameText.Size     = new System.Drawing.Size(371, 20);
     this.selectedShowFolderNameText.TabIndex = 2;
     this.toolTip.SetToolTip(this.selectedShowFolderNameText, "The folder name that the show is in.");
     //
     // alternateNamesButton
     //
     this.alternateNamesButton.Location = new System.Drawing.Point(83, 33);
     this.alternateNamesButton.Name     = "alternateNamesButton";
     this.alternateNamesButton.Size     = new System.Drawing.Size(100, 23);
     this.alternateNamesButton.TabIndex = 3;
     this.alternateNamesButton.Text     = "Alternate Names";
     this.toolTip.SetToolTip(this.alternateNamesButton, "Edit the alternate names used by the show.");
     this.alternateNamesButton.UseVisualStyleBackColor = true;
     this.alternateNamesButton.Click += new System.EventHandler(this.AlternateNamesButtonClick);
     //
     // episodesGroup
     //
     episodesGroup.Controls.Add(this.episodesFlow);
     episodesGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     episodesGroup.Location = new System.Drawing.Point(3, 460);
     episodesGroup.Name     = "episodesGroup";
     episodesGroup.Size     = new System.Drawing.Size(565, 79);
     episodesGroup.TabIndex = 7;
     episodesGroup.TabStop  = false;
     episodesGroup.Text     = "Episodes";
     //
     // episodesFlow
     //
     this.episodesFlow.Controls.Add(this.selectedShowUseDvdOrder);
     this.episodesFlow.Controls.Add(this.selectedShowLockButton);
     this.episodesFlow.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.episodesFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.episodesFlow.Location      = new System.Drawing.Point(3, 16);
     this.episodesFlow.Name          = "episodesFlow";
     this.episodesFlow.Size          = new System.Drawing.Size(559, 60);
     this.episodesFlow.TabIndex      = 1;
     //
     // selectedShowUseDvdOrder
     //
     this.selectedShowUseDvdOrder.AutoSize = true;
     this.selectedShowUseDvdOrder.Location = new System.Drawing.Point(3, 3);
     this.selectedShowUseDvdOrder.Name     = "selectedShowUseDvdOrder";
     this.selectedShowUseDvdOrder.Size     = new System.Drawing.Size(100, 17);
     this.selectedShowUseDvdOrder.TabIndex = 0;
     this.selectedShowUseDvdOrder.Text     = "Use DVD Order";
     this.toolTip.SetToolTip(this.selectedShowUseDvdOrder, "Indicates whether the show should use the DVD order for episodes.");
     this.selectedShowUseDvdOrder.UseVisualStyleBackColor = true;
     //
     // selectedShowLockButton
     //
     this.selectedShowLockButton.Location = new System.Drawing.Point(3, 26);
     this.selectedShowLockButton.Name     = "selectedShowLockButton";
     this.selectedShowLockButton.Size     = new System.Drawing.Size(90, 23);
     this.selectedShowLockButton.TabIndex = 1;
     this.selectedShowLockButton.Text     = "Unlock Show";
     this.toolTip.SetToolTip(this.selectedShowLockButton, "Locks/Unlocks  the show.");
     this.selectedShowLockButton.UseVisualStyleBackColor = true;
     this.selectedShowLockButton.Click += new System.EventHandler(this.SelectedShowLockButtonClick);
     //
     // updateAllButton
     //
     this.updateAllButton.Location = new System.Drawing.Point(3, 3);
     this.updateAllButton.Name     = "updateAllButton";
     this.updateAllButton.Size     = new System.Drawing.Size(75, 23);
     this.updateAllButton.TabIndex = 0;
     this.updateAllButton.Text     = "Update All";
     this.toolTip.SetToolTip(this.updateAllButton, "Updates the episode data for all the unlocked shows.");
     this.updateAllButton.UseVisualStyleBackColor = true;
     this.updateAllButton.Click += new System.EventHandler(this.UpdateAllButtonClick);
     //
     // addShowButton
     //
     this.addShowButton.Location = new System.Drawing.Point(84, 3);
     this.addShowButton.Name     = "addShowButton";
     this.addShowButton.Size     = new System.Drawing.Size(75, 23);
     this.addShowButton.TabIndex = 1;
     this.addShowButton.Text     = "Add Show";
     this.toolTip.SetToolTip(this.addShowButton, "Adds a new show.");
     this.addShowButton.UseVisualStyleBackColor = true;
     this.addShowButton.Click += new System.EventHandler(this.AddShowButtonClick);
     //
     // searchShowsButton
     //
     this.searchShowsButton.Location = new System.Drawing.Point(165, 3);
     this.searchShowsButton.Name     = "searchShowsButton";
     this.searchShowsButton.Size     = new System.Drawing.Size(112, 23);
     this.searchShowsButton.TabIndex = 2;
     this.searchShowsButton.Text     = "Search for Shows";
     this.toolTip.SetToolTip(this.searchShowsButton, "Searches for new shows in the output directories.\r\nThis looks up shows by folder " +
                             "name.");
     this.searchShowsButton.UseVisualStyleBackColor = true;
     this.searchShowsButton.Click += new System.EventHandler(this.SearchShowsButtonClick);
     //
     // tvShowsList
     //
     this.tvShowsList.Dock                  = System.Windows.Forms.DockStyle.Left;
     this.tvShowsList.DrawMode              = System.Windows.Forms.DrawMode.OwnerDrawVariable;
     this.tvShowsList.FormattingEnabled     = true;
     this.tvShowsList.ItemHeight            = 20;
     this.tvShowsList.Location              = new System.Drawing.Point(0, 35);
     this.tvShowsList.Name                  = "tvShowsList";
     this.tvShowsList.Size                  = new System.Drawing.Size(178, 649);
     this.tvShowsList.TabIndex              = 1;
     this.tvShowsList.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.TvShowsListDrawItem);
     this.tvShowsList.SelectedIndexChanged += new System.EventHandler(this.TvShowsListSelectedIndexChanged);
     //
     // topButtonsFlow
     //
     this.topButtonsFlow.Controls.Add(this.updateAllButton);
     this.topButtonsFlow.Controls.Add(this.addShowButton);
     this.topButtonsFlow.Controls.Add(this.searchShowsButton);
     this.topButtonsFlow.Dock     = System.Windows.Forms.DockStyle.Top;
     this.topButtonsFlow.Location = new System.Drawing.Point(0, 0);
     this.topButtonsFlow.Name     = "topButtonsFlow";
     this.topButtonsFlow.Size     = new System.Drawing.Size(749, 35);
     this.topButtonsFlow.TabIndex = 0;
     //
     // TvShows
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(selectedShowTable);
     this.Controls.Add(this.tvShowsList);
     this.Controls.Add(this.topButtonsFlow);
     this.Name  = "TvShows";
     this.Size  = new System.Drawing.Size(749, 684);
     this.Load += new System.EventHandler(this.TvShowsLoad);
     selectedShowTable.ResumeLayout(false);
     selectedShowTable.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.selectedShowBanner)).EndInit();
     customSettingsGroup.ResumeLayout(false);
     this.customFormatTable.ResumeLayout(false);
     this.customFormatTable.PerformLayout();
     selectedShowButtons.ResumeLayout(false);
     this.namesGroup.ResumeLayout(false);
     this.nameTable.ResumeLayout(false);
     this.nameTable.PerformLayout();
     episodesGroup.ResumeLayout(false);
     this.episodesFlow.ResumeLayout(false);
     this.episodesFlow.PerformLayout();
     this.topButtonsFlow.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #15
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.Windows.Forms.FlowLayoutPanel topButtonsFlow;
     System.Windows.Forms.FlowLayoutPanel selectButtonsFlow;
     this.subDirectoryFilter = new System.Windows.Forms.ComboBox();
     this.scanButton         = new System.Windows.Forms.Button();
     this.copyButton         = new System.Windows.Forms.Button();
     this.moveButton         = new System.Windows.Forms.Button();
     this.resultsList        = new System.Windows.Forms.ListView();
     this.sourceFileColumn   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.tvShowColumn       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.seasonColumn       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.episodeColumn      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.episodeNameColumn  = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.destinationFile    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.selectAllButton    = new System.Windows.Forms.Button();
     this.deselectAllButton  = new System.Windows.Forms.Button();
     this.setShowButton      = new System.Windows.Forms.Button();
     this.setEpisodeButton   = new System.Windows.Forms.Button();
     this.toolTip            = new System.Windows.Forms.ToolTip(this.components);
     topButtonsFlow          = new System.Windows.Forms.FlowLayoutPanel();
     selectButtonsFlow       = new System.Windows.Forms.FlowLayoutPanel();
     topButtonsFlow.SuspendLayout();
     selectButtonsFlow.SuspendLayout();
     this.SuspendLayout();
     //
     // topButtonsFlow
     //
     topButtonsFlow.Controls.Add(this.subDirectoryFilter);
     topButtonsFlow.Controls.Add(this.scanButton);
     topButtonsFlow.Controls.Add(this.copyButton);
     topButtonsFlow.Controls.Add(this.moveButton);
     topButtonsFlow.Dock     = System.Windows.Forms.DockStyle.Top;
     topButtonsFlow.Location = new System.Drawing.Point(0, 0);
     topButtonsFlow.Name     = "topButtonsFlow";
     topButtonsFlow.Size     = new System.Drawing.Size(678, 31);
     topButtonsFlow.TabIndex = 1;
     //
     // subDirectoryFilter
     //
     this.subDirectoryFilter.FormattingEnabled = true;
     this.subDirectoryFilter.Location          = new System.Drawing.Point(3, 3);
     this.subDirectoryFilter.Name     = "subDirectoryFilter";
     this.subDirectoryFilter.Size     = new System.Drawing.Size(121, 21);
     this.subDirectoryFilter.TabIndex = 0;
     this.toolTip.SetToolTip(this.subDirectoryFilter, "The subdirectory of Source Directory to search from.");
     //
     // scanButton
     //
     this.scanButton.Location = new System.Drawing.Point(130, 3);
     this.scanButton.Name     = "scanButton";
     this.scanButton.Size     = new System.Drawing.Size(93, 23);
     this.scanButton.TabIndex = 1;
     this.scanButton.Text     = "Scan for Files";
     this.toolTip.SetToolTip(this.scanButton, "Scans for files in the selected subdirectory of Source Directory.");
     this.scanButton.UseVisualStyleBackColor = true;
     this.scanButton.Click += new System.EventHandler(this.ScanButtonClick);
     //
     // copyButton
     //
     this.copyButton.Location = new System.Drawing.Point(229, 3);
     this.copyButton.Name     = "copyButton";
     this.copyButton.Size     = new System.Drawing.Size(95, 23);
     this.copyButton.TabIndex = 2;
     this.copyButton.Text     = "Copy to Dest.";
     this.toolTip.SetToolTip(this.copyButton, "Copies the selected episodes to the Destination Directory");
     this.copyButton.UseVisualStyleBackColor = true;
     this.copyButton.Click += new System.EventHandler(this.CopyButtonClick);
     //
     // moveButton
     //
     this.moveButton.Location = new System.Drawing.Point(330, 3);
     this.moveButton.Name     = "moveButton";
     this.moveButton.Size     = new System.Drawing.Size(102, 23);
     this.moveButton.TabIndex = 3;
     this.moveButton.Text     = "Move to Dest.";
     this.toolTip.SetToolTip(this.moveButton, "Moves the selected episodes to the destination directory.");
     this.moveButton.UseVisualStyleBackColor = true;
     this.moveButton.Click += new System.EventHandler(this.MoveButtonClick);
     //
     // resultsList
     //
     this.resultsList.CheckBoxes = true;
     this.resultsList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.sourceFileColumn,
         this.tvShowColumn,
         this.seasonColumn,
         this.episodeColumn,
         this.episodeNameColumn,
         this.destinationFile
     });
     this.resultsList.Cursor   = System.Windows.Forms.Cursors.Default;
     this.resultsList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.resultsList.Location = new System.Drawing.Point(0, 66);
     this.resultsList.Name     = "resultsList";
     this.resultsList.Size     = new System.Drawing.Size(678, 348);
     this.resultsList.TabIndex = 2;
     this.resultsList.UseCompatibleStateImageBehavior = false;
     this.resultsList.View         = System.Windows.Forms.View.Details;
     this.resultsList.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.ResultsListItemChecked);
     //
     // sourceFileColumn
     //
     this.sourceFileColumn.Text  = "Source File";
     this.sourceFileColumn.Width = 200;
     //
     // tvShowColumn
     //
     this.tvShowColumn.Text  = "TV Show";
     this.tvShowColumn.Width = 92;
     //
     // seasonColumn
     //
     this.seasonColumn.Text  = "Season";
     this.seasonColumn.Width = 56;
     //
     // episodeColumn
     //
     this.episodeColumn.Text  = "Episode";
     this.episodeColumn.Width = 51;
     //
     // episodeNameColumn
     //
     this.episodeNameColumn.Text  = "Episode Name";
     this.episodeNameColumn.Width = 99;
     //
     // destinationFile
     //
     this.destinationFile.Text  = "Destination";
     this.destinationFile.Width = 172;
     //
     // selectButtonsFlow
     //
     selectButtonsFlow.Controls.Add(this.selectAllButton);
     selectButtonsFlow.Controls.Add(this.deselectAllButton);
     selectButtonsFlow.Controls.Add(this.setShowButton);
     selectButtonsFlow.Controls.Add(this.setEpisodeButton);
     selectButtonsFlow.Dock     = System.Windows.Forms.DockStyle.Top;
     selectButtonsFlow.Location = new System.Drawing.Point(0, 31);
     selectButtonsFlow.Name     = "selectButtonsFlow";
     selectButtonsFlow.Size     = new System.Drawing.Size(678, 35);
     selectButtonsFlow.TabIndex = 3;
     //
     // selectAllButton
     //
     this.selectAllButton.Location = new System.Drawing.Point(3, 3);
     this.selectAllButton.Name     = "selectAllButton";
     this.selectAllButton.Size     = new System.Drawing.Size(75, 23);
     this.selectAllButton.TabIndex = 0;
     this.selectAllButton.Text     = "Select All";
     this.toolTip.SetToolTip(this.selectAllButton, "Selects all the epsodes.");
     this.selectAllButton.UseVisualStyleBackColor = true;
     this.selectAllButton.Click += new System.EventHandler(this.SelectAllButtonClick);
     //
     // deselectAllButton
     //
     this.deselectAllButton.Location = new System.Drawing.Point(84, 3);
     this.deselectAllButton.Name     = "deselectAllButton";
     this.deselectAllButton.Size     = new System.Drawing.Size(75, 23);
     this.deselectAllButton.TabIndex = 1;
     this.deselectAllButton.Text     = "Deselect All";
     this.toolTip.SetToolTip(this.deselectAllButton, "Deselects all the episodes.");
     this.deselectAllButton.UseVisualStyleBackColor = true;
     this.deselectAllButton.Click += new System.EventHandler(this.DeselectAllButtonClick);
     //
     // setShowButton
     //
     this.setShowButton.Location = new System.Drawing.Point(165, 3);
     this.setShowButton.Name     = "setShowButton";
     this.setShowButton.Size     = new System.Drawing.Size(79, 23);
     this.setShowButton.TabIndex = 2;
     this.setShowButton.Text     = "Set Show";
     this.toolTip.SetToolTip(this.setShowButton, "Overrides the show of the selected episodes.");
     this.setShowButton.UseVisualStyleBackColor = true;
     this.setShowButton.Click += new System.EventHandler(this.SetShowButtonClick);
     //
     // setEpisodeButton
     //
     this.setEpisodeButton.Location = new System.Drawing.Point(250, 3);
     this.setEpisodeButton.Name     = "setEpisodeButton";
     this.setEpisodeButton.Size     = new System.Drawing.Size(75, 23);
     this.setEpisodeButton.TabIndex = 4;
     this.setEpisodeButton.Text     = "Set Episode";
     this.toolTip.SetToolTip(this.setEpisodeButton, ".");
     this.setEpisodeButton.UseVisualStyleBackColor = true;
     this.setEpisodeButton.Click += new System.EventHandler(this.SetEpisodeButtonClick);
     //
     // SortEpisodes
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.resultsList);
     this.Controls.Add(selectButtonsFlow);
     this.Controls.Add(topButtonsFlow);
     this.Name  = "SortEpisodes";
     this.Size  = new System.Drawing.Size(678, 414);
     this.Load += new System.EventHandler(this.SortEpisodesLoad);
     topButtonsFlow.ResumeLayout(false);
     selectButtonsFlow.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #16
0
ファイル: Program.cs プロジェクト: GHScan/DailyProjects
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Form form = new Form();
            FlowLayoutPanel flowLayoutPanelTop;
            RadioButton radioButtonText;
            RadioButton radioButtonNumber;
            ComboBox comboBox;
            Panel panelFill;
            TextBox textBoxInput;
            TextBox textBoxOutput;
            StatusStrip statusStrip;
            ToolStripStatusLabel statusLabel;

            // 布局
            {
                flowLayoutPanelTop = new FlowLayoutPanel();
                radioButtonText = new RadioButton();
                radioButtonNumber = new RadioButton();
                comboBox = new ComboBox();
                panelFill = new Panel();
                textBoxInput = new TextBox();
                textBoxOutput = new TextBox();
                statusStrip = new StatusStrip();
                statusLabel = new ToolStripStatusLabel();
                flowLayoutPanelTop.SuspendLayout();
                panelFill.SuspendLayout();
                statusStrip.SuspendLayout();
                form.SuspendLayout();
                //
                // flowLayoutPanel1
                //
                flowLayoutPanelTop.Controls.Add(radioButtonText);
                flowLayoutPanelTop.Controls.Add(radioButtonNumber);
                flowLayoutPanelTop.Controls.Add(comboBox);
                flowLayoutPanelTop.Dock = DockStyle.Top;
                flowLayoutPanelTop.Location = new Point(0, 0);
                flowLayoutPanelTop.Name = "flowLayoutPanel1";
                flowLayoutPanelTop.Size = new Size(363, 30);
                flowLayoutPanelTop.TabIndex = 0;
                //
                // radioButton1
                //
                radioButtonText.AutoSize = true;
                radioButtonText.Location = new Point(3, 3);
                radioButtonText.Name = "radioButton1";
                radioButtonText.Size = new Size(47, 16);
                radioButtonText.TabIndex = 0;
                radioButtonText.TabStop = true;
                radioButtonText.Text = "文本";
                radioButtonText.UseVisualStyleBackColor = true;
                //
                // radioButton2
                //
                radioButtonNumber.AutoSize = true;
                radioButtonNumber.Location = new Point(56, 3);
                radioButtonNumber.Name = "radioButton2";
                radioButtonNumber.Size = new Size(47, 16);
                radioButtonNumber.TabIndex = 0;
                radioButtonNumber.TabStop = true;
                radioButtonNumber.Text = "数字";
                radioButtonNumber.UseVisualStyleBackColor = true;
                //
                // comboBox1
                //
                comboBox.FormattingEnabled = true;
                comboBox.Location = new Point(109, 3);
                comboBox.Name = "comboBox1";
                comboBox.Size = new Size(121, 20);
                comboBox.TabIndex = 1;

                comboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
                comboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
                //
                // panel1
                //
                panelFill.Controls.Add(textBoxOutput);
                panelFill.Controls.Add(textBoxInput);
                panelFill.Dock = DockStyle.Fill;
                panelFill.Location = new Point(0, 30);
                panelFill.Name = "panel1";
                panelFill.Size = new Size(363, 230);
                panelFill.TabIndex = 1;
                //
                // textBox1
                //
                textBoxInput.Dock = DockStyle.Top;
                textBoxInput.Location = new Point(0, 0);
                textBoxInput.Multiline = true;
                textBoxInput.Name = "textBox1";
                textBoxInput.Size = new Size(363, 74);
                textBoxInput.TabIndex = 0;
                //
                // textBox2
                //
                textBoxOutput.Dock = DockStyle.Bottom;
                textBoxOutput.Location = new Point(0, 80);
                textBoxOutput.Multiline = true;
                textBoxOutput.Name = "textBox2";
                textBoxOutput.ReadOnly = true;
                textBoxOutput.Size = new Size(363, 150);
                textBoxOutput.TabIndex = 1;
                //
                // statusStrip1
                //
                statusStrip.Items.AddRange(new ToolStripItem[] {statusLabel});
                statusStrip.Location = new Point(0, 238);
                statusStrip.Name = "statusStrip1";
                statusStrip.Size = new Size(363, 22);
                statusStrip.TabIndex = 2;
                statusStrip.Text = "statusStrip1";
                //
                // toolStripStatusLabel1
                //
                statusLabel.Name = "toolStripStatusLabel1";
                statusLabel.Size = new Size(29, 17);
                statusLabel.Spring = true;
                statusLabel.TextAlign = ContentAlignment.MiddleLeft;
                //
                // Form1
                //
                form.AutoScaleDimensions = new SizeF(6F, 12F);
                form.AutoScaleMode = AutoScaleMode.Font;
                form.ClientSize = new Size(363, 260);
                form.Controls.Add(statusStrip);
                form.Controls.Add(panelFill);
                form.Controls.Add(flowLayoutPanelTop);
                form.Name = "Form1";
                form.Text = "二进制打印";
                form.StartPosition = FormStartPosition.CenterScreen;
                form.ImeMode = ImeMode.On;
                flowLayoutPanelTop.ResumeLayout(false);
                flowLayoutPanelTop.PerformLayout();
                panelFill.ResumeLayout(false);
                panelFill.PerformLayout();
                statusStrip.ResumeLayout(false);
                statusStrip.PerformLayout();
                form.ResumeLayout(false);
                form.PerformLayout();
            }

            radioButtonText.Click += (o, e) =>
            {
                textBoxInput.Text = "";
                textBoxOutput.Text = "";

                var commonUse = new List<string>();
                commonUse.Add(Encoding.Unicode.WebName);
                commonUse.Add(Encoding.UTF8.WebName);
                commonUse.Add(Encoding.Default.WebName);
                commonUse.Add(Encoding.UTF7.WebName);
                commonUse.Add(Encoding.UTF32.WebName);

                var fullList = Encoding.GetEncodings().Select(i=>i.GetEncoding().WebName);

                comboBox.DataSource = commonUse.Concat(fullList.Except(commonUse)).ToArray();
            };

            radioButtonNumber.Click += (o, e) =>
            {
                textBoxInput.Text = "";
                textBoxOutput.Text = "";

                comboBox.DataSource = new string[] { "unsigned oct", "signed oct", "hex", };
            };

            radioButtonText.PerformClick();

            Func<byte[], string> formatBytes = bytes =>
            {
                if (bytes == null || bytes.Length == 0) return string.Empty;

                var buf = new StringBuilder();
                foreach (byte b in bytes) buf.AppendFormat("{0:x2} ", b);
                buf.Remove(buf.Length - 1, 1);
                return buf.ToString();
            };

            EventHandler intput2output = (o, e) =>
            {
                textBoxOutput.Text = string.Empty;
                if (string.IsNullOrEmpty(textBoxInput.Text)) return;

                if (radioButtonText.Checked)
                {
                    try
                    {
                        Encoding encoding = Encoding.GetEncoding(comboBox.Text);
                        textBoxOutput.Text = formatBytes(encoding.GetBytes(textBoxInput.Text));
                    }
                    catch (Exception _e)
                    {
                        statusLabel.Text = _e.Message.Replace("\r\n", "\t");
                    }
                }
                else
                {
                    try
                    {
                        if (comboBox.Text == "hex")
                        {
                            uint i = uint.Parse(textBoxInput.Text, System.Globalization.NumberStyles.HexNumber);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else if (comboBox.Text == "signed oct")
                        {
                            int i = int.Parse(textBoxInput.Text);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else if (comboBox.Text == "unsigned oct")
                        {
                            uint i = uint.Parse(textBoxInput.Text);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else
                        {
                            statusLabel.Text = "未知的格式。";
                        }
                    }
                    catch (Exception _e)
                    {
                        statusLabel.Text = _e.Message.Replace("\r\n", "\t");
                    }
                }
            };

            textBoxInput.TextChanged += intput2output;
            comboBox.SelectedValueChanged += intput2output;

            textBoxOutput.DoubleClick += (o, e) =>
            {
                if (string.IsNullOrEmpty(textBoxOutput.Text)) return;
                textBoxOutput.SelectAll();
                textBoxOutput.Copy();
                statusLabel.Text = "复制到剪贴板。";
            };

            Timer timerCleanStatus = new Timer();
            timerCleanStatus.Interval = 3000;
            timerCleanStatus.Tick += (o, e) => { statusLabel.Text = ""; };
            timerCleanStatus.Start();

            Application.Run(form);
        }
コード例 #17
0
ファイル: DataEditForm.cs プロジェクト: 247321453/DataEditorX
 //初始化FlowLayoutPanel
 void InitCheckPanel(FlowLayoutPanel fpanel, Dictionary<long, string> dic)
 {
     fpanel.SuspendLayout();
     fpanel.Controls.Clear();
     foreach (long key in dic.Keys)
     {
         CheckBox _cbox = new CheckBox();
         //_cbox.Name = fpanel.Name + key.ToString("x");
         _cbox.Tag = key;//绑定值
         _cbox.Text = dic[key];
         _cbox.AutoSize = true;
         _cbox.Margin = fpanel.Margin;
         //_cbox.Click += PanelOnCheckClick;
         fpanel.Controls.Add(_cbox);
     }
     fpanel.ResumeLayout(false);
     fpanel.PerformLayout();
 }
コード例 #18
0
		// Populates FlowLayoutPanel with given values
		private void UpdateFlowPanel(FlowLayoutPanel flowPanel, string[] listOfValues)
		{
			flowPanel.SuspendLayout();
			flowPanel.Controls.Clear();

			if (listOfValues != null)
			{
				foreach (string s in listOfValues)
				{
					Label label = new Label();
					//label.AutoSize = true;
					//	label.Name = "label";
					label.AutoEllipsis = true;
					// Highlight every other row of labels
					if (flowPanel.Controls.Count != 0 && flowPanel.Controls[flowPanel.Controls.Count - 1].BackColor != _labelColor)
						label.BackColor = _labelColor;
					label.Size = new Size(flowPanel.ClientSize.Width - label.Margin.Horizontal, 17);
					label.TabIndex = flowPanel.Controls.Count;
					label.Text = s;
					label.TextAlign = ContentAlignment.MiddleLeft;

					flowPanel.Controls.Add(label);
				}
			}
			flowPanel.ResumeLayout();

			//if (flowPanel.Parent != null)
			//    flowPanel.Parent.Update();
			//else
			//	flowPanel.Update();
		}
コード例 #19
0
		public void AutoSizeGrowOnly_ResizeIfSmaller_DockTop ()
		{
			var panel = new FlowLayoutPanel ();
			panel.SuspendLayout ();
			panel.AutoSize = true;
			panel.AutoSizeMode = AutoSizeMode.GrowOnly;
			panel.WrapContents = true;
			panel.Bounds = new Rectangle(5, 5, 100, 100);
			panel.Dock = DockStyle.Top;

			var c = new Label ();
			c.Size = new Size (90, 25);
			panel.Controls.Add (c);
			f.Controls.Add(panel);
			panel.ResumeLayout (true);

			Assert.AreEqual (0, panel.Top, "1");
			Assert.AreEqual (f.ClientRectangle.Width, panel.Width, "2");
			Assert.AreEqual (25, panel.Height, "3");
		}
コード例 #20
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent() {
			pictureBox1 = new PictureBox();
			tableLayoutPanel1 = new TableLayoutPanel();
			label1 = new Label();
			label2 = new Label();
			trackBar1 = new TrackBar();
			trackBar2 = new TrackBar();
			label3 = new Label();
			label4 = new Label();
			label5 = new Label();
			label6 = new Label();
			label7 = new Label();
			flowLayoutPanel1 = new FlowLayoutPanel();
			button2 = new Button();
			button1 = new Button();
			button3 = new Button();
			openFileDialog1 = new OpenFileDialog();
			((System.ComponentModel.ISupportInitialize)(pictureBox1)).BeginInit();
			tableLayoutPanel1.SuspendLayout();
			(trackBar1).BeginInit();
			(trackBar2).BeginInit();
			flowLayoutPanel1.SuspendLayout();
			SuspendLayout();
			// 
			// pictureBox1
			// 
			pictureBox1.Anchor = AnchorStyles.None;
			pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
			tableLayoutPanel1.SetColumnSpan(pictureBox1, 3);
			pictureBox1.Location = new System.Drawing.Point(252, 256);
			pictureBox1.Name = "pictureBox1";
			pictureBox1.Size = new System.Drawing.Size(100, 50);
			pictureBox1.TabIndex = 0;
			pictureBox1.TabStop = false;
			// 
			// tableLayoutPanel1
			// 
			tableLayoutPanel1.ColumnCount = 6;
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 80F));
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333F));
			tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 22F));
			tableLayoutPanel1.Controls.Add(pictureBox1, 2, 6);
			tableLayoutPanel1.Controls.Add(label1, 1, 2);
			tableLayoutPanel1.Controls.Add(label2, 1, 3);
			tableLayoutPanel1.Controls.Add(trackBar1, 2, 2);
			tableLayoutPanel1.Controls.Add(trackBar2, 2, 3);
			tableLayoutPanel1.Controls.Add(label3, 1, 6);
			tableLayoutPanel1.Controls.Add(label4, 2, 4);
			tableLayoutPanel1.Controls.Add(label5, 3, 4);
			tableLayoutPanel1.Controls.Add(label6, 4, 4);
			tableLayoutPanel1.Controls.Add(label7, 1, 1);
			tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 2, 7);
			tableLayoutPanel1.Controls.Add(button3, 4, 1);
			tableLayoutPanel1.Dock = DockStyle.Fill;
			tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
			tableLayoutPanel1.Name = "tableLayoutPanel1";
			tableLayoutPanel1.RowCount = 9;
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
			tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
			tableLayoutPanel1.Size = new System.Drawing.Size(527, 432);
			tableLayoutPanel1.TabIndex = 1;
			// 
			// label1
			// 
			label1.Anchor = AnchorStyles.Left;
			label1.AutoSize = true;
			label1.Location = new System.Drawing.Point(23, 63);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(56, 13);
			label1.TabIndex = 1;
			label1.Text = "Larghezza";
			// 
			// label2
			// 
			label2.Anchor = AnchorStyles.Left;
			label2.AutoSize = true;
			label2.Location = new System.Drawing.Point(23, 103);
			label2.Name = "label2";
			label2.Size = new System.Drawing.Size(41, 13);
			label2.TabIndex = 2;
			label2.Text = "Altezza";
			// 
			// trackBar1
			// 
			trackBar1.Anchor = AnchorStyles.Left | AnchorStyles.Right;
			tableLayoutPanel1.SetColumnSpan(trackBar1, 3);
			trackBar1.LargeChange = 1;
			trackBar1.Location = new System.Drawing.Point(103, 53);
			trackBar1.Maximum = 19;
			trackBar1.Minimum = 1;
			trackBar1.Name = "trackBar1";
			trackBar1.Size = new System.Drawing.Size(399, 34);
			trackBar1.TabIndex = 3;
			trackBar1.Value = 10;
			trackBar1.Scroll += new System.EventHandler(TrackBar1Scroll);
			// 
			// trackBar2
			// 
			trackBar2.Anchor = AnchorStyles.Left | AnchorStyles.Right;
			tableLayoutPanel1.SetColumnSpan(trackBar2, 3);
			trackBar2.LargeChange = 1;
			trackBar2.Location = new System.Drawing.Point(103, 93);
			trackBar2.Maximum = 19;
			trackBar2.Minimum = 1;
			trackBar2.Name = "trackBar2";
			trackBar2.Size = new System.Drawing.Size(399, 34);
			trackBar2.TabIndex = 4;
			trackBar2.Value = 10;
			trackBar2.Scroll += new System.EventHandler(TrackBar1Scroll);
			// 
			// label3
			// 
			label3.Anchor = AnchorStyles.Left;
			label3.AutoSize = true;
			label3.Location = new System.Drawing.Point(23, 274);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(54, 13);
			label3.TabIndex = 5;
			label3.Text = "Anteprima";
			// 
			// label4
			// 
			label4.Anchor = AnchorStyles.Left;
			label4.AutoSize = true;
			label4.Location = new System.Drawing.Point(103, 138);
			label4.Name = "label4";
			label4.Size = new System.Drawing.Size(27, 13);
			label4.TabIndex = 6;
			label4.Text = "10%";
			// 
			// label5
			// 
			label5.Anchor = AnchorStyles.None;
			label5.AutoSize = true;
			label5.Location = new System.Drawing.Point(286, 138);
			label5.Name = "label5";
			label5.Size = new System.Drawing.Size(33, 13);
			label5.TabIndex = 7;
			label5.Text = "100%";
			// 
			// label6
			// 
			label6.Anchor = AnchorStyles.Right;
			label6.AutoSize = true;
			label6.Location = new System.Drawing.Point(469, 138);
			label6.Name = "label6";
			label6.Size = new System.Drawing.Size(33, 13);
			label6.TabIndex = 8;
			label6.Text = "190%";
			// 
			// label7
			// 
			label7.Anchor = AnchorStyles.Left;
			label7.AutoSize = true;
			label7.Location = new System.Drawing.Point(23, 28);
			label7.Name = "label7";
			label7.Size = new System.Drawing.Size(23, 13);
			label7.TabIndex = 9;
			label7.Text = "File";
			// 
			// flowLayoutPanel1
			// 
			tableLayoutPanel1.SetColumnSpan(flowLayoutPanel1, 3);
			flowLayoutPanel1.Controls.Add(button2);
			flowLayoutPanel1.Controls.Add(button1);
			flowLayoutPanel1.Dock = DockStyle.Fill;
			flowLayoutPanel1.FlowDirection = FlowDirection.RightToLeft;
			flowLayoutPanel1.Location = new System.Drawing.Point(100, 382);
			flowLayoutPanel1.Margin = new Padding(0);
			flowLayoutPanel1.Name = "flowLayoutPanel1";
			flowLayoutPanel1.Size = new System.Drawing.Size(405, 30);
			flowLayoutPanel1.TabIndex = 10;
			// 
			// button2
			// 
			button2.Location = new System.Drawing.Point(327, 3);
			button2.Name = "button2";
			button2.Size = new System.Drawing.Size(75, 23);
			button2.TabIndex = 1;
			button2.Text = "Annulla";
			button2.UseVisualStyleBackColor = true;
			button2.Click += new System.EventHandler(Button2Click);
			// 
			// button1
			// 
			button1.Location = new System.Drawing.Point(246, 3);
			button1.Name = "button1";
			button1.Size = new System.Drawing.Size(75, 23);
			button1.TabIndex = 0;
			button1.Text = "OK";
			button1.UseVisualStyleBackColor = true;
			button1.Click += new System.EventHandler(Button1Click);
			// 
			// button3
			// 
			button3.Anchor = AnchorStyles.Right;
			button3.Location = new System.Drawing.Point(427, 23);
			button3.Name = "button3";
			button3.Size = new System.Drawing.Size(75, 23);
			button3.TabIndex = 11;
			button3.Text = "Sfoglia...";
			button3.UseVisualStyleBackColor = true;
			button3.Click += new System.EventHandler(Button3Click);
			// 
			// openFileDialog1
			// 
			openFileDialog1.FileName = "openFileDialog1";
			// 
			// ImagePropertiesForm
			// 
			AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			AutoScaleMode = AutoScaleMode.Font;
			ClientSize = new System.Drawing.Size(527, 432);
			Controls.Add(tableLayoutPanel1);
			Name = "ImagePropertiesForm";
			Text = "ImageSizeForm";
			((System.ComponentModel.ISupportInitialize)(pictureBox1)).EndInit();
			tableLayoutPanel1.ResumeLayout(false);
			tableLayoutPanel1.PerformLayout();
			(trackBar1).EndInit();
			(trackBar2).EndInit();
			flowLayoutPanel1.ResumeLayout(false);
			ResumeLayout (false);

		}
コード例 #21
0
 /// <summary>
 /// Required method for Designer support - do not modify
 ///   the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel table;
     System.Windows.Forms.FlowLayoutPanel  flowButtons;
     System.Windows.Forms.Label            seasonLabel;
     System.Windows.Forms.Label            episodeLabel;
     this.okButton      = new System.Windows.Forms.Button();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.episodeNumber = new System.Windows.Forms.TextBox();
     this.seasonNumber  = new System.Windows.Forms.TextBox();
     table        = new System.Windows.Forms.TableLayoutPanel();
     flowButtons  = new System.Windows.Forms.FlowLayoutPanel();
     seasonLabel  = new System.Windows.Forms.Label();
     episodeLabel = new System.Windows.Forms.Label();
     table.SuspendLayout();
     flowButtons.SuspendLayout();
     this.SuspendLayout();
     //
     // table
     //
     table.ColumnCount = 2;
     table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 93F));
     table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     table.Controls.Add(flowButtons, 0, 2);
     table.Controls.Add(this.episodeNumber, 1, 1);
     table.Controls.Add(this.seasonNumber, 1, 0);
     table.Controls.Add(seasonLabel, 0, 0);
     table.Controls.Add(episodeLabel, 0, 1);
     table.Dock     = System.Windows.Forms.DockStyle.Fill;
     table.Location = new System.Drawing.Point(0, 0);
     table.Name     = "table";
     table.RowCount = 2;
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
     table.Size     = new System.Drawing.Size(213, 81);
     table.TabIndex = 3;
     //
     // flowButtons
     //
     table.SetColumnSpan(flowButtons, 2);
     flowButtons.Controls.Add(this.okButton);
     flowButtons.Controls.Add(this.cancelButton);
     flowButtons.Dock          = System.Windows.Forms.DockStyle.Fill;
     flowButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     flowButtons.Location      = new System.Drawing.Point(0, 50);
     flowButtons.Margin        = new System.Windows.Forms.Padding(0);
     flowButtons.Name          = "flowButtons";
     flowButtons.Size          = new System.Drawing.Size(213, 56);
     flowButtons.TabIndex      = 0;
     //
     // okButton
     //
     this.okButton.Location = new System.Drawing.Point(135, 3);
     this.okButton.Name     = "okButton";
     this.okButton.Size     = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 1;
     this.okButton.Text     = "OK";
     this.okButton.UseVisualStyleBackColor = true;
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // cancelButton
     //
     this.cancelButton.Location = new System.Drawing.Point(54, 3);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.Size     = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 2;
     this.cancelButton.Text     = "Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
     //
     // episodeNumber
     //
     this.episodeNumber.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.episodeNumber.Location = new System.Drawing.Point(96, 28);
     this.episodeNumber.Name     = "episodeNumber";
     this.episodeNumber.Size     = new System.Drawing.Size(114, 20);
     this.episodeNumber.TabIndex = 1;
     //
     // seasonNumber
     //
     this.seasonNumber.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.seasonNumber.Location = new System.Drawing.Point(96, 3);
     this.seasonNumber.Name     = "seasonNumber";
     this.seasonNumber.Size     = new System.Drawing.Size(114, 20);
     this.seasonNumber.TabIndex = 0;
     //
     // seasonLabel
     //
     seasonLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     seasonLabel.AutoSize = true;
     seasonLabel.Location = new System.Drawing.Point(6, 6);
     seasonLabel.Name     = "seasonLabel";
     seasonLabel.Size     = new System.Drawing.Size(84, 13);
     seasonLabel.TabIndex = 2;
     seasonLabel.Text     = "Season number:";
     //
     // episodeLabel
     //
     episodeLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     episodeLabel.AutoSize = true;
     episodeLabel.Location = new System.Drawing.Point(4, 31);
     episodeLabel.Name     = "episodeLabel";
     episodeLabel.Size     = new System.Drawing.Size(86, 13);
     episodeLabel.TabIndex = 3;
     episodeLabel.Text     = "Episode number:";
     //
     // NumberInputDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(213, 81);
     this.ControlBox          = false;
     this.Controls.Add(table);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "NumberInputDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Set Episode";
     table.ResumeLayout(false);
     table.PerformLayout();
     flowButtons.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #22
0
ファイル: Packet Check.cs プロジェクト: rZeton/plot-inet-x
        //End of Listener
        //not in use atm, for future to have reference with respect to range and limits in second window.
        private void DrawParametersList()
        {
            try
            {

                TabPage[] tabStream = new TabPage[Globals.limitPCAP.Keys.Count];
                int pktCnt = 0;
                foreach (int stream in Globals.limitPCAP.Keys)
                {
                    double[] data = new double[Globals.limitPCAP[stream].Count];
                    Label[] dataHolders = new Label[data.Length];
                    Label[] dataLabels = new Label[data.Length];
                    TableLayoutPanel[] dataColumns = new TableLayoutPanel[data.Length / 30 + 1];
                    FlowLayoutPanel flow = new FlowLayoutPanel();
                    flow.FlowDirection = FlowDirection.LeftToRight;
                    tabStream[pktCnt] = new TabPage();
                    for (int i = 0; i != data.Length; i++)
                    {
                        int whichColumn = i / 30;
                        dataLabels[i] = new Label();
                        dataLabels[i].Name = "DataLabel" + i;
                        dataLabels[i].AutoSize = false;
                        dataLabels[i].Text = String.Format("P{0}", i.ToString().PadLeft(3, '0'));
                        dataLabels[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);
                        //dataLabels[i].TextAlign = ContentAlignment.BottomLeft;
                        dataLabels[i].Size = dataLabels[i].PreferredSize;
                        dataHolders[i] = new Label();
                        dataHolders[i].Name = i.ToString();
                        dataHolders[i].AutoSize = false;
                        dataHolders[i].Text = String.Format("{0}", data[i].ToString().PadLeft(6, '0'));
                        dataHolders[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);
                        //Globals.dataHolders[i].TextAlign = ContentAlignment.BottomLeft;
                        dataHolders[i].Size = dataHolders[i].PreferredSize;

                        if (i % 30 == 0)
                        {
                            dataColumns[whichColumn] = new TableLayoutPanel();
                            dataColumns[whichColumn].ColumnCount = 2;
                            dataColumns[whichColumn].RowCount = 30;
                        }
                        dataColumns[whichColumn].Controls.Add(dataLabels[i]);
                        dataColumns[whichColumn].Controls.Add(dataHolders[i]);
                        dataColumns[whichColumn].Size = dataColumns[whichColumn].PreferredSize;
                    }
                    for (int i = 0; i != dataColumns.Length; i++)
                    {
                        flow.Controls.Add(dataColumns[i]);
                    }
                    flow.SuspendLayout();
                    flow.ResumeLayout(false);

                    flow.Size = flow.PreferredSize;
                    tabStream[pktCnt].Controls.Add(flow);
                    tabStream[pktCnt].Name = stream.ToString();
                    tabStream[pktCnt].Text = String.Format("ID={0}", stream);
                    tabStream[pktCnt].Size = tabStream[pktCnt].PreferredSize;
                    pktCnt++;
                }

                listObj = new List_Parameter_Names();
                listObj.Text = "Details of parameters";
                TabControl tabsForDataNames = new TabControl();

                foreach (TabPage stream in tabStream)
                {
                    tabsForDataNames.Controls.Add(stream);
                }
                tabsForDataNames.Size = tabsForDataNames.PreferredSize;
                listObj.Controls.Add(tabsForDataNames);
                listObj.AutoScroll = true;
                listObj.Size = listObj.PreferredSize;
                listObj.SuspendLayout();
                listObj.ResumeLayout(false);
                listObj.Refresh();
                listObj.Show();
            }
            catch (Exception e)
            {
                MessageBox.Show(String.Format("No Stream ID was selected or StreamID={0} is not correct, check your limits file.\n\n{1}", Globals.streamID, e.Message.ToString()));
            }
        }
コード例 #23
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.Windows.Forms.FlowLayoutPanel           _lytButtons;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsForm));
     this._saveButton        = new System.Windows.Forms.Button();
     this._okButton          = new System.Windows.Forms.Button();
     this._cancelButton      = new System.Windows.Forms.Button();
     this._pluginsTreeImages = new System.Windows.Forms.ImageList(this.components);
     this._tabControl        = new System.Windows.Forms.TabControl();
     this._applicationTab    = new System.Windows.Forms.TabPage();
     this._appPropertyGrid   = new System.Windows.Forms.PropertyGrid();
     this._hotKeysTab        = new System.Windows.Forms.TabPage();
     this._styleTab          = new System.Windows.Forms.TabPage();
     this.flowLayoutPanel1   = new System.Windows.Forms.FlowLayoutPanel();
     this._saveSchemeButton  = new System.Windows.Forms.Button();
     this._loadSchemeButton  = new System.Windows.Forms.Button();
     this._stylePropertyGrid = new System.Windows.Forms.PropertyGrid();
     _lytButtons             = new System.Windows.Forms.FlowLayoutPanel();
     _lytButtons.SuspendLayout();
     this._tabControl.SuspendLayout();
     this._applicationTab.SuspendLayout();
     this._styleTab.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // _lytButtons
     //
     resources.ApplyResources(_lytButtons, "_lytButtons");
     _lytButtons.Controls.Add(this._saveButton);
     _lytButtons.Controls.Add(this._okButton);
     _lytButtons.Controls.Add(this._cancelButton);
     _lytButtons.Name = "_lytButtons";
     //
     // _saveButton
     //
     resources.ApplyResources(this._saveButton, "_saveButton");
     this._saveButton.Name   = "_saveButton";
     this._saveButton.Click += new System.EventHandler(this.SaveButtonClick);
     //
     // _okButton
     //
     resources.ApplyResources(this._okButton, "_okButton");
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._okButton.Name         = "_okButton";
     this._okButton.Click       += new System.EventHandler(this.OKButtonClick);
     //
     // _cancelButton
     //
     resources.ApplyResources(this._cancelButton, "_cancelButton");
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.Name         = "_cancelButton";
     this._cancelButton.Click       += new System.EventHandler(this.CancelButtonClick);
     //
     // _pluginsTreeImages
     //
     this._pluginsTreeImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_pluginsTreeImages.ImageStream")));
     this._pluginsTreeImages.TransparentColor = System.Drawing.Color.Transparent;
     this._pluginsTreeImages.Images.SetKeyName(0, "");
     this._pluginsTreeImages.Images.SetKeyName(1, "");
     //
     // _tabControl
     //
     resources.ApplyResources(this._tabControl, "_tabControl");
     this._tabControl.Controls.Add(this._applicationTab);
     this._tabControl.Controls.Add(this._hotKeysTab);
     this._tabControl.Controls.Add(this._styleTab);
     this._tabControl.HotTrack      = true;
     this._tabControl.Name          = "_tabControl";
     this._tabControl.SelectedIndex = 0;
     //
     // _applicationTab
     //
     this._applicationTab.Controls.Add(this._appPropertyGrid);
     resources.ApplyResources(this._applicationTab, "_applicationTab");
     this._applicationTab.Name = "_applicationTab";
     //
     // _appPropertyGrid
     //
     this._appPropertyGrid.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
     this._appPropertyGrid.CommandsBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
     resources.ApplyResources(this._appPropertyGrid, "_appPropertyGrid");
     this._appPropertyGrid.LineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(244)))));
     this._appPropertyGrid.Name                  = "_appPropertyGrid";
     this._appPropertyGrid.PropertySort          = System.Windows.Forms.PropertySort.Categorized;
     this._appPropertyGrid.ToolbarVisible        = false;
     this._appPropertyGrid.ViewBackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(255)))));
     this._appPropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridPropertyValueChanged);
     //
     // _hotKeysTab
     //
     resources.ApplyResources(this._hotKeysTab, "_hotKeysTab");
     this._hotKeysTab.Name = "_hotKeysTab";
     //
     // _styleTab
     //
     this._styleTab.Controls.Add(this.flowLayoutPanel1);
     this._styleTab.Controls.Add(this._stylePropertyGrid);
     resources.ApplyResources(this._styleTab, "_styleTab");
     this._styleTab.Name = "_styleTab";
     //
     // flowLayoutPanel1
     //
     resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
     this.flowLayoutPanel1.Controls.Add(this._saveSchemeButton);
     this.flowLayoutPanel1.Controls.Add(this._loadSchemeButton);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     //
     // _saveSchemeButton
     //
     resources.ApplyResources(this._saveSchemeButton, "_saveSchemeButton");
     this._saveSchemeButton.Name   = "_saveSchemeButton";
     this._saveSchemeButton.Click += new System.EventHandler(this.SaveSchemeButtonClick);
     //
     // _loadSchemeButton
     //
     resources.ApplyResources(this._loadSchemeButton, "_loadSchemeButton");
     this._loadSchemeButton.Name   = "_loadSchemeButton";
     this._loadSchemeButton.Click += new System.EventHandler(this.LoadSchemeButtonClick);
     //
     // _stylePropertyGrid
     //
     resources.ApplyResources(this._stylePropertyGrid, "_stylePropertyGrid");
     this._stylePropertyGrid.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
     this._stylePropertyGrid.CommandsBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
     this._stylePropertyGrid.LineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(244)))));
     this._stylePropertyGrid.Name           = "_stylePropertyGrid";
     this._stylePropertyGrid.PropertySort   = System.Windows.Forms.PropertySort.Categorized;
     this._stylePropertyGrid.ToolbarVisible = false;
     this._stylePropertyGrid.ViewBackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(255)))));
     //
     // OptionsForm
     //
     this.AcceptButton = this._okButton;
     this.CancelButton = this._cancelButton;
     resources.ApplyResources(this, "$this");
     this.Controls.Add(_lytButtons);
     this.Controls.Add(this._tabControl);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "OptionsForm";
     this.ShowInTaskbar = false;
     _lytButtons.ResumeLayout(false);
     _lytButtons.PerformLayout();
     this._tabControl.ResumeLayout(false);
     this._applicationTab.ResumeLayout(false);
     this._styleTab.ResumeLayout(false);
     this._styleTab.PerformLayout();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #24
0
ファイル: Packet Check.cs プロジェクト: rZeton/plot-inet-x
        private void DrawParametersThread()
        {
            this.streamParametersFlow0.Dispose();
            this.tabPage1.Dispose();
            this.tabStream0.Dispose();
            //if (Globals.streamID != -1) { this.streamParametersFlow0.Controls.Clear(); }
            try
            {
                TabPage[] tabStream = new TabPage[Globals.limitPCAP.Keys.Count];
                TabPage[] tabSummary = new TabPage[Globals.limitPCAP.Keys.Count];
                int pktCnt = 0;
                foreach (int stream in Globals.limitPCAP.Keys)
                {
                    //string[] parametersList = new string[] { Globals.limitPCAP[stream].Keys};
                    List<string> parametersList = new List<string>(Globals.limitPCAP[stream].Keys);
                    double[] data = new double[Globals.limitPCAP[stream].Count];
                    Label[] dataHolders = new Label[data.Length];
                    Label[] dataLabels = new Label[data.Length];
                    TableLayoutPanel[] dataColumns = new TableLayoutPanel[data.Length / 30 + 1];
                    FlowLayoutPanel flow = new FlowLayoutPanel();
                    flow.FlowDirection = FlowDirection.LeftToRight;
                    tabStream[pktCnt] = new TabPage();
                    for (int i = 0; i != data.Length; i++)
                    {
                        int whichColumn = i / 30;
                        dataLabels[i] = new Label();
                        dataLabels[i].Name = "DataLabel" + i;
                        dataLabels[i].AutoSize = false;
                        //dataLabels[i].Text = String.Format("P{0}", i.ToString().PadLeft(3, '0'));     // Changed to parameter name as ACLS has XX123 convention
                        dataLabels[i].Text = String.Format("{0}", parametersList[i].ToString());
                        dataLabels[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);

                        dataLabels[i].Size = dataLabels[i].PreferredSize;
                        dataHolders[i] = new Label();
                        dataHolders[i].Name = i.ToString();
                        dataHolders[i].AutoSize = false;
                        dataHolders[i].Text = String.Format("{0}", data[i].ToString().PadLeft(Globals.digitsNumber, '0'));
                        dataHolders[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);
                        //Globals.dataHolders[i].TextAlign = ContentAlignment.BottomLeft;
                        dataHolders[i].Size = dataHolders[i].PreferredSize;

                        if (i % 30 == 0)
                        {
                            dataColumns[whichColumn] = new TableLayoutPanel();
                            dataColumns[whichColumn].ColumnCount = 2;
                            dataColumns[whichColumn].RowCount = 30;
                        }
                        dataColumns[whichColumn].Controls.Add(dataLabels[i]);
                        dataColumns[whichColumn].Controls.Add(dataHolders[i]);
                        dataColumns[whichColumn].Size = dataColumns[whichColumn].PreferredSize;
                    }
                    for (int i = 0; i != dataColumns.Length; i++)
                    {
                        flow.Controls.Add(dataColumns[i]);
                    }
                    flow.SuspendLayout();
                    flow.ResumeLayout(false);
                    //tabStream[pktCnt].AutoScroll = true;
                    //tabStream[pktCnt].AutoScrollPosition = new System.Drawing.Point(349, 0);
                    flow.Size = flow.PreferredSize;
                    tabStream[pktCnt].Controls.Add(flow);
                    tabStream[pktCnt].Name = stream.ToString();
                    tabStream[pktCnt].Text = String.Format("ID={0}", stream);
                    tabStream[pktCnt].Size = tabStream[pktCnt].PreferredSize;
                    //create summary tab
                    tabSummary[pktCnt] = new TabPage(String.Format("ID={0}", stream));
                    tabSummary[pktCnt].Name = stream.ToString();
                    tabStream[pktCnt].AutoScroll = true;
                    Label[] summaryLabel = new Label[8];
                    Panel sumpanel = new Panel();
                    for (int i = 0; i != summaryLabel.Length; i++) summaryLabel[i] = new Label();
                    summaryLabel[0].Text = "Lost Packets";
                    summaryLabel[1].Text = "Sequence Errors";
                    summaryLabel[2].Text = "Parameter Errors";
                    summaryLabel[3].Text = "Frames Received";// +stream.ToString();
                    summaryLabel[0].Name = "l";
                    summaryLabel[1].Name = "l";
                    summaryLabel[2].Name = "l";
                    summaryLabel[3].Name = "l";
                    summaryLabel[0].Location = new System.Drawing.Point(6, 3);
                    summaryLabel[1].Location = new System.Drawing.Point(6, 16);
                    summaryLabel[2].Location = new System.Drawing.Point(6, 29);
                    summaryLabel[3].Location = new System.Drawing.Point(6, 42);
                    //summary dataHolders
                    summaryLabel[4].Text = "".PadLeft(10, '0');
                    summaryLabel[5].Text = "".PadLeft(10, '0');
                    summaryLabel[6].Text = "".PadLeft(10, '0');
                    summaryLabel[7].Text = "".PadLeft(10, '0');
                    summaryLabel[4].Name = "Lost Packets";
                    summaryLabel[5].Name = "Sequence Errors";
                    summaryLabel[6].Name = "Parameter Errors";
                    summaryLabel[7].Name = "Frames Received";
                    summaryLabel[4].Location = new System.Drawing.Point(98, 3);
                    summaryLabel[5].Location = new System.Drawing.Point(98, 16);
                    summaryLabel[6].Location = new System.Drawing.Point(98, 29);
                    summaryLabel[7].Location = new System.Drawing.Point(98, 42);
                    summaryLabel[4].BackColor = System.Drawing.Color.Red;
                    summaryLabel[5].BackColor = System.Drawing.Color.Red;
                    summaryLabel[6].BackColor = System.Drawing.Color.Red;
                    summaryLabel[7].BackColor = System.Drawing.Color.White;
                    summaryLabel[4].ForeColor = System.Drawing.Color.White;
                    summaryLabel[5].ForeColor = System.Drawing.Color.White;
                    summaryLabel[6].ForeColor = System.Drawing.Color.White;
                    summaryLabel[7].ForeColor = System.Drawing.Color.Black;
                    for (int i = 0; i != summaryLabel.Length; i++)
                    {
                        summaryLabel[i].Size = summaryLabel[i].PreferredSize;
                        sumpanel.Controls.Add(summaryLabel[i]);
                    }
                    sumpanel.SuspendLayout(); sumpanel.ResumeLayout(false);
                    tabSummary[pktCnt].Controls.Add(sumpanel);
                    tabSummary[pktCnt].SuspendLayout();
                    tabSummary[pktCnt].ResumeLayout(false);
                    pktCnt++;
                }
                foreach (TabPage stream in tabStream)
                {
                    this.streamParameterTabControl.Controls.Add(stream);
                }
                foreach (TabPage stream in tabSummary)
                {
                    this.streamSummaryTab.Controls.Add(stream);
                }
                this.streamSummaryTab.SuspendLayout(); this.streamSummaryTab.ResumeLayout(false);
                this.streamParameterTabControl.SuspendLayout(); this.streamParameterTabControl.ResumeLayout(false);
                this.streamParameterTabControl.Size = this.streamParameterTabControl.PreferredSize;
                //this.Size = this.PreferredSize;
                this.SuspendLayout();
                this.ResumeLayout(false);
                this.Refresh();
                // for future use // DrawParametersList();
            }
            catch (Exception e)
            {
                MessageBox.Show(String.Format("No Stream ID was selected or StreamID={0} is not correct, check your limits file.\n\n{1}", Globals.streamID, e.Message.ToString()));
            }
        }
コード例 #25
0
 //NOTE: The following procedure is required by the Windows Form Designer
 //It can be modified using the Windows Form Designer.
 //Do not modify it using the code editor.
 [DebuggerStepThrough()] private void InitializeComponent()
 {
     System.Windows.Forms.FlowLayoutPanel FlowLayoutPanel6;
     this.lblTitle       = new System.Windows.Forms.Label();
     this.btnListRemove  = new System.Windows.Forms.Button();
     this.label1         = new System.Windows.Forms.Label();
     this.txtAddKey      = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.txtAddValue    = new System.Windows.Forms.TextBox();
     this.btnSet         = new System.Windows.Forms.Button();
     this.pnlValues      = new System.Windows.Forms.Panel();
     this.lstValues      = new System.Windows.Forms.ListView();
     this.colKey         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colValue       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     FlowLayoutPanel6    = new System.Windows.Forms.FlowLayoutPanel();
     FlowLayoutPanel6.SuspendLayout();
     this.pnlValues.SuspendLayout();
     this.SuspendLayout();
     //
     // lblTitle
     //
     this.lblTitle.BackColor = System.Drawing.Color.PowderBlue;
     this.lblTitle.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lblTitle.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTitle.Location  = new System.Drawing.Point(0, 0);
     this.lblTitle.Name      = "lblTitle";
     this.lblTitle.Size      = new System.Drawing.Size(571, 20);
     this.lblTitle.TabIndex  = 3;
     this.lblTitle.Text      = "Values";
     //
     // FlowLayoutPanel6
     //
     FlowLayoutPanel6.Controls.Add(this.btnListRemove);
     FlowLayoutPanel6.Controls.Add(this.label1);
     FlowLayoutPanel6.Controls.Add(this.txtAddKey);
     FlowLayoutPanel6.Controls.Add(this.label2);
     FlowLayoutPanel6.Controls.Add(this.txtAddValue);
     FlowLayoutPanel6.Controls.Add(this.btnSet);
     FlowLayoutPanel6.Dock     = System.Windows.Forms.DockStyle.Bottom;
     FlowLayoutPanel6.Location = new System.Drawing.Point(0, 524);
     FlowLayoutPanel6.Name     = "FlowLayoutPanel6";
     FlowLayoutPanel6.Size     = new System.Drawing.Size(571, 32);
     FlowLayoutPanel6.TabIndex = 5;
     //
     // btnListRemove
     //
     this.btnListRemove.Location = new System.Drawing.Point(3, 3);
     this.btnListRemove.Name     = "btnListRemove";
     this.btnListRemove.Size     = new System.Drawing.Size(93, 29);
     this.btnListRemove.TabIndex = 0;
     this.btnListRemove.Text     = "Remove";
     this.btnListRemove.UseVisualStyleBackColor = true;
     this.btnListRemove.Click += new System.EventHandler(this.btnListRemove_Click);
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(102, 11);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(61, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Key to add:";
     //
     // txtAddKey
     //
     this.txtAddKey.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.txtAddKey.Location = new System.Drawing.Point(169, 7);
     this.txtAddKey.Name     = "txtAddKey";
     this.txtAddKey.Size     = new System.Drawing.Size(100, 20);
     this.txtAddKey.TabIndex = 2;
     //
     // label2
     //
     this.label2.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(280, 11);
     this.label2.Margin   = new System.Windows.Forms.Padding(8, 0, 3, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(70, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Value to add:";
     //
     // txtAddValue
     //
     this.txtAddValue.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.txtAddValue.Location = new System.Drawing.Point(356, 7);
     this.txtAddValue.Name     = "txtAddValue";
     this.txtAddValue.Size     = new System.Drawing.Size(100, 20);
     this.txtAddValue.TabIndex = 4;
     //
     // btnSet
     //
     this.btnSet.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.btnSet.Location = new System.Drawing.Point(462, 6);
     this.btnSet.Name     = "btnSet";
     this.btnSet.Size     = new System.Drawing.Size(63, 23);
     this.btnSet.TabIndex = 5;
     this.btnSet.Text     = "Set";
     this.btnSet.UseVisualStyleBackColor = true;
     this.btnSet.Click += new System.EventHandler(this.btnSet_Click);
     //
     // pnlValues
     //
     this.pnlValues.Controls.Add(this.lstValues);
     this.pnlValues.Controls.Add(this.lblTitle);
     this.pnlValues.Controls.Add(FlowLayoutPanel6);
     this.pnlValues.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlValues.Location = new System.Drawing.Point(0, 0);
     this.pnlValues.Name     = "pnlValues";
     this.pnlValues.Size     = new System.Drawing.Size(571, 556);
     this.pnlValues.TabIndex = 64;
     //
     // lstValues
     //
     this.lstValues.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.colKey,
         this.colValue,
         this.colDescription
     });
     this.lstValues.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lstValues.FullRowSelect = true;
     this.lstValues.HideSelection = false;
     this.lstValues.Location      = new System.Drawing.Point(0, 20);
     this.lstValues.MultiSelect   = false;
     this.lstValues.Name          = "lstValues";
     this.lstValues.ShowGroups    = false;
     this.lstValues.Size          = new System.Drawing.Size(571, 504);
     this.lstValues.TabIndex      = 4;
     this.lstValues.UseCompatibleStateImageBehavior = false;
     this.lstValues.View = System.Windows.Forms.View.Details;
     //
     // colKey
     //
     this.colKey.Text  = "Key";
     this.colKey.Width = 160;
     //
     // colValue
     //
     this.colValue.Text  = "Value";
     this.colValue.Width = 160;
     //
     // colDescription
     //
     this.colDescription.Text  = "Description";
     this.colDescription.Width = 260;
     //
     // cfgListValues
     //
     this.Controls.Add(this.pnlValues);
     this.Name = "cfgListValues";
     this.Size = new System.Drawing.Size(571, 556);
     FlowLayoutPanel6.ResumeLayout(false);
     FlowLayoutPanel6.PerformLayout();
     this.pnlValues.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #26
0
ファイル: Packet Check.cs プロジェクト: rZeton/plot-inet-x
 private void SelectIP()
 {
     if (Globals.sourceIP != null) //disabled
     {
         TextBox inputIP = new TextBox();
         Label inputIPLabel = new Label();
         FlowLayoutPanel panel = new FlowLayoutPanel();
         panel.FlowDirection = FlowDirection.TopDown;
         inputIPLabel.Text = "Please specify IP Adress of source of packets in 192.168.2.1 format\nLeave blank for no filtering";
         inputIPLabel.Size = inputIPLabel.PreferredSize;
         inputIP.Size = inputIPLabel.Size;
         Button btnOK = new Button();
         btnOK.Text = "OK";
         btnOK.Click += new EventHandler(selectIPClick);
         panel.Controls.AddRange(new Control[] { inputIPLabel, inputIP, btnOK });
         panel.SuspendLayout();
         panel.ResumeLayout(false);
         panel.Size = panel.PreferredSize;
         IPobj = new selectIP();
         IPobj.Text = "Please select IP Adress of the source";
         IPobj.Controls.Add(panel);
         IPobj.Size = IPobj.PreferredSize;
         IPobj.Show();
     }
     this.WindowState = FormWindowState.Normal;
     this.BringToFront();
 }
コード例 #27
0
        public static FlowLayoutPanel Section(Element element, ToolTip tooltip = null)
        {
            var panel = new FlowLayoutPanel();
            panel.SuspendLayout();
            panel.FlowDirection = FlowDirection.LeftToRight;
            panel.AutoSize = true;
            panel.Font = Methods.BaseFont;
            panel.Name = "s" + element.Name;
            panel.Tag = element;

            //panel.BorderStyle = BorderStyle.Fixed3D;
            panel.BorderStyle = BorderStyle.None;
            if (element.Parent !=null && element.Parent.Name != "configuration")
            {
                panel.BackColor = System.Drawing.Color.FromArgb(238, 238, 238);
            }

            panel.Size = new System.Drawing.Size(208, 53);
            panel.AutoSize = true;
            panel.Location = new System.Drawing.Point(0, 24);
            if (tooltip != null)
            {
                tooltip.SetToolTip(panel, element.Documentation);
            }

            if (!element.RootElement)
            {
                panel.Controls.Add(Controls.Label(element, tooltip));
            }
            else
            {
                // hide the root to create the menu selections...
                panel.Visible = false;
            }
            panel.ResumeLayout();
            return panel;
        }
コード例 #28
0
 /// <summary>s
 /// 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.Windows.Forms.Label                     OpacityLabel;
     System.Windows.Forms.ToolStripMenuItem         RestoreWindowMenuItem;
     System.Windows.Forms.ToolStripMenuItem         ExitMenuItem;
     System.Windows.Forms.FlowLayoutPanel           ContentFlowLayoutPanel;
     System.Windows.Forms.Panel                     OpacityPanel;
     System.Windows.Forms.Panel                     ResizeOptionsPanel;
     System.Windows.Forms.Label                     HeigthLabel;
     System.Windows.Forms.Label                     WidthLabel;
     System.Windows.Forms.Panel                     ZoomOptionsPanel;
     System.Windows.Forms.Label                     ZoomFactorLabel;
     System.Windows.Forms.Label                     ZoomAnchorLabel;
     System.Windows.Forms.Panel                     ThumbnailsListPanel;
     System.Windows.Forms.Label                     ThumbnailsListLabel;
     System.Windows.Forms.ToolStripMenuItem         TitleMenuItem;
     System.Windows.Forms.ToolStripSeparator        SeparatorMenuItem;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.MinimizeToTrayCheckBox                   = new System.Windows.Forms.CheckBox();
     this.ThumbnailsOpacityScrollBar               = new System.Windows.Forms.HScrollBar();
     this.EnableClientLayoutTrackingCheckBox       = new System.Windows.Forms.CheckBox();
     this.HideActiveClientThumbnailCheckBox        = new System.Windows.Forms.CheckBox();
     this.ShowThumbnailsAlwaysOnTopCheckBox        = new System.Windows.Forms.CheckBox();
     this.HideThumbnailsOnLostFocusCheckBox        = new System.Windows.Forms.CheckBox();
     this.EnablePerClientThumbnailsLayoutsCheckBox = new System.Windows.Forms.CheckBox();
     this.ThumbnailsWidthNumericEdit               = new System.Windows.Forms.NumericUpDown();
     this.ThumbnailsHeightNumericEdit              = new System.Windows.Forms.NumericUpDown();
     this.ZoomAnchorPanel                = new System.Windows.Forms.Panel();
     this.ZoomAanchorNWRadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorNRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorNERadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorWRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSERadioButton       = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorCRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSRadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorERadioButton        = new System.Windows.Forms.RadioButton();
     this.ZoomAanchorSWRadioButton       = new System.Windows.Forms.RadioButton();
     this.EnableThumbnailZoomCheckBox    = new System.Windows.Forms.CheckBox();
     this.ThumbnailZoomFactorNumericEdit = new System.Windows.Forms.NumericUpDown();
     this.ShowThumbnailOverlaysCheckBox  = new System.Windows.Forms.CheckBox();
     this.ShowThumbnailFramesCheckBox    = new System.Windows.Forms.CheckBox();
     this.ThumbnailsList    = new System.Windows.Forms.CheckedListBox();
     this.ForumLinkLabel    = new System.Windows.Forms.LinkLabel();
     this.NotifyIcon        = new System.Windows.Forms.NotifyIcon(this.components);
     this.TrayMenu          = new System.Windows.Forms.ContextMenuStrip(this.components);
     OpacityLabel           = new System.Windows.Forms.Label();
     RestoreWindowMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     ExitMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     ContentFlowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
     OpacityPanel           = new System.Windows.Forms.Panel();
     ResizeOptionsPanel     = new System.Windows.Forms.Panel();
     HeigthLabel            = new System.Windows.Forms.Label();
     WidthLabel             = new System.Windows.Forms.Label();
     ZoomOptionsPanel       = new System.Windows.Forms.Panel();
     ZoomFactorLabel        = new System.Windows.Forms.Label();
     ZoomAnchorLabel        = new System.Windows.Forms.Label();
     ThumbnailsListPanel    = new System.Windows.Forms.Panel();
     ThumbnailsListLabel    = new System.Windows.Forms.Label();
     TitleMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     SeparatorMenuItem      = new System.Windows.Forms.ToolStripSeparator();
     ContentFlowLayoutPanel.SuspendLayout();
     OpacityPanel.SuspendLayout();
     ResizeOptionsPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).BeginInit();
     ZoomOptionsPanel.SuspendLayout();
     this.ZoomAnchorPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).BeginInit();
     ThumbnailsListPanel.SuspendLayout();
     this.TrayMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // OpacityLabel
     //
     OpacityLabel.AutoSize = true;
     OpacityLabel.Location = new System.Drawing.Point(2, 5);
     OpacityLabel.Name     = "OpacityLabel";
     OpacityLabel.Size     = new System.Drawing.Size(43, 13);
     OpacityLabel.TabIndex = 0;
     OpacityLabel.Text     = "Opacity";
     //
     // RestoreWindowMenuItem
     //
     RestoreWindowMenuItem.Name   = "RestoreWindowMenuItem";
     RestoreWindowMenuItem.Size   = new System.Drawing.Size(151, 22);
     RestoreWindowMenuItem.Text   = "Restore";
     RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler);
     //
     // ExitMenuItem
     //
     ExitMenuItem.Name   = "ExitMenuItem";
     ExitMenuItem.Size   = new System.Drawing.Size(151, 22);
     ExitMenuItem.Text   = "Exit";
     ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler);
     //
     // ContentFlowLayoutPanel
     //
     ContentFlowLayoutPanel.BackColor = System.Drawing.SystemColors.Control;
     ContentFlowLayoutPanel.Controls.Add(this.MinimizeToTrayCheckBox);
     ContentFlowLayoutPanel.Controls.Add(OpacityPanel);
     ContentFlowLayoutPanel.Controls.Add(this.EnableClientLayoutTrackingCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.HideActiveClientThumbnailCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailsAlwaysOnTopCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.HideThumbnailsOnLostFocusCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.EnablePerClientThumbnailsLayoutsCheckBox);
     ContentFlowLayoutPanel.Controls.Add(ResizeOptionsPanel);
     ContentFlowLayoutPanel.Controls.Add(ZoomOptionsPanel);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailOverlaysCheckBox);
     ContentFlowLayoutPanel.Controls.Add(this.ShowThumbnailFramesCheckBox);
     ContentFlowLayoutPanel.Controls.Add(ThumbnailsListPanel);
     ContentFlowLayoutPanel.Controls.Add(this.ForumLinkLabel);
     ContentFlowLayoutPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     ContentFlowLayoutPanel.Location = new System.Drawing.Point(0, 0);
     ContentFlowLayoutPanel.Name     = "ContentFlowLayoutPanel";
     ContentFlowLayoutPanel.Size     = new System.Drawing.Size(252, 481);
     ContentFlowLayoutPanel.TabIndex = 25;
     //
     // MinimizeToTrayCheckBox
     //
     this.MinimizeToTrayCheckBox.AutoSize = true;
     this.MinimizeToTrayCheckBox.Location = new System.Drawing.Point(3, 3);
     this.MinimizeToTrayCheckBox.Name     = "MinimizeToTrayCheckBox";
     this.MinimizeToTrayCheckBox.Size     = new System.Drawing.Size(139, 17);
     this.MinimizeToTrayCheckBox.TabIndex = 34;
     this.MinimizeToTrayCheckBox.Text     = "Minimize to System Tray";
     this.MinimizeToTrayCheckBox.UseVisualStyleBackColor = true;
     this.MinimizeToTrayCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // OpacityPanel
     //
     OpacityPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     OpacityPanel.Controls.Add(this.ThumbnailsOpacityScrollBar);
     OpacityPanel.Controls.Add(OpacityLabel);
     OpacityPanel.Location = new System.Drawing.Point(3, 26);
     OpacityPanel.Name     = "OpacityPanel";
     OpacityPanel.Size     = new System.Drawing.Size(246, 26);
     OpacityPanel.TabIndex = 33;
     //
     // ThumbnailsOpacityScrollBar
     //
     this.ThumbnailsOpacityScrollBar.Location = new System.Drawing.Point(48, 1);
     this.ThumbnailsOpacityScrollBar.Maximum  = 120;
     this.ThumbnailsOpacityScrollBar.Name     = "ThumbnailsOpacityScrollBar";
     this.ThumbnailsOpacityScrollBar.Size     = new System.Drawing.Size(195, 23);
     this.ThumbnailsOpacityScrollBar.TabIndex = 1;
     this.ThumbnailsOpacityScrollBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.OptionChanged_Handler);
     //
     // EnableClientLayoutTrackingCheckBox
     //
     this.EnableClientLayoutTrackingCheckBox.AutoSize = true;
     this.EnableClientLayoutTrackingCheckBox.Location = new System.Drawing.Point(3, 58);
     this.EnableClientLayoutTrackingCheckBox.Name     = "EnableClientLayoutTrackingCheckBox";
     this.EnableClientLayoutTrackingCheckBox.Size     = new System.Drawing.Size(127, 17);
     this.EnableClientLayoutTrackingCheckBox.TabIndex = 32;
     this.EnableClientLayoutTrackingCheckBox.Text     = "Track client locations";
     this.EnableClientLayoutTrackingCheckBox.UseVisualStyleBackColor = true;
     this.EnableClientLayoutTrackingCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // HideActiveClientThumbnailCheckBox
     //
     this.HideActiveClientThumbnailCheckBox.AutoSize   = true;
     this.HideActiveClientThumbnailCheckBox.Checked    = true;
     this.HideActiveClientThumbnailCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.HideActiveClientThumbnailCheckBox.Location   = new System.Drawing.Point(3, 81);
     this.HideActiveClientThumbnailCheckBox.Name       = "HideActiveClientThumbnailCheckBox";
     this.HideActiveClientThumbnailCheckBox.Size       = new System.Drawing.Size(184, 17);
     this.HideActiveClientThumbnailCheckBox.TabIndex   = 1;
     this.HideActiveClientThumbnailCheckBox.Text       = "Hide preview of active EVE client";
     this.HideActiveClientThumbnailCheckBox.UseVisualStyleBackColor = true;
     this.HideActiveClientThumbnailCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailsAlwaysOnTopCheckBox
     //
     this.ShowThumbnailsAlwaysOnTopCheckBox.AutoSize                = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Checked                 = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Location                = new System.Drawing.Point(3, 104);
     this.ShowThumbnailsAlwaysOnTopCheckBox.Name                    = "ShowThumbnailsAlwaysOnTopCheckBox";
     this.ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Size                    = new System.Drawing.Size(137, 17);
     this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex                = 8;
     this.ShowThumbnailsAlwaysOnTopCheckBox.Text                    = "Previews always on top";
     this.ShowThumbnailsAlwaysOnTopCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailsAlwaysOnTopCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // HideThumbnailsOnLostFocusCheckBox
     //
     this.HideThumbnailsOnLostFocusCheckBox.AutoSize   = true;
     this.HideThumbnailsOnLostFocusCheckBox.Checked    = true;
     this.HideThumbnailsOnLostFocusCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.HideThumbnailsOnLostFocusCheckBox.Location   = new System.Drawing.Point(3, 127);
     this.HideThumbnailsOnLostFocusCheckBox.Name       = "HideThumbnailsOnLostFocusCheckBox";
     this.HideThumbnailsOnLostFocusCheckBox.Size       = new System.Drawing.Size(234, 17);
     this.HideThumbnailsOnLostFocusCheckBox.TabIndex   = 2;
     this.HideThumbnailsOnLostFocusCheckBox.Text       = "Hide previews when EVE client is not active";
     this.HideThumbnailsOnLostFocusCheckBox.UseVisualStyleBackColor = true;
     this.HideThumbnailsOnLostFocusCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // EnablePerClientThumbnailsLayoutsCheckBox
     //
     this.EnablePerClientThumbnailsLayoutsCheckBox.AutoSize   = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Checked    = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Location   = new System.Drawing.Point(3, 150);
     this.EnablePerClientThumbnailsLayoutsCheckBox.Name       = "EnablePerClientThumbnailsLayoutsCheckBox";
     this.EnablePerClientThumbnailsLayoutsCheckBox.Size       = new System.Drawing.Size(185, 17);
     this.EnablePerClientThumbnailsLayoutsCheckBox.TabIndex   = 3;
     this.EnablePerClientThumbnailsLayoutsCheckBox.Text       = "Unique layout for each EVE client";
     this.EnablePerClientThumbnailsLayoutsCheckBox.UseVisualStyleBackColor = true;
     this.EnablePerClientThumbnailsLayoutsCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ResizeOptionsPanel
     //
     ResizeOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ResizeOptionsPanel.Controls.Add(HeigthLabel);
     ResizeOptionsPanel.Controls.Add(WidthLabel);
     ResizeOptionsPanel.Controls.Add(this.ThumbnailsWidthNumericEdit);
     ResizeOptionsPanel.Controls.Add(this.ThumbnailsHeightNumericEdit);
     ResizeOptionsPanel.Location = new System.Drawing.Point(3, 173);
     ResizeOptionsPanel.Name     = "ResizeOptionsPanel";
     ResizeOptionsPanel.Size     = new System.Drawing.Size(246, 28);
     ResizeOptionsPanel.TabIndex = 26;
     //
     // HeigthLabel
     //
     HeigthLabel.AutoSize = true;
     HeigthLabel.Location = new System.Drawing.Point(152, 5);
     HeigthLabel.Name     = "HeigthLabel";
     HeigthLabel.Size     = new System.Drawing.Size(38, 13);
     HeigthLabel.TabIndex = 14;
     HeigthLabel.Text     = "Heigth";
     //
     // WidthLabel
     //
     WidthLabel.AutoSize = true;
     WidthLabel.Location = new System.Drawing.Point(2, 5);
     WidthLabel.Name     = "WidthLabel";
     WidthLabel.Size     = new System.Drawing.Size(87, 13);
     WidthLabel.TabIndex = 13;
     WidthLabel.Text     = "Thumbnail Width";
     //
     // ThumbnailsWidthNumericEdit
     //
     this.ThumbnailsWidthNumericEdit.BackColor        = System.Drawing.SystemColors.Window;
     this.ThumbnailsWidthNumericEdit.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailsWidthNumericEdit.CausesValidation = false;
     this.ThumbnailsWidthNumericEdit.Increment        = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(95, 3);
     this.ThumbnailsWidthNumericEdit.Maximum  = new decimal(new int[] {
         999999,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.Name     = "ThumbnailsWidthNumericEdit";
     this.ThumbnailsWidthNumericEdit.Size     = new System.Drawing.Size(48, 20);
     this.ThumbnailsWidthNumericEdit.TabIndex = 11;
     this.ThumbnailsWidthNumericEdit.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.ThumbnailsWidthNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler);
     //
     // ThumbnailsHeightNumericEdit
     //
     this.ThumbnailsHeightNumericEdit.BackColor        = System.Drawing.SystemColors.Window;
     this.ThumbnailsHeightNumericEdit.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailsHeightNumericEdit.CausesValidation = false;
     this.ThumbnailsHeightNumericEdit.Increment        = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.Location = new System.Drawing.Point(196, 3);
     this.ThumbnailsHeightNumericEdit.Maximum  = new decimal(new int[] {
         99999999,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.Name     = "ThumbnailsHeightNumericEdit";
     this.ThumbnailsHeightNumericEdit.Size     = new System.Drawing.Size(42, 20);
     this.ThumbnailsHeightNumericEdit.TabIndex = 12;
     this.ThumbnailsHeightNumericEdit.Value    = new decimal(new int[] {
         70,
         0,
         0,
         0
     });
     this.ThumbnailsHeightNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler);
     //
     // ZoomOptionsPanel
     //
     ZoomOptionsPanel.BackColor   = System.Drawing.SystemColors.Control;
     ZoomOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ZoomOptionsPanel.Controls.Add(ZoomFactorLabel);
     ZoomOptionsPanel.Controls.Add(this.ZoomAnchorPanel);
     ZoomOptionsPanel.Controls.Add(ZoomAnchorLabel);
     ZoomOptionsPanel.Controls.Add(this.EnableThumbnailZoomCheckBox);
     ZoomOptionsPanel.Controls.Add(this.ThumbnailZoomFactorNumericEdit);
     ZoomOptionsPanel.Location = new System.Drawing.Point(3, 207);
     ZoomOptionsPanel.Name     = "ZoomOptionsPanel";
     ZoomOptionsPanel.Size     = new System.Drawing.Size(246, 82);
     ZoomOptionsPanel.TabIndex = 27;
     //
     // ZoomFactorLabel
     //
     ZoomFactorLabel.AutoSize = true;
     ZoomFactorLabel.Location = new System.Drawing.Point(8, 43);
     ZoomFactorLabel.Name     = "ZoomFactorLabel";
     ZoomFactorLabel.Size     = new System.Drawing.Size(67, 13);
     ZoomFactorLabel.TabIndex = 29;
     ZoomFactorLabel.Text     = "Zoom Factor";
     //
     // ZoomAnchorPanel
     //
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNWRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorWRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorCRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSRadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorERadioButton);
     this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSWRadioButton);
     this.ZoomAnchorPanel.Location = new System.Drawing.Point(182, 21);
     this.ZoomAnchorPanel.Name     = "ZoomAnchorPanel";
     this.ZoomAnchorPanel.Size     = new System.Drawing.Size(60, 57);
     this.ZoomAnchorPanel.TabIndex = 28;
     //
     // ZoomAanchorNWRadioButton
     //
     this.ZoomAanchorNWRadioButton.AutoSize = true;
     this.ZoomAanchorNWRadioButton.Location = new System.Drawing.Point(3, 3);
     this.ZoomAanchorNWRadioButton.Name     = "ZoomAanchorNWRadioButton";
     this.ZoomAanchorNWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNWRadioButton.TabIndex = 15;
     this.ZoomAanchorNWRadioButton.TabStop  = true;
     this.ZoomAanchorNWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorNRadioButton
     //
     this.ZoomAanchorNRadioButton.AutoSize = true;
     this.ZoomAanchorNRadioButton.Location = new System.Drawing.Point(23, 3);
     this.ZoomAanchorNRadioButton.Name     = "ZoomAanchorNRadioButton";
     this.ZoomAanchorNRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNRadioButton.TabIndex = 16;
     this.ZoomAanchorNRadioButton.TabStop  = true;
     this.ZoomAanchorNRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorNERadioButton
     //
     this.ZoomAanchorNERadioButton.AutoSize = true;
     this.ZoomAanchorNERadioButton.Location = new System.Drawing.Point(43, 3);
     this.ZoomAanchorNERadioButton.Name     = "ZoomAanchorNERadioButton";
     this.ZoomAanchorNERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorNERadioButton.TabIndex = 17;
     this.ZoomAanchorNERadioButton.TabStop  = true;
     this.ZoomAanchorNERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorNERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorWRadioButton
     //
     this.ZoomAanchorWRadioButton.AutoSize = true;
     this.ZoomAanchorWRadioButton.Location = new System.Drawing.Point(3, 22);
     this.ZoomAanchorWRadioButton.Name     = "ZoomAanchorWRadioButton";
     this.ZoomAanchorWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorWRadioButton.TabIndex = 18;
     this.ZoomAanchorWRadioButton.TabStop  = true;
     this.ZoomAanchorWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSERadioButton
     //
     this.ZoomAanchorSERadioButton.AutoSize = true;
     this.ZoomAanchorSERadioButton.Location = new System.Drawing.Point(43, 41);
     this.ZoomAanchorSERadioButton.Name     = "ZoomAanchorSERadioButton";
     this.ZoomAanchorSERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSERadioButton.TabIndex = 23;
     this.ZoomAanchorSERadioButton.TabStop  = true;
     this.ZoomAanchorSERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorCRadioButton
     //
     this.ZoomAanchorCRadioButton.AutoSize = true;
     this.ZoomAanchorCRadioButton.Location = new System.Drawing.Point(23, 22);
     this.ZoomAanchorCRadioButton.Name     = "ZoomAanchorCRadioButton";
     this.ZoomAanchorCRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorCRadioButton.TabIndex = 19;
     this.ZoomAanchorCRadioButton.TabStop  = true;
     this.ZoomAanchorCRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorCRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSRadioButton
     //
     this.ZoomAanchorSRadioButton.AutoSize = true;
     this.ZoomAanchorSRadioButton.Location = new System.Drawing.Point(23, 41);
     this.ZoomAanchorSRadioButton.Name     = "ZoomAanchorSRadioButton";
     this.ZoomAanchorSRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSRadioButton.TabIndex = 22;
     this.ZoomAanchorSRadioButton.TabStop  = true;
     this.ZoomAanchorSRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorERadioButton
     //
     this.ZoomAanchorERadioButton.AutoSize = true;
     this.ZoomAanchorERadioButton.Location = new System.Drawing.Point(43, 22);
     this.ZoomAanchorERadioButton.Name     = "ZoomAanchorERadioButton";
     this.ZoomAanchorERadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorERadioButton.TabIndex = 20;
     this.ZoomAanchorERadioButton.TabStop  = true;
     this.ZoomAanchorERadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorERadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAanchorSWRadioButton
     //
     this.ZoomAanchorSWRadioButton.AutoSize = true;
     this.ZoomAanchorSWRadioButton.Location = new System.Drawing.Point(3, 41);
     this.ZoomAanchorSWRadioButton.Name     = "ZoomAanchorSWRadioButton";
     this.ZoomAanchorSWRadioButton.Size     = new System.Drawing.Size(14, 13);
     this.ZoomAanchorSWRadioButton.TabIndex = 21;
     this.ZoomAanchorSWRadioButton.TabStop  = true;
     this.ZoomAanchorSWRadioButton.UseVisualStyleBackColor = true;
     this.ZoomAanchorSWRadioButton.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ZoomAnchorLabel
     //
     ZoomAnchorLabel.AutoSize = true;
     ZoomAnchorLabel.Location = new System.Drawing.Point(138, 43);
     ZoomAnchorLabel.Name     = "ZoomAnchorLabel";
     ZoomAnchorLabel.Size     = new System.Drawing.Size(41, 13);
     ZoomAnchorLabel.TabIndex = 30;
     ZoomAnchorLabel.Text     = "Anchor";
     //
     // EnableThumbnailZoomCheckBox
     //
     this.EnableThumbnailZoomCheckBox.AutoSize                = true;
     this.EnableThumbnailZoomCheckBox.Checked                 = true;
     this.EnableThumbnailZoomCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.EnableThumbnailZoomCheckBox.Location                = new System.Drawing.Point(1, 5);
     this.EnableThumbnailZoomCheckBox.Name                    = "EnableThumbnailZoomCheckBox";
     this.EnableThumbnailZoomCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.EnableThumbnailZoomCheckBox.Size                    = new System.Drawing.Size(98, 17);
     this.EnableThumbnailZoomCheckBox.TabIndex                = 13;
     this.EnableThumbnailZoomCheckBox.Text                    = "Zoom on hover";
     this.EnableThumbnailZoomCheckBox.UseVisualStyleBackColor = true;
     this.EnableThumbnailZoomCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ThumbnailZoomFactorNumericEdit
     //
     this.ThumbnailZoomFactorNumericEdit.BackColor   = System.Drawing.SystemColors.Window;
     this.ThumbnailZoomFactorNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ThumbnailZoomFactorNumericEdit.Location    = new System.Drawing.Point(81, 41);
     this.ThumbnailZoomFactorNumericEdit.Maximum     = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.Name     = "ThumbnailZoomFactorNumericEdit";
     this.ThumbnailZoomFactorNumericEdit.Size     = new System.Drawing.Size(34, 20);
     this.ThumbnailZoomFactorNumericEdit.TabIndex = 24;
     this.ThumbnailZoomFactorNumericEdit.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.ThumbnailZoomFactorNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailOverlaysCheckBox
     //
     this.ShowThumbnailOverlaysCheckBox.AutoSize                = true;
     this.ShowThumbnailOverlaysCheckBox.Checked                 = true;
     this.ShowThumbnailOverlaysCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailOverlaysCheckBox.Location                = new System.Drawing.Point(3, 295);
     this.ShowThumbnailOverlaysCheckBox.Name                    = "ShowThumbnailOverlaysCheckBox";
     this.ShowThumbnailOverlaysCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailOverlaysCheckBox.Size                    = new System.Drawing.Size(90, 17);
     this.ShowThumbnailOverlaysCheckBox.TabIndex                = 14;
     this.ShowThumbnailOverlaysCheckBox.Text                    = "Show overlay";
     this.ShowThumbnailOverlaysCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailOverlaysCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ShowThumbnailFramesCheckBox
     //
     this.ShowThumbnailFramesCheckBox.AutoSize                = true;
     this.ShowThumbnailFramesCheckBox.Checked                 = true;
     this.ShowThumbnailFramesCheckBox.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.ShowThumbnailFramesCheckBox.Location                = new System.Drawing.Point(99, 295);
     this.ShowThumbnailFramesCheckBox.Name                    = "ShowThumbnailFramesCheckBox";
     this.ShowThumbnailFramesCheckBox.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.ShowThumbnailFramesCheckBox.Size                    = new System.Drawing.Size(127, 17);
     this.ShowThumbnailFramesCheckBox.TabIndex                = 9;
     this.ShowThumbnailFramesCheckBox.Text                    = "Show preview frames";
     this.ShowThumbnailFramesCheckBox.UseVisualStyleBackColor = true;
     this.ShowThumbnailFramesCheckBox.CheckedChanged         += new System.EventHandler(this.OptionChanged_Handler);
     //
     // ThumbnailsListPanel
     //
     ThumbnailsListPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     ThumbnailsListPanel.Controls.Add(this.ThumbnailsList);
     ThumbnailsListPanel.Controls.Add(ThumbnailsListLabel);
     ThumbnailsListPanel.Location = new System.Drawing.Point(3, 318);
     ThumbnailsListPanel.Name     = "ThumbnailsListPanel";
     ThumbnailsListPanel.Size     = new System.Drawing.Size(246, 125);
     ThumbnailsListPanel.TabIndex = 31;
     //
     // ThumbnailsList
     //
     this.ThumbnailsList.BackColor         = System.Drawing.SystemColors.Window;
     this.ThumbnailsList.BorderStyle       = System.Windows.Forms.BorderStyle.None;
     this.ThumbnailsList.FormattingEnabled = true;
     this.ThumbnailsList.IntegralHeight    = false;
     this.ThumbnailsList.Location          = new System.Drawing.Point(3, 18);
     this.ThumbnailsList.Name       = "ThumbnailsList";
     this.ThumbnailsList.Size       = new System.Drawing.Size(240, 100);
     this.ThumbnailsList.TabIndex   = 28;
     this.ThumbnailsList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ThumbnailsList_ItemCheck_Handler);
     //
     // ThumbnailsListLabel
     //
     ThumbnailsListLabel.AutoSize = true;
     ThumbnailsListLabel.Location = new System.Drawing.Point(3, 0);
     ThumbnailsListLabel.Name     = "ThumbnailsListLabel";
     ThumbnailsListLabel.Size     = new System.Drawing.Size(162, 13);
     ThumbnailsListLabel.TabIndex = 29;
     ThumbnailsListLabel.Text     = "Thumbnails (check to force hide)";
     //
     // ForumLinkLabel
     //
     this.ForumLinkLabel.AutoSize = true;
     this.ForumLinkLabel.Location = new System.Drawing.Point(3, 446);
     this.ForumLinkLabel.Name     = "ForumLinkLabel";
     this.ForumLinkLabel.Size     = new System.Drawing.Size(241, 26);
     this.ForumLinkLabel.TabIndex = 10;
     this.ForumLinkLabel.TabStop  = true;
     this.ForumLinkLabel.Text     = "to be set from prresenter to be set from prresenter to be set from prresenter to " +
                                    "be set from prresenter";
     this.ForumLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.ForumLinkLabelClicked_Handler);
     //
     // TitleMenuItem
     //
     TitleMenuItem.Enabled = false;
     TitleMenuItem.Name    = "TitleMenuItem";
     TitleMenuItem.Size    = new System.Drawing.Size(151, 22);
     TitleMenuItem.Text    = "EVE-O Preview";
     //
     // SeparatorMenuItem
     //
     SeparatorMenuItem.Name = "SeparatorMenuItem";
     SeparatorMenuItem.Size = new System.Drawing.Size(148, 6);
     //
     // NotifyIcon
     //
     this.NotifyIcon.ContextMenuStrip  = this.TrayMenu;
     this.NotifyIcon.Icon              = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon")));
     this.NotifyIcon.Text              = "EVE-O Preview";
     this.NotifyIcon.Visible           = true;
     this.NotifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.RestoreMainForm_Handler);
     //
     // TrayMenu
     //
     this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         TitleMenuItem,
         RestoreWindowMenuItem,
         SeparatorMenuItem,
         ExitMenuItem
     });
     this.TrayMenu.Name = "contextMenuStrip1";
     this.TrayMenu.Size = new System.Drawing.Size(152, 76);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ControlDarkDark;
     this.ClientSize          = new System.Drawing.Size(252, 481);
     this.Controls.Add(ContentFlowLayoutPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin          = new System.Windows.Forms.Padding(0);
     this.MaximizeBox     = false;
     this.Name            = "MainForm";
     this.Text            = "EVE-O Preview";
     this.TopMost         = true;
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler);
     this.Load           += new System.EventHandler(this.MainFormResize_Handler);
     this.Resize         += new System.EventHandler(this.MainFormResize_Handler);
     ContentFlowLayoutPanel.ResumeLayout(false);
     ContentFlowLayoutPanel.PerformLayout();
     OpacityPanel.ResumeLayout(false);
     OpacityPanel.PerformLayout();
     ResizeOptionsPanel.ResumeLayout(false);
     ResizeOptionsPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).EndInit();
     ZoomOptionsPanel.ResumeLayout(false);
     ZoomOptionsPanel.PerformLayout();
     this.ZoomAnchorPanel.ResumeLayout(false);
     this.ZoomAnchorPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).EndInit();
     ThumbnailsListPanel.ResumeLayout(false);
     ThumbnailsListPanel.PerformLayout();
     this.TrayMenu.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #29
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.FlowLayoutPanel flowLayoutLaunch;
            this.flowLayoutPanelTopLevel   = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanelExclusions = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxNoAssets          = new System.Windows.Forms.CheckBox();
            this.checkBoxNoMods            = new System.Windows.Forms.CheckBox();
            this.checkBoxNoWorkshop        = new System.Windows.Forms.CheckBox();
            this.checkBoxLHT = new System.Windows.Forms.CheckBox();
            this.tableLayoutPanelLunchMode         = new System.Windows.Forms.TableLayoutPanel();
            this.radioButtonMainMenu               = new System.Windows.Forms.RadioButton();
            this.radioButtonAssetEditor            = new System.Windows.Forms.RadioButton();
            this.radioButtonLoadSave               = new System.Windows.Forms.RadioButton();
            this.textBoxSavePath                   = new System.Windows.Forms.TextBox();
            this.buttonSavePath                    = new System.Windows.Forms.Button();
            this.radioButtonNewGame                = new System.Windows.Forms.RadioButton();
            this.textBoxMapPath                    = new System.Windows.Forms.TextBox();
            this.buttonMapPath                     = new System.Windows.Forms.Button();
            this.flowLayoutPanelAssetEditorOptions = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxNewAsset                  = new System.Windows.Forms.CheckBox();
            this.checkBoxLSM             = new System.Windows.Forms.CheckBox();
            this.flowLayoutPanelLoadMode = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxPoke            = new System.Windows.Forms.CheckBox();
            this.checkBoxPhased          = new System.Windows.Forms.CheckBox();
            this.flowLayoutPanelLauncher = new System.Windows.Forms.FlowLayoutPanel();
            this.labelLauncher           = new System.Windows.Forms.Label();
            this.radioButtonSteamExe     = new System.Windows.Forms.RadioButton();
            this.radioButtonCitiesExe    = new System.Windows.Forms.RadioButton();
            this.flowLayoutPanelMono     = new System.Windows.Forms.FlowLayoutPanel();
            this.labelMono = new System.Windows.Forms.Label();
            this.radioButtonReleaseMono    = new System.Windows.Forms.RadioButton();
            this.radioButtonDebugMono      = new System.Windows.Forms.RadioButton();
            this.tableLayoutPanelExtraArgs = new System.Windows.Forms.TableLayoutPanel();
            this.labelExtraArgs            = new System.Windows.Forms.Label();
            this.textBoxExtraArgs          = new System.Windows.Forms.TextBox();
            this.buttonLaunch              = new System.Windows.Forms.Button();
            this.lblNote                   = new System.Windows.Forms.Label();
            this.labelCommand              = new System.Windows.Forms.Label();
            this.btnTerminate              = new System.Windows.Forms.Button();
            flowLayoutLaunch               = new System.Windows.Forms.FlowLayoutPanel();
            this.flowLayoutPanelProfiler   = new System.Windows.Forms.FlowLayoutPanel();
            this.labelCities               = new System.Windows.Forms.Label();
            this.radioButtonReleaseCities  = new System.Windows.Forms.RadioButton();
            this.radioButtonProfilerCities = new System.Windows.Forms.RadioButton();

            this.flowLayoutPanelTopLevel.SuspendLayout();
            this.flowLayoutPanelExclusions.SuspendLayout();
            this.tableLayoutPanelLunchMode.SuspendLayout();
            this.flowLayoutPanelAssetEditorOptions.SuspendLayout();
            this.flowLayoutPanelLoadMode.SuspendLayout();
            this.flowLayoutPanelLauncher.SuspendLayout();
            this.flowLayoutPanelMono.SuspendLayout();
            this.tableLayoutPanelExtraArgs.SuspendLayout();
            flowLayoutLaunch.SuspendLayout();
            flowLayoutPanelProfiler.SuspendLayout();
            this.SuspendLayout();
            //
            // flowLayoutPanelTopLevel
            //
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelExclusions);
            this.flowLayoutPanelTopLevel.Controls.Add(this.checkBoxLHT);
            this.flowLayoutPanelTopLevel.Controls.Add(this.tableLayoutPanelLunchMode);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelLoadMode);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelLauncher);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelMono);
            this.flowLayoutPanelTopLevel.Controls.Add(this.flowLayoutPanelProfiler);
            this.flowLayoutPanelTopLevel.Controls.Add(this.tableLayoutPanelExtraArgs);
            this.flowLayoutPanelTopLevel.Controls.Add(flowLayoutLaunch);
            this.flowLayoutPanelTopLevel.Controls.Add(this.lblNote);
            this.flowLayoutPanelTopLevel.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.flowLayoutPanelTopLevel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            this.flowLayoutPanelTopLevel.Location      = new System.Drawing.Point(0, 0);
            this.flowLayoutPanelTopLevel.Name          = "flowLayoutPanelTopLevel";
            this.flowLayoutPanelTopLevel.Size          = new System.Drawing.Size(508, 440);
            this.flowLayoutPanelTopLevel.TabIndex      = 0;
            this.flowLayoutPanelTopLevel.WrapContents  = false;
            //
            // flowLayoutPanelExclusions
            //
            this.flowLayoutPanelExclusions.AutoSize     = true;
            this.flowLayoutPanelExclusions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoAssets);
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoMods);
            this.flowLayoutPanelExclusions.Controls.Add(this.checkBoxNoWorkshop);
            this.flowLayoutPanelExclusions.Location     = new System.Drawing.Point(3, 3);
            this.flowLayoutPanelExclusions.Margin       = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.flowLayoutPanelExclusions.Name         = "flowLayoutPanelExclusions";
            this.flowLayoutPanelExclusions.Size         = new System.Drawing.Size(270, 25);
            this.flowLayoutPanelExclusions.TabIndex     = 0;
            this.flowLayoutPanelExclusions.WrapContents = false;
            //
            // checkBoxNoAssets
            //
            this.checkBoxNoAssets.AutoSize = true;
            this.checkBoxNoAssets.Location = new System.Drawing.Point(3, 3);
            this.checkBoxNoAssets.Name     = "checkBoxNoAssets";
            this.checkBoxNoAssets.Size     = new System.Drawing.Size(78, 19);
            this.checkBoxNoAssets.TabIndex = 0;
            this.checkBoxNoAssets.Text     = "No Assets";
            this.checkBoxNoAssets.UseVisualStyleBackColor = true;
            //
            // checkBoxNoMods
            //
            this.checkBoxNoMods.AutoSize = true;
            this.checkBoxNoMods.Location = new System.Drawing.Point(87, 3);
            this.checkBoxNoMods.Name     = "checkBoxNoMods";
            this.checkBoxNoMods.Size     = new System.Drawing.Size(75, 19);
            this.checkBoxNoMods.TabIndex = 1;
            this.checkBoxNoMods.Text     = "No Mods";
            this.checkBoxNoMods.UseVisualStyleBackColor = true;
            //
            // checkBoxNoWorkshop
            //
            this.checkBoxNoWorkshop.AutoSize = true;
            this.checkBoxNoWorkshop.Location = new System.Drawing.Point(168, 3);
            this.checkBoxNoWorkshop.Name     = "checkBoxNoWorkshop";
            this.checkBoxNoWorkshop.Size     = new System.Drawing.Size(99, 19);
            this.checkBoxNoWorkshop.TabIndex = 2;
            this.checkBoxNoWorkshop.Text     = "No Workshop";
            this.checkBoxNoWorkshop.UseVisualStyleBackColor = true;
            //
            // checkBoxLHT
            //
            this.checkBoxLHT.AutoSize = true;
            this.checkBoxLHT.Location = new System.Drawing.Point(3, 44);
            this.checkBoxLHT.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.checkBoxLHT.Name     = "checkBoxLHT";
            this.checkBoxLHT.Padding  = new System.Windows.Forms.Padding(3);
            this.checkBoxLHT.Size     = new System.Drawing.Size(119, 25);
            this.checkBoxLHT.TabIndex = 1;
            this.checkBoxLHT.Text     = "Left Hand Traffic";
            this.checkBoxLHT.UseVisualStyleBackColor = true;
            //
            // tableLayoutPanelLunchMode
            //
            this.tableLayoutPanelLunchMode.AutoSize     = true;
            this.tableLayoutPanelLunchMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.tableLayoutPanelLunchMode.ColumnCount  = 3;
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelLunchMode.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonMainMenu, 0, 0);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonAssetEditor, 0, 1);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonLoadSave, 0, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.textBoxSavePath, 1, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.buttonSavePath, 2, 2);
            this.tableLayoutPanelLunchMode.Controls.Add(this.radioButtonNewGame, 0, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.textBoxMapPath, 1, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.buttonMapPath, 2, 3);
            this.tableLayoutPanelLunchMode.Controls.Add(this.flowLayoutPanelAssetEditorOptions, 1, 1);
            this.tableLayoutPanelLunchMode.Dock     = System.Windows.Forms.DockStyle.Top;
            this.tableLayoutPanelLunchMode.Location = new System.Drawing.Point(3, 85);
            this.tableLayoutPanelLunchMode.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 13);
            this.tableLayoutPanelLunchMode.Name     = "tableLayoutPanelLunchMode";
            this.tableLayoutPanelLunchMode.RowCount = 4;
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanelLunchMode.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 18F));
            this.tableLayoutPanelLunchMode.Size     = new System.Drawing.Size(413, 118);
            this.tableLayoutPanelLunchMode.TabIndex = 2;
            //
            // radioButtonMainMenu
            //
            this.radioButtonMainMenu.AutoSize = true;
            this.radioButtonMainMenu.Location = new System.Drawing.Point(3, 3);
            this.radioButtonMainMenu.Name     = "radioButtonMainMenu";
            this.radioButtonMainMenu.Size     = new System.Drawing.Size(86, 19);
            this.radioButtonMainMenu.TabIndex = 5;
            this.radioButtonMainMenu.TabStop  = true;
            this.radioButtonMainMenu.Text     = "Main Menu";
            this.radioButtonMainMenu.UseVisualStyleBackColor = true;
            //
            // radioButtonAssetEditor
            //
            this.radioButtonAssetEditor.AutoSize = true;
            this.radioButtonAssetEditor.Location = new System.Drawing.Point(3, 28);
            this.radioButtonAssetEditor.Name     = "radioButtonAssetEditor";
            this.radioButtonAssetEditor.Size     = new System.Drawing.Size(87, 19);
            this.radioButtonAssetEditor.TabIndex = 5;
            this.radioButtonAssetEditor.TabStop  = true;
            this.radioButtonAssetEditor.Text     = "Asset Editor";
            this.radioButtonAssetEditor.UseVisualStyleBackColor = true;
            //
            // radioButtonLoadSave
            //
            this.radioButtonLoadSave.AutoSize = true;
            this.radioButtonLoadSave.Location = new System.Drawing.Point(3, 59);
            this.radioButtonLoadSave.Name     = "radioButtonLoadSave";
            this.radioButtonLoadSave.Size     = new System.Drawing.Size(78, 19);
            this.radioButtonLoadSave.TabIndex = 5;
            this.radioButtonLoadSave.TabStop  = true;
            this.radioButtonLoadSave.Text     = "Load Save";
            this.radioButtonLoadSave.UseVisualStyleBackColor = true;
            //
            // textBoxSavePath
            //
            this.textBoxSavePath.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxSavePath.Location = new System.Drawing.Point(96, 59);
            this.textBoxSavePath.Name     = "textBoxSavePath";
            this.textBoxSavePath.Size     = new System.Drawing.Size(282, 23);
            this.textBoxSavePath.TabIndex = 0;
            //
            // buttonSavePath
            //
            this.buttonSavePath.AutoSize                = true;
            this.buttonSavePath.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonSavePath.Location                = new System.Drawing.Point(384, 59);
            this.buttonSavePath.Name                    = "buttonSavePath";
            this.buttonSavePath.Size                    = new System.Drawing.Size(26, 25);
            this.buttonSavePath.TabIndex                = 3;
            this.buttonSavePath.Text                    = "…";
            this.buttonSavePath.UseVisualStyleBackColor = true;
            this.buttonSavePath.Click                  += new System.EventHandler(this.buttonSavePath_Click);
            //
            // radioButtonNewGame
            //
            this.radioButtonNewGame.AutoSize = true;
            this.radioButtonNewGame.Location = new System.Drawing.Point(3, 90);
            this.radioButtonNewGame.Name     = "radioButtonNewGame";
            this.radioButtonNewGame.Size     = new System.Drawing.Size(83, 19);
            this.radioButtonNewGame.TabIndex = 5;
            this.radioButtonNewGame.TabStop  = true;
            this.radioButtonNewGame.Text     = "New Game";
            this.radioButtonNewGame.UseVisualStyleBackColor = true;
            //
            // textBoxMapPath
            //
            this.textBoxMapPath.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxMapPath.Location = new System.Drawing.Point(96, 90);
            this.textBoxMapPath.Name     = "textBoxMapPath";
            this.textBoxMapPath.Size     = new System.Drawing.Size(282, 23);
            this.textBoxMapPath.TabIndex = 0;
            //
            // buttonMapPath
            //
            this.buttonMapPath.AutoSize                = true;
            this.buttonMapPath.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonMapPath.Location                = new System.Drawing.Point(384, 90);
            this.buttonMapPath.Name                    = "buttonMapPath";
            this.buttonMapPath.Size                    = new System.Drawing.Size(26, 25);
            this.buttonMapPath.TabIndex                = 4;
            this.buttonMapPath.Text                    = "…";
            this.buttonMapPath.UseVisualStyleBackColor = true;
            this.buttonMapPath.Click                  += new System.EventHandler(this.buttonMapPath_Click);
            //
            // flowLayoutPanelAssetEditorOptions
            //
            this.flowLayoutPanelAssetEditorOptions.AutoSize     = true;
            this.flowLayoutPanelAssetEditorOptions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelAssetEditorOptions.Controls.Add(this.checkBoxNewAsset);
            this.flowLayoutPanelAssetEditorOptions.Controls.Add(this.checkBoxLSM);
            this.flowLayoutPanelAssetEditorOptions.Location = new System.Drawing.Point(96, 28);
            this.flowLayoutPanelAssetEditorOptions.Name     = "flowLayoutPanelAssetEditorOptions";
            this.flowLayoutPanelAssetEditorOptions.Size     = new System.Drawing.Size(111, 25);
            this.flowLayoutPanelAssetEditorOptions.TabIndex = 6;
            //
            // checkBoxNewAsset
            //
            this.checkBoxNewAsset.AutoSize = true;
            this.checkBoxNewAsset.Location = new System.Drawing.Point(3, 3);
            this.checkBoxNewAsset.Name     = "checkBoxNewAsset";
            this.checkBoxNewAsset.Size     = new System.Drawing.Size(50, 19);
            this.checkBoxNewAsset.TabIndex = 0;
            this.checkBoxNewAsset.Text     = "New";
            this.checkBoxNewAsset.UseVisualStyleBackColor = true;
            //
            // checkBoxLSM
            //
            this.checkBoxLSM.AutoSize = true;
            this.checkBoxLSM.Location = new System.Drawing.Point(59, 3);
            this.checkBoxLSM.Name     = "checkBoxLSM";
            this.checkBoxLSM.Size     = new System.Drawing.Size(49, 19);
            this.checkBoxLSM.TabIndex = 1;
            this.checkBoxLSM.Text     = "LSM";
            this.checkBoxLSM.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelLoadMode
            //
            this.flowLayoutPanelLoadMode.AutoSize     = true;
            this.flowLayoutPanelLoadMode.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelLoadMode.Controls.Add(this.checkBoxPoke);
            this.flowLayoutPanelLoadMode.Controls.Add(this.checkBoxPhased);
            this.flowLayoutPanelLoadMode.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            this.flowLayoutPanelLoadMode.Location      = new System.Drawing.Point(3, 219);
            this.flowLayoutPanelLoadMode.Name          = "flowLayoutPanelLoadMode";
            this.flowLayoutPanelLoadMode.Size          = new System.Drawing.Size(128, 25);
            this.flowLayoutPanelLoadMode.TabIndex      = 6;
            //
            // checkBoxPoke
            //
            this.checkBoxPoke.AutoSize = true;
            this.checkBoxPoke.Location = new System.Drawing.Point(73, 3);
            this.checkBoxPoke.Name     = "checkBoxPoke";
            this.checkBoxPoke.Size     = new System.Drawing.Size(52, 19);
            this.checkBoxPoke.TabIndex = 3;
            this.checkBoxPoke.Text     = "Poke";
            this.checkBoxPoke.UseVisualStyleBackColor = true;
            //
            // checkBoxPhased
            //
            this.checkBoxPhased.AutoSize = true;
            this.checkBoxPhased.Location = new System.Drawing.Point(3, 3);
            this.checkBoxPhased.Name     = "checkBoxPhased";
            this.checkBoxPhased.Size     = new System.Drawing.Size(64, 19);
            this.checkBoxPhased.TabIndex = 4;
            this.checkBoxPhased.Text     = "Phased";
            this.checkBoxPhased.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelLauncher
            //
            this.flowLayoutPanelLauncher.AutoSize     = true;
            this.flowLayoutPanelLauncher.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelLauncher.Controls.Add(this.labelLauncher);
            this.flowLayoutPanelLauncher.Controls.Add(this.radioButtonSteamExe);
            this.flowLayoutPanelLauncher.Controls.Add(this.radioButtonCitiesExe);
            this.flowLayoutPanelLauncher.Location     = new System.Drawing.Point(3, 260);
            this.flowLayoutPanelLauncher.Margin       = new System.Windows.Forms.Padding(3, 13, 3, 3);
            this.flowLayoutPanelLauncher.Name         = "flowLayoutPanelLauncher";
            this.flowLayoutPanelLauncher.Size         = new System.Drawing.Size(234, 25);
            this.flowLayoutPanelLauncher.TabIndex     = 7;
            this.flowLayoutPanelLauncher.WrapContents = false;
            //
            // labelLauncher
            //
            this.labelLauncher.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelLauncher.AutoSize = true;
            this.labelLauncher.Location = new System.Drawing.Point(3, 5);
            this.labelLauncher.Name     = "labelLauncher";
            this.labelLauncher.Size     = new System.Drawing.Size(62, 15);
            this.labelLauncher.TabIndex = 2;
            this.labelLauncher.Text     = "Launcher: ";
            //
            // radioButtonSteamExe
            //
            this.radioButtonSteamExe.AutoSize = true;
            this.radioButtonSteamExe.Location = new System.Drawing.Point(71, 3);
            this.radioButtonSteamExe.Name     = "radioButtonSteamExe";
            this.radioButtonSteamExe.Size     = new System.Drawing.Size(79, 19);
            this.radioButtonSteamExe.TabIndex = 1;
            this.radioButtonSteamExe.TabStop  = true;
            this.radioButtonSteamExe.Text     = DataLocation.SteamExe;
            this.radioButtonSteamExe.UseVisualStyleBackColor = true;
            //
            // radioButtonCitiesExe
            //
            this.radioButtonCitiesExe.AutoSize = true;
            this.radioButtonCitiesExe.Location = new System.Drawing.Point(156, 3);
            this.radioButtonCitiesExe.Name     = "radioButtonCitiesExe";
            this.radioButtonCitiesExe.Size     = new System.Drawing.Size(75, 19);
            this.radioButtonCitiesExe.TabIndex = 0;
            this.radioButtonCitiesExe.TabStop  = true;
            this.radioButtonCitiesExe.Text     = DataLocation.CitiesExe;
            this.radioButtonCitiesExe.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelMono
            //
            this.flowLayoutPanelMono.AutoSize     = true;
            this.flowLayoutPanelMono.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelMono.Controls.Add(this.labelMono);
            this.flowLayoutPanelMono.Controls.Add(this.radioButtonReleaseMono);
            this.flowLayoutPanelMono.Controls.Add(this.radioButtonDebugMono);
            this.flowLayoutPanelMono.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 3);
            this.flowLayoutPanelMono.Name         = "flowLayoutPanelMono";
            this.flowLayoutPanelMono.TabIndex     = 8;
            this.flowLayoutPanelMono.WrapContents = false;
            //
            // labelMono
            //
            this.labelMono.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelMono.AutoSize = true;
            this.labelMono.Name     = "labelMono";
            this.labelMono.TabIndex = 2;
            this.labelMono.Text     = "Mono: ";
            //
            // radioButtonReleaseMono
            //
            this.radioButtonReleaseMono.AutoSize = true;
            this.radioButtonReleaseMono.Name     = "radioButtonReleaseMono";
            this.radioButtonReleaseMono.TabIndex = 0;
            this.radioButtonReleaseMono.TabStop  = true;
            this.radioButtonReleaseMono.Text     = "Release Mode (faster)";
            this.radioButtonReleaseMono.UseVisualStyleBackColor = true;
            //
            // radioButtonDebugMono
            //
            this.radioButtonDebugMono.AutoSize = true;
            this.radioButtonDebugMono.Name     = "radioButtonDebugMono";
            this.radioButtonDebugMono.TabIndex = 1;
            this.radioButtonDebugMono.TabStop  = true;
            this.radioButtonDebugMono.Text     = "Debug Mode (better logs)";
            this.radioButtonDebugMono.UseVisualStyleBackColor = true;
            //
            // flowLayoutPanelProfiler
            //
            this.flowLayoutPanelProfiler.AutoSize     = true;
            this.flowLayoutPanelProfiler.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.flowLayoutPanelProfiler.Controls.Add(this.labelCities);
            this.flowLayoutPanelProfiler.Controls.Add(this.radioButtonReleaseCities);
            this.flowLayoutPanelProfiler.Controls.Add(this.radioButtonProfilerCities);
            this.flowLayoutPanelProfiler.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 3);
            this.flowLayoutPanelProfiler.Name         = "flowLayoutPanelProfiler";
            this.flowLayoutPanelProfiler.TabIndex     = 9;
            this.flowLayoutPanelProfiler.WrapContents = false;
            //
            // labelCities
            //
            this.labelCities.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelCities.AutoSize = true;
            this.labelCities.Name     = "labelCities";
            this.labelCities.TabIndex = 2;
            this.labelCities.Text     = "Cities.exe";
            //
            // radioButtonReleaseCities
            //
            this.radioButtonReleaseCities.AutoSize = true;
            this.radioButtonReleaseCities.Name     = "radioButtonReleaseCities";
            this.radioButtonReleaseCities.TabIndex = 0;
            this.radioButtonReleaseCities.TabStop  = true;
            this.radioButtonReleaseCities.Text     = "Release Mode (faster)";
            this.radioButtonReleaseCities.UseVisualStyleBackColor = true;
            //
            // radioButtonProfilerCities
            //
            this.radioButtonProfilerCities.AutoSize = true;
            this.radioButtonProfilerCities.Name     = "radioButtonProfilerCities";
            this.radioButtonProfilerCities.TabIndex = 1;
            this.radioButtonProfilerCities.TabStop  = true;
            this.radioButtonProfilerCities.Text     = "Unity Profiler Mode";
            this.radioButtonProfilerCities.UseVisualStyleBackColor = true;
            //
            // tableLayoutPanelExtraArgs
            //
            this.tableLayoutPanelExtraArgs.AutoSize    = true;
            this.tableLayoutPanelExtraArgs.ColumnCount = 2;
            this.tableLayoutPanelExtraArgs.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelExtraArgs.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelExtraArgs.Controls.Add(this.labelExtraArgs, 0, 0);
            this.tableLayoutPanelExtraArgs.Controls.Add(this.textBoxExtraArgs, 1, 0);
            this.tableLayoutPanelExtraArgs.Dock     = System.Windows.Forms.DockStyle.Top;
            this.tableLayoutPanelExtraArgs.Location = new System.Drawing.Point(3, 319);
            this.tableLayoutPanelExtraArgs.Name     = "tableLayoutPanelExtraArgs";
            this.tableLayoutPanelExtraArgs.RowCount = 1;
            this.tableLayoutPanelExtraArgs.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanelExtraArgs.Size     = new System.Drawing.Size(413, 29);
            this.tableLayoutPanelExtraArgs.TabIndex = 10;
            //
            // labelExtraArgs
            //
            this.labelExtraArgs.Anchor   = System.Windows.Forms.AnchorStyles.Left;
            this.labelExtraArgs.AutoSize = true;
            this.labelExtraArgs.Location = new System.Drawing.Point(3, 7);
            this.labelExtraArgs.Name     = "labelExtraArgs";
            this.labelExtraArgs.Size     = new System.Drawing.Size(95, 15);
            this.labelExtraArgs.TabIndex = 0;
            this.labelExtraArgs.Text     = "Extra Arguments";
            //
            // textBoxExtraArgs
            //
            this.textBoxExtraArgs.Dock     = System.Windows.Forms.DockStyle.Top;
            this.textBoxExtraArgs.Location = new System.Drawing.Point(104, 3);
            this.textBoxExtraArgs.Name     = "textBoxExtraArgs";
            this.textBoxExtraArgs.Size     = new System.Drawing.Size(306, 23);
            this.textBoxExtraArgs.TabIndex = 1;
            //
            // buttonLaunch
            //
            this.buttonLaunch.AutoSize                = true;
            this.buttonLaunch.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonLaunch.Location                = new System.Drawing.Point(3, 4);
            this.buttonLaunch.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 3);
            this.buttonLaunch.Name                    = "buttonLaunch";
            this.buttonLaunch.Size                    = new System.Drawing.Size(133, 25);
            this.buttonLaunch.TabIndex                = 5;
            this.buttonLaunch.Text                    = "Launch Cities Skylines";
            this.buttonLaunch.UseVisualStyleBackColor = true;
            this.buttonLaunch.Click                  += new System.EventHandler(this.buttonLaunch_Click);
            //
            // lblNote
            //
            this.lblNote.AutoSize = true;
            this.lblNote.Location = new System.Drawing.Point(3, 389);
            this.lblNote.Name     = "lblNote";
            this.lblNote.Size     = new System.Drawing.Size(220, 15);
            this.lblNote.TabIndex = 9;
            this.lblNote.Text     = "?: hover over components for more info.";
            //
            // labelCommand
            //
            this.labelCommand.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.labelCommand.Location = new System.Drawing.Point(0, 425);
            this.labelCommand.Name     = "labelCommand";
            this.labelCommand.Size     = new System.Drawing.Size(508, 15);
            this.labelCommand.TabIndex = 6;
            this.labelCommand.Text     = "command";
            //
            // flowLayoutLaunch
            //
            flowLayoutLaunch.AutoSize     = true;
            flowLayoutLaunch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            flowLayoutLaunch.Controls.Add(this.buttonLaunch);
            flowLayoutLaunch.Controls.Add(this.btnTerminate);
            flowLayoutLaunch.Location     = new System.Drawing.Point(3, 354);
            flowLayoutLaunch.Name         = "flowLayoutLaunch";
            flowLayoutLaunch.Size         = new System.Drawing.Size(291, 32);
            flowLayoutLaunch.TabIndex     = 11;
            flowLayoutLaunch.WrapContents = false;
            //
            // btnTerminate
            //
            this.btnTerminate.AutoSize                = true;
            this.btnTerminate.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.btnTerminate.Location                = new System.Drawing.Point(142, 4);
            this.btnTerminate.Margin                  = new System.Windows.Forms.Padding(3, 4, 3, 3);
            this.btnTerminate.Name                    = "btnTerminate";
            this.btnTerminate.Size                    = new System.Drawing.Size(146, 25);
            this.btnTerminate.TabIndex                = 6;
            this.btnTerminate.Text                    = "Terminate Cities Skylines";
            this.btnTerminate.UseVisualStyleBackColor = true;
            this.btnTerminate.Click                  += new System.EventHandler(this.btnTerminate_Click);
            //
            // LaunchControl
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.labelCommand);
            this.Controls.Add(this.flowLayoutPanelTopLevel);
            this.Name = "LaunchControl";
            this.Size = new System.Drawing.Size(508, 440);
            this.flowLayoutPanelTopLevel.ResumeLayout(false);
            this.flowLayoutPanelTopLevel.PerformLayout();
            this.flowLayoutPanelExclusions.ResumeLayout(false);
            this.flowLayoutPanelExclusions.PerformLayout();
            this.tableLayoutPanelLunchMode.ResumeLayout(false);
            this.tableLayoutPanelLunchMode.PerformLayout();
            this.flowLayoutPanelAssetEditorOptions.ResumeLayout(false);
            this.flowLayoutPanelAssetEditorOptions.PerformLayout();
            this.flowLayoutPanelLoadMode.ResumeLayout(false);
            this.flowLayoutPanelLoadMode.PerformLayout();
            this.flowLayoutPanelLauncher.ResumeLayout(false);
            this.flowLayoutPanelLauncher.PerformLayout();
            this.flowLayoutPanelMono.ResumeLayout(false);
            this.flowLayoutPanelMono.PerformLayout();
            this.flowLayoutPanelProfiler.ResumeLayout(false);
            this.flowLayoutPanelProfiler.PerformLayout();
            this.tableLayoutPanelExtraArgs.ResumeLayout(false);
            this.tableLayoutPanelExtraArgs.PerformLayout();
            flowLayoutLaunch.ResumeLayout(false);
            flowLayoutLaunch.PerformLayout();
            this.ResumeLayout(false);
        }
コード例 #30
0
ファイル: frmDeltas.Designer.cs プロジェクト: stuart2w/SAW
 //NOTE: The following procedure is required by the Windows Form Designer
 //It can be modified using the Windows Form Designer.
 //Do not modify it using the code editor.
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel TableLayoutPanel1;
     System.Windows.Forms.ColumnHeader     ColumnHeader1;
     System.Windows.Forms.ColumnHeader     ColumnHeader2;
     System.Windows.Forms.ColumnHeader     ColumnHeader3;
     System.Windows.Forms.ColumnHeader     ColumnHeader4;
     System.Windows.Forms.FlowLayoutPanel  FlowLayoutPanel1;
     this.lstDeltas           = new System.Windows.Forms.ListBox();
     this.lstValues           = new System.Windows.Forms.ListView();
     this.chkDisplayUnchanged = new System.Windows.Forms.CheckBox();
     this.btnCancel           = new System.Windows.Forms.Button();
     this.btnDelete           = new System.Windows.Forms.Button();
     this.btnSave             = new System.Windows.Forms.Button();
     this.lblID        = new System.Windows.Forms.Label();
     this.dlgSave      = new System.Windows.Forms.SaveFileDialog();
     TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     ColumnHeader1     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader2     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader3     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ColumnHeader4     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     FlowLayoutPanel1  = new System.Windows.Forms.FlowLayoutPanel();
     TableLayoutPanel1.SuspendLayout();
     FlowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // TableLayoutPanel1
     //
     TableLayoutPanel1.ColumnCount = 1;
     TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     TableLayoutPanel1.Controls.Add(this.lstDeltas, 0, 0);
     TableLayoutPanel1.Controls.Add(this.lstValues, 0, 2);
     TableLayoutPanel1.Controls.Add(this.chkDisplayUnchanged, 0, 3);
     TableLayoutPanel1.Controls.Add(FlowLayoutPanel1, 0, 4);
     TableLayoutPanel1.Controls.Add(this.lblID, 0, 1);
     TableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     TableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     TableLayoutPanel1.Name     = "TableLayoutPanel1";
     TableLayoutPanel1.RowCount = 6;
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     TableLayoutPanel1.Size     = new System.Drawing.Size(600, 534);
     TableLayoutPanel1.TabIndex = 1;
     //
     // lstDeltas
     //
     this.lstDeltas.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lstDeltas.FormattingEnabled = true;
     this.lstDeltas.Location          = new System.Drawing.Point(3, 3);
     this.lstDeltas.Name                  = "lstDeltas";
     this.lstDeltas.Size                  = new System.Drawing.Size(594, 222);
     this.lstDeltas.TabIndex              = 1;
     this.lstDeltas.SelectedIndexChanged += new System.EventHandler(this.lstDeltas_SelectedIndexChanged);
     //
     // lstValues
     //
     this.lstValues.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         ColumnHeader1,
         ColumnHeader2,
         ColumnHeader3,
         ColumnHeader4
     });
     this.lstValues.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lstValues.FullRowSelect = true;
     this.lstValues.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.lstValues.HideSelection = false;
     this.lstValues.Location      = new System.Drawing.Point(3, 251);
     this.lstValues.MultiSelect   = false;
     this.lstValues.Name          = "lstValues";
     this.lstValues.Size          = new System.Drawing.Size(594, 222);
     this.lstValues.TabIndex      = 2;
     this.lstValues.UseCompatibleStateImageBehavior = false;
     this.lstValues.View = System.Windows.Forms.View.Details;
     this.lstValues.SelectedIndexChanged += new System.EventHandler(this.lstValues_SelectedIndexChanged);
     //
     // ColumnHeader1
     //
     ColumnHeader1.Text  = "Key";
     ColumnHeader1.Width = 150;
     //
     // ColumnHeader2
     //
     ColumnHeader2.Text  = "Old value";
     ColumnHeader2.Width = 100;
     //
     // ColumnHeader3
     //
     ColumnHeader3.Text  = "New value";
     ColumnHeader3.Width = 100;
     //
     // ColumnHeader4
     //
     ColumnHeader4.Text = "Descriptor";
     //
     // chkDisplayUnchanged
     //
     this.chkDisplayUnchanged.AutoSize = true;
     this.chkDisplayUnchanged.Location = new System.Drawing.Point(3, 479);
     this.chkDisplayUnchanged.Name     = "chkDisplayUnchanged";
     this.chkDisplayUnchanged.Size     = new System.Drawing.Size(290, 17);
     this.chkDisplayUnchanged.TabIndex = 3;
     this.chkDisplayUnchanged.Text     = "List all values (including those which have not changed)";
     this.chkDisplayUnchanged.UseVisualStyleBackColor = true;
     this.chkDisplayUnchanged.CheckedChanged         += new System.EventHandler(this.lstDeltas_SelectedIndexChanged);
     //
     // FlowLayoutPanel1
     //
     FlowLayoutPanel1.AutoSize = true;
     FlowLayoutPanel1.Controls.Add(this.btnCancel);
     FlowLayoutPanel1.Controls.Add(this.btnDelete);
     FlowLayoutPanel1.Controls.Add(this.btnSave);
     FlowLayoutPanel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     FlowLayoutPanel1.Location    = new System.Drawing.Point(0, 499);
     FlowLayoutPanel1.Margin      = new System.Windows.Forms.Padding(0);
     FlowLayoutPanel1.Name        = "FlowLayoutPanel1";
     FlowLayoutPanel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     FlowLayoutPanel1.Size        = new System.Drawing.Size(600, 35);
     FlowLayoutPanel1.TabIndex    = 4;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancel.Location                = new System.Drawing.Point(503, 3);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(94, 29);
     this.btnCancel.TabIndex                = 0;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnDelete
     //
     this.btnDelete.Enabled  = false;
     this.btnDelete.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnDelete.Location = new System.Drawing.Point(359, 3);
     this.btnDelete.Margin   = new System.Windows.Forms.Padding(20, 3, 3, 3);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(121, 29);
     this.btnDelete.TabIndex = 1;
     this.btnDelete.Text     = "Delete value";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnSave
     //
     this.btnSave.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSave.Location = new System.Drawing.Point(216, 3);
     this.btnSave.Margin   = new System.Windows.Forms.Padding(12, 3, 3, 3);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(128, 29);
     this.btnSave.TabIndex = 2;
     this.btnSave.Text     = "Save delta file";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // lblID
     //
     this.lblID.AutoSize = true;
     this.lblID.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.lblID.Location = new System.Drawing.Point(3, 228);
     this.lblID.Name     = "lblID";
     this.lblID.Size     = new System.Drawing.Size(594, 20);
     this.lblID.TabIndex = 6;
     //
     // dlgSave
     //
     this.dlgSave.DefaultExt       = "delta";
     this.dlgSave.Filter           = "*.delta|*.delta";
     this.dlgSave.RestoreDirectory = true;
     //
     // frmDeltas
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(600, 534);
     this.Controls.Add(TableLayoutPanel1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(500, 400);
     this.Name          = "frmDeltas";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = "Configuration deltas";
     TableLayoutPanel1.ResumeLayout(false);
     TableLayoutPanel1.PerformLayout();
     FlowLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #31
0
ファイル: MainWindow.cs プロジェクト: rZeton/plot-inet-x
        /// <summary>
        /// To handle files
        /// </summary>
        /// <param name="p"></param>
        public selectChannel(string p)
        {
            try
            {
                TabControl streamParameterTabControl = new TabControl();
                int maximumX = 0;
                int maximumY = 0;
                TabPage[] tabStream = new TabPage[Globals.limitPCAP.Keys.Count];
                int pktCnt = 0;
                foreach (int stream in Globals.limitPCAP.Keys)
                {
                    string[] streamFiles = Array.FindAll(Globals.fileDump_list, element => element.Contains(String.Format("{0}_", stream)));
                    List<string> parametersList = new List<string>(streamFiles.ToList());
                    CheckBox[] dataSelect = new CheckBox[streamFiles.Length];
                    System.Windows.Forms.Label[] dataLabels = new System.Windows.Forms.Label[streamFiles.Length];
                    TableLayoutPanel[] dataColumns = new TableLayoutPanel[streamFiles.Length / 20 + 1];
                    FlowLayoutPanel flow = new FlowLayoutPanel();
                    flow.FlowDirection = FlowDirection.LeftToRight;
                    tabStream[pktCnt] = new TabPage();
                    for (int i = 0; i != streamFiles.Length; i++)
                    {
                        string streamString = stream.ToString();
                        var parName = parametersList[i].Substring((streamString.Length + 1) + (parametersList[i].IndexOf(String.Format("{0}_", stream))));
                        parName = parName.Substring(0, parName.LastIndexOf(".dat"));
                        int whichColumn = i / 20;
                        dataLabels[i] = new System.Windows.Forms.Label();
                        dataLabels[i].Name = i.ToString();
                        dataLabels[i].AutoSize = false;
                        dataLabels[i].Text = String.Format("{0}", parName.ToString());
                        dataLabels[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);

                        dataLabels[i].Size = dataLabels[i].PreferredSize;
                        dataSelect[i] = new CheckBox();
                        dataSelect[i].Name = String.Format("{0}", parName.ToString());
                        dataSelect[i].AutoSize = false;
                        dataSelect[i].Font = new Font(dataLabels[i].Font.FontFamily, 8, dataLabels[i].Font.Style);
                        //Globals.dataHolders[i].TextAlign = ContentAlignment.BottomLeft;
                        dataSelect[i].Size = dataSelect[i].PreferredSize;

                        if (i % 20 == 0)
                        {
                            dataColumns[whichColumn] = new TableLayoutPanel();
                            dataColumns[whichColumn].ColumnCount = 2;
                            dataColumns[whichColumn].RowCount = 20;
                        }
                        dataColumns[whichColumn].Controls.Add(dataLabels[i]);
                        dataColumns[whichColumn].Controls.Add(dataSelect[i]);
                        dataColumns[whichColumn].Size = dataColumns[whichColumn].PreferredSize;
                        if (dataColumns[whichColumn].Size.Height > maximumY) maximumY = dataColumns[whichColumn].Size.Height;
                        //if (tabStream[pktCnt].Size.Width > maximumX) maximumX = tabStream[pktCnt].Size.Width;
                    }
                    for (int i = 0; i != dataColumns.Length; i++)
                    {
                        flow.Controls.Add(dataColumns[i]);
                    }
                    flow.SuspendLayout();
                    flow.ResumeLayout(false);
                    //tabStream[pktCnt].AutoScroll = true;
                    //tabStream[pktCnt].AutoScrollPosition = new System.Drawing.Point(349, 0);
                    flow.Size = flow.PreferredSize;
                    tabStream[pktCnt].Controls.Add(flow);
                    tabStream[pktCnt].Name = stream.ToString();
                    tabStream[pktCnt].Text = String.Format("ID={0}", stream);
                    tabStream[pktCnt].Size = tabStream[pktCnt].PreferredSize;
                    if (tabStream[pktCnt].Size.Height > maximumY) maximumY = tabStream[pktCnt].Size.Height;
                    if (tabStream[pktCnt].Size.Width > maximumX) maximumX = tabStream[pktCnt].Size.Width;
                    pktCnt++;
                }
                foreach (TabPage stream in tabStream)
                {
                    streamParameterTabControl.Controls.Add(stream);
                }
                streamParameterTabControl.SuspendLayout(); streamParameterTabControl.ResumeLayout(false);
                streamParameterTabControl.Size = new Size(maximumX + 5, maximumY + 15);//streamParameterTabControl.PreferredSize;
                //this.Size = this.PreferredSize;
                FlowLayoutPanel selectionFlow = new FlowLayoutPanel();
                selectionFlow.FlowDirection = FlowDirection.LeftToRight;
                selectionFlow.Controls.Add(streamParameterTabControl);
                //streamParameterTabControl.Dock = DockStyle.Fill;
                Button btnOK = new Button();
                btnOK.Text = "Draw";
                btnOK.Click += new EventHandler(selectChannelClick);
                selectionFlow.Controls.Add(btnOK);
                Button btnAll = new Button();
                btnAll.Text = "All";
                btnAll.Click += new EventHandler(selectAllClick);
                selectionFlow.Controls.Add(btnAll);

                selectionFlow.Size = selectionFlow.PreferredSize;
                selectionFlow.SuspendLayout();
                selectionFlow.ResumeLayout(false);
                this.Controls.Add(selectionFlow);
                this.Size = this.PreferredSize;//new Size(maximumX + 50, maximumY + 45);
                this.Text = "Select Channels to Plot";
                this.SuspendLayout();
                this.ResumeLayout(false);
                this.ShowDialog();
                this.Refresh();
                // for future use // DrawParametersList();
            }
            catch (Exception e)
            {
                MessageBox.Show(String.Format("No Stream ID was selected or StreamID={0} is not correct, check your limits file.\n\n{1}", Globals.streamID, e.Message.ToString()));
            }
        }
コード例 #32
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
     PixivAss.BindHandleProvider          bindHandleProvider1 = new PixivAss.BindHandleProvider();
     this.InitButton          = new System.Windows.Forms.Button();
     this.queueComboBox       = new PixivAss.QueueComboBox();
     this.RandomSlideCheckBox = new System.Windows.Forms.CheckBox();
     this.AuthorBox           = new PixivAss.AuthorBox();
     this.TagBox               = new PixivAss.TagBox();
     this.DescBrowser          = new System.Windows.Forms.WebBrowser();
     this.PlayButton           = new System.Windows.Forms.Button();
     this.PageLabel            = new System.Windows.Forms.Label();
     this.NextButton           = new System.Windows.Forms.Label();
     this.PrevButton           = new System.Windows.Forms.Label();
     this.idLabel              = new System.Windows.Forms.LinkLabel();
     this.OpenLocalLabel       = new System.Windows.Forms.LinkLabel();
     this.SwitchBookmarkButton = new System.Windows.Forms.Label();
     this.BookmarkPageLabel    = new System.Windows.Forms.Label();
     this.MainExplorer         = new PixivAss.Explorer();
     this.SystemTrayIcon       = new System.Windows.Forms.NotifyIcon(this.components);
     this.SystemTrayMenu       = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.ExitAction           = new System.Windows.Forms.ToolStripMenuItem();
     flowLayoutPanel1          = new System.Windows.Forms.FlowLayoutPanel();
     flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.MainExplorer)).BeginInit();
     this.SystemTrayMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // flowLayoutPanel1
     //
     flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     flowLayoutPanel1.BackColor = System.Drawing.Color.Transparent;
     flowLayoutPanel1.Controls.Add(this.InitButton);
     flowLayoutPanel1.Controls.Add(this.queueComboBox);
     flowLayoutPanel1.Controls.Add(this.RandomSlideCheckBox);
     flowLayoutPanel1.Controls.Add(this.AuthorBox);
     flowLayoutPanel1.Controls.Add(this.TagBox);
     flowLayoutPanel1.Controls.Add(this.DescBrowser);
     flowLayoutPanel1.Location = new System.Drawing.Point(12, 125);
     flowLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     flowLayoutPanel1.Name     = "flowLayoutPanel1";
     flowLayoutPanel1.Size     = new System.Drawing.Size(164, 469);
     flowLayoutPanel1.TabIndex = 14;
     //
     // InitButton
     //
     this.InitButton.Location = new System.Drawing.Point(3, 3);
     this.InitButton.Name     = "InitButton";
     this.InitButton.Size     = new System.Drawing.Size(158, 74);
     this.InitButton.TabIndex = 20;
     this.InitButton.Text     = "RunInitTask";
     this.InitButton.UseVisualStyleBackColor = true;
     this.InitButton.Visible = false;
     //
     // queueComboBox
     //
     this.queueComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.queueComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.queueComboBox.FormattingEnabled = true;
     this.queueComboBox.Location          = new System.Drawing.Point(3, 83);
     this.queueComboBox.Name     = "queueComboBox";
     this.queueComboBox.Size     = new System.Drawing.Size(101, 20);
     this.queueComboBox.TabIndex = 19;
     //
     // RandomSlideCheckBox
     //
     this.RandomSlideCheckBox.Location  = new System.Drawing.Point(107, 80);
     this.RandomSlideCheckBox.Margin    = new System.Windows.Forms.Padding(0);
     this.RandomSlideCheckBox.Name      = "RandomSlideCheckBox";
     this.RandomSlideCheckBox.Size      = new System.Drawing.Size(50, 24);
     this.RandomSlideCheckBox.TabIndex  = 20;
     this.RandomSlideCheckBox.Text      = "Rock";
     this.RandomSlideCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.RandomSlideCheckBox.UseVisualStyleBackColor = true;
     //
     // AuthorBox
     //
     this.AuthorBox.Location = new System.Drawing.Point(3, 109);
     this.AuthorBox.Name     = "AuthorBox";
     this.AuthorBox.Size     = new System.Drawing.Size(154, 20);
     this.AuthorBox.TabIndex = 12;
     this.AuthorBox.UserId   = 0;
     //
     // TagBox
     //
     this.TagBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.TagBox.AutoScroll       = true;
     this.TagBox.BackColor        = System.Drawing.Color.Transparent;
     this.TagBox.CausesValidation = false;
     this.TagBox.FlowDirection    = System.Windows.Forms.FlowDirection.TopDown;
     this.TagBox.Location         = new System.Drawing.Point(0, 132);
     this.TagBox.Margin           = new System.Windows.Forms.Padding(0);
     this.TagBox.Name             = "TagBox";
     this.TagBox.Size             = new System.Drawing.Size(161, 132);
     this.TagBox.TabIndex         = 9;
     this.TagBox.Tags             = null;
     this.TagBox.WrapContents     = false;
     //
     // DescBrowser
     //
     this.DescBrowser.AllowWebBrowserDrop = false;
     this.DescBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.DescBrowser.CausesValidation = false;
     this.DescBrowser.IsWebBrowserContextMenuEnabled = false;
     this.DescBrowser.Location          = new System.Drawing.Point(0, 264);
     this.DescBrowser.Margin            = new System.Windows.Forms.Padding(0);
     this.DescBrowser.MinimumSize       = new System.Drawing.Size(20, 20);
     this.DescBrowser.Name              = "DescBrowser";
     this.DescBrowser.ScrollBarsEnabled = false;
     this.DescBrowser.Size              = new System.Drawing.Size(164, 291);
     this.DescBrowser.TabIndex          = 7;
     this.DescBrowser.TabStop           = false;
     //
     // PlayButton
     //
     this.PlayButton.CausesValidation        = false;
     this.PlayButton.Font                    = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.PlayButton.Location                = new System.Drawing.Point(12, 35);
     this.PlayButton.Name                    = "PlayButton";
     this.PlayButton.Size                    = new System.Drawing.Size(164, 87);
     this.PlayButton.TabIndex                = 0;
     this.PlayButton.Text                    = "Go1/1";
     this.PlayButton.UseVisualStyleBackColor = true;
     //
     // PageLabel
     //
     this.PageLabel.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.PageLabel.AutoSize  = true;
     this.PageLabel.BackColor = System.Drawing.Color.Transparent;
     this.PageLabel.Font      = new System.Drawing.Font("仿宋", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.PageLabel.Location  = new System.Drawing.Point(182, 530);
     this.PageLabel.Name      = "PageLabel";
     this.PageLabel.Size      = new System.Drawing.Size(124, 64);
     this.PageLabel.TabIndex  = 6;
     this.PageLabel.Text      = "0/0";
     //
     // NextButton
     //
     this.NextButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.NextButton.BackColor = System.Drawing.Color.Transparent;
     this.NextButton.Font      = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.NextButton.Location  = new System.Drawing.Point(972, 12);
     this.NextButton.Name      = "NextButton";
     this.NextButton.Size      = new System.Drawing.Size(60, 508);
     this.NextButton.TabIndex  = 8;
     this.NextButton.Text      = ">";
     this.NextButton.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // PrevButton
     //
     this.PrevButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
     this.PrevButton.BackColor = System.Drawing.Color.Transparent;
     this.PrevButton.Font      = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.PrevButton.Location  = new System.Drawing.Point(182, 9);
     this.PrevButton.Name      = "PrevButton";
     this.PrevButton.Size      = new System.Drawing.Size(60, 511);
     this.PrevButton.TabIndex  = 9;
     this.PrevButton.Text      = "<";
     this.PrevButton.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // idLabel
     //
     this.idLabel.Location  = new System.Drawing.Point(10, 9);
     this.idLabel.Name      = "idLabel";
     this.idLabel.Size      = new System.Drawing.Size(83, 23);
     this.idLabel.TabIndex  = 10;
     this.idLabel.TabStop   = true;
     this.idLabel.Text      = "[0000000]";
     this.idLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // OpenLocalLabel
     //
     this.OpenLocalLabel.Location  = new System.Drawing.Point(99, 12);
     this.OpenLocalLabel.Name      = "OpenLocalLabel";
     this.OpenLocalLabel.Size      = new System.Drawing.Size(74, 20);
     this.OpenLocalLabel.TabIndex  = 18;
     this.OpenLocalLabel.TabStop   = true;
     this.OpenLocalLabel.Text      = "Open Local File";
     this.OpenLocalLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // SwitchBookmarkButton
     //
     this.SwitchBookmarkButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.SwitchBookmarkButton.BackColor = System.Drawing.Color.Transparent;
     this.SwitchBookmarkButton.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.SwitchBookmarkButton.Image     = global::PixivAss.Properties.Resources.NotFav;
     this.SwitchBookmarkButton.Location  = new System.Drawing.Point(941, 520);
     this.SwitchBookmarkButton.Name      = "SwitchBookmarkButton";
     this.SwitchBookmarkButton.Size      = new System.Drawing.Size(91, 74);
     this.SwitchBookmarkButton.TabIndex  = 11;
     //
     // BookmarkPageLabel
     //
     this.BookmarkPageLabel.BackColor        = System.Drawing.Color.Transparent;
     this.BookmarkPageLabel.CausesValidation = false;
     this.BookmarkPageLabel.Enabled          = false;
     this.BookmarkPageLabel.Font             = new System.Drawing.Font("宋体", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.BookmarkPageLabel.Location         = new System.Drawing.Point(941, 530);
     this.BookmarkPageLabel.Name             = "BookmarkPageLabel";
     this.BookmarkPageLabel.Size             = new System.Drawing.Size(91, 64);
     this.BookmarkPageLabel.TabIndex         = 19;
     this.BookmarkPageLabel.Text             = "X";
     this.BookmarkPageLabel.TextAlign        = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MainExplorer
     //
     this.MainExplorer.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.MainExplorer.Location = new System.Drawing.Point(182, 12);
     this.MainExplorer.Name     = "MainExplorer";
     this.MainExplorer.provider = bindHandleProvider1;
     this.MainExplorer.Size     = new System.Drawing.Size(850, 582);
     this.MainExplorer.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.MainExplorer.TabIndex = 2;
     this.MainExplorer.TabStop  = false;
     //
     // SystemTrayIcon
     //
     this.SystemTrayIcon.ContextMenuStrip = this.SystemTrayMenu;
     this.SystemTrayIcon.Text             = "PixivAss";
     this.SystemTrayIcon.Visible          = true;
     //
     // SystemTrayMenu
     //
     this.SystemTrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.ExitAction
     });
     this.SystemTrayMenu.Name     = "SystemTrayMenu";
     this.SystemTrayMenu.Size     = new System.Drawing.Size(181, 48);
     this.SystemTrayMenu.Opening += new System.ComponentModel.CancelEventHandler(this.SystemTrayMenu_Opening);
     //
     // ExitAction
     //
     this.ExitAction.Name = "ExitAction";
     this.ExitAction.Size = new System.Drawing.Size(180, 22);
     this.ExitAction.Text = "退出";
     //
     // MainWindow
     //
     this.ClientSize = new System.Drawing.Size(1044, 606);
     this.Controls.Add(this.BookmarkPageLabel);
     this.Controls.Add(this.OpenLocalLabel);
     this.Controls.Add(flowLayoutPanel1);
     this.Controls.Add(this.SwitchBookmarkButton);
     this.Controls.Add(this.idLabel);
     this.Controls.Add(this.PageLabel);
     this.Controls.Add(this.PrevButton);
     this.Controls.Add(this.NextButton);
     this.Controls.Add(this.MainExplorer);
     this.Controls.Add(this.PlayButton);
     this.KeyPreview = true;
     this.Name       = "MainWindow";
     this.Load      += new System.EventHandler(this.MainWindow_Load);
     flowLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.MainExplorer)).EndInit();
     this.SystemTrayMenu.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #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.components = new System.ComponentModel.Container();
            System.Windows.Forms.TableLayoutPanel selectedShowTable;
            System.Windows.Forms.GroupBox customSettingsGroup;
            System.Windows.Forms.Label destinationLabel;
            System.Windows.Forms.FlowLayoutPanel selectedShowButtons;
            System.Windows.Forms.Label folderNameLabel;
            System.Windows.Forms.GroupBox episodesGroup;
            this.selectedShowName = new System.Windows.Forms.Label();
            this.selectedShowBanner = new System.Windows.Forms.PictureBox();
            this.selectedShowLastUpdated = new System.Windows.Forms.Label();
            this.selectedShowTvdb = new System.Windows.Forms.Label();
            this.customFormatTable = new System.Windows.Forms.TableLayoutPanel();
            this.selectedShowUseCustomFormat = new System.Windows.Forms.CheckBox();
            this.selectedShowCustomFormatText = new System.Windows.Forms.TextBox();
            this.formatLabel = new System.Windows.Forms.Label();
            this.formatBuilder = new System.Windows.Forms.Button();
            this.useCustomDestinationDirectory = new System.Windows.Forms.CheckBox();
            this.customDestination = new System.Windows.Forms.ComboBox();
            this.saveButton = new System.Windows.Forms.Button();
            this.revertButton = new System.Windows.Forms.Button();
            this.updateShowButton = new System.Windows.Forms.Button();
            this.removeShowButton = new System.Windows.Forms.Button();
            this.resetLastUpdatedButton = new System.Windows.Forms.Button();
            this.namesGroup = new System.Windows.Forms.GroupBox();
            this.nameTable = new System.Windows.Forms.TableLayoutPanel();
            this.selectedShowFolderNameText = new System.Windows.Forms.TextBox();
            this.alternateNamesButton = new System.Windows.Forms.Button();
            this.episodesFlow = new System.Windows.Forms.FlowLayoutPanel();
            this.selectedShowUseDvdOrder = new System.Windows.Forms.CheckBox();
            this.selectedShowLockButton = new System.Windows.Forms.Button();
            this.updateAllButton = new System.Windows.Forms.Button();
            this.addShowButton = new System.Windows.Forms.Button();
            this.searchShowsButton = new System.Windows.Forms.Button();
            this.createNfoFilesButton = new System.Windows.Forms.Button();
            this.tvShowsList = new System.Windows.Forms.ListBox();
            this.topButtonsFlow = new System.Windows.Forms.FlowLayoutPanel();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            selectedShowTable = new System.Windows.Forms.TableLayoutPanel();
            customSettingsGroup = new System.Windows.Forms.GroupBox();
            destinationLabel = new System.Windows.Forms.Label();
            selectedShowButtons = new System.Windows.Forms.FlowLayoutPanel();
            folderNameLabel = new System.Windows.Forms.Label();
            episodesGroup = new System.Windows.Forms.GroupBox();
            selectedShowTable.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.selectedShowBanner)).BeginInit();
            customSettingsGroup.SuspendLayout();
            this.customFormatTable.SuspendLayout();
            selectedShowButtons.SuspendLayout();
            this.namesGroup.SuspendLayout();
            this.nameTable.SuspendLayout();
            episodesGroup.SuspendLayout();
            this.episodesFlow.SuspendLayout();
            this.topButtonsFlow.SuspendLayout();
            this.SuspendLayout();
            // 
            // selectedShowTable
            // 
            selectedShowTable.ColumnCount = 1;
            selectedShowTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            selectedShowTable.Controls.Add(this.selectedShowName, 0, 0);
            selectedShowTable.Controls.Add(this.selectedShowBanner, 0, 1);
            selectedShowTable.Controls.Add(this.selectedShowLastUpdated, 0, 3);
            selectedShowTable.Controls.Add(this.selectedShowTvdb, 0, 2);
            selectedShowTable.Controls.Add(customSettingsGroup, 0, 4);
            selectedShowTable.Controls.Add(selectedShowButtons, 0, 7);
            selectedShowTable.Controls.Add(this.namesGroup, 0, 5);
            selectedShowTable.Controls.Add(episodesGroup, 0, 6);
            selectedShowTable.Dock = System.Windows.Forms.DockStyle.Fill;
            selectedShowTable.Location = new System.Drawing.Point(178, 35);
            selectedShowTable.Name = "selectedShowTable";
            selectedShowTable.RowCount = 8;
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 150F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 142F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F));
            selectedShowTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
            selectedShowTable.Size = new System.Drawing.Size(571, 649);
            selectedShowTable.TabIndex = 2;
            // 
            // selectedShowName
            // 
            this.selectedShowName.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.selectedShowName.AutoSize = true;
            this.selectedShowName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.selectedShowName.Location = new System.Drawing.Point(3, 5);
            this.selectedShowName.Name = "selectedShowName";
            this.selectedShowName.Size = new System.Drawing.Size(129, 20);
            this.selectedShowName.TabIndex = 0;
            this.selectedShowName.Text = "Selected Show";
            // 
            // selectedShowBanner
            // 
            this.selectedShowBanner.Dock = System.Windows.Forms.DockStyle.Fill;
            this.selectedShowBanner.Location = new System.Drawing.Point(3, 33);
            this.selectedShowBanner.Name = "selectedShowBanner";
            this.selectedShowBanner.Size = new System.Drawing.Size(565, 144);
            this.selectedShowBanner.TabIndex = 1;
            this.selectedShowBanner.TabStop = false;
            // 
            // selectedShowLastUpdated
            // 
            this.selectedShowLastUpdated.AutoSize = true;
            this.selectedShowLastUpdated.Dock = System.Windows.Forms.DockStyle.Fill;
            this.selectedShowLastUpdated.Location = new System.Drawing.Point(3, 205);
            this.selectedShowLastUpdated.Name = "selectedShowLastUpdated";
            this.selectedShowLastUpdated.Size = new System.Drawing.Size(565, 25);
            this.selectedShowLastUpdated.TabIndex = 2;
            this.selectedShowLastUpdated.Text = "Last Updated:";
            this.toolTip.SetToolTip(this.selectedShowLastUpdated, "The time that the show was last updated in TheTVDB.com\'s server time (UTC).");
            // 
            // selectedShowTvdb
            // 
            this.selectedShowTvdb.AutoSize = true;
            this.selectedShowTvdb.Dock = System.Windows.Forms.DockStyle.Fill;
            this.selectedShowTvdb.Location = new System.Drawing.Point(3, 180);
            this.selectedShowTvdb.Name = "selectedShowTvdb";
            this.selectedShowTvdb.Size = new System.Drawing.Size(565, 25);
            this.selectedShowTvdb.TabIndex = 3;
            this.selectedShowTvdb.Text = "TVDB ID: ";
            this.toolTip.SetToolTip(this.selectedShowTvdb, "The show\'s ID on TheTVDB.com");
            // 
            // customSettingsGroup
            // 
            customSettingsGroup.Controls.Add(this.customFormatTable);
            customSettingsGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            customSettingsGroup.Location = new System.Drawing.Point(3, 233);
            customSettingsGroup.Name = "customSettingsGroup";
            customSettingsGroup.Size = new System.Drawing.Size(565, 136);
            customSettingsGroup.TabIndex = 4;
            customSettingsGroup.TabStop = false;
            customSettingsGroup.Text = "Custom Settings";
            // 
            // customFormatTable
            // 
            this.customFormatTable.ColumnCount = 3;
            this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 79F));
            this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.customFormatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
            this.customFormatTable.Controls.Add(this.selectedShowUseCustomFormat, 0, 0);
            this.customFormatTable.Controls.Add(this.selectedShowCustomFormatText, 1, 1);
            this.customFormatTable.Controls.Add(this.formatLabel, 0, 1);
            this.customFormatTable.Controls.Add(this.formatBuilder, 2, 1);
            this.customFormatTable.Controls.Add(this.useCustomDestinationDirectory, 0, 2);
            this.customFormatTable.Controls.Add(destinationLabel, 0, 3);
            this.customFormatTable.Controls.Add(this.customDestination, 1, 3);
            this.customFormatTable.Dock = System.Windows.Forms.DockStyle.Fill;
            this.customFormatTable.Location = new System.Drawing.Point(3, 16);
            this.customFormatTable.Margin = new System.Windows.Forms.Padding(0);
            this.customFormatTable.Name = "customFormatTable";
            this.customFormatTable.RowCount = 4;
            this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
            this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            this.customFormatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
            this.customFormatTable.Size = new System.Drawing.Size(559, 117);
            this.customFormatTable.TabIndex = 3;
            // 
            // selectedShowUseCustomFormat
            // 
            this.selectedShowUseCustomFormat.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.selectedShowUseCustomFormat.AutoSize = true;
            this.customFormatTable.SetColumnSpan(this.selectedShowUseCustomFormat, 3);
            this.selectedShowUseCustomFormat.Location = new System.Drawing.Point(3, 6);
            this.selectedShowUseCustomFormat.Name = "selectedShowUseCustomFormat";
            this.selectedShowUseCustomFormat.Size = new System.Drawing.Size(118, 17);
            this.selectedShowUseCustomFormat.TabIndex = 0;
            this.selectedShowUseCustomFormat.Text = "Use Custom Format";
            this.toolTip.SetToolTip(this.selectedShowUseCustomFormat, "Indicates whether to use a custom format with this show.");
            this.selectedShowUseCustomFormat.UseVisualStyleBackColor = true;
            this.selectedShowUseCustomFormat.CheckedChanged += new System.EventHandler(this.SelectedUseCustomFormatCheckedChanged);
            // 
            // selectedShowCustomFormatText
            // 
            this.selectedShowCustomFormatText.Dock = System.Windows.Forms.DockStyle.Fill;
            this.selectedShowCustomFormatText.Enabled = false;
            this.selectedShowCustomFormatText.Location = new System.Drawing.Point(82, 33);
            this.selectedShowCustomFormatText.Name = "selectedShowCustomFormatText";
            this.selectedShowCustomFormatText.Size = new System.Drawing.Size(372, 20);
            this.selectedShowCustomFormatText.TabIndex = 2;
            this.toolTip.SetToolTip(this.selectedShowCustomFormatText, "The custom format to use for this show.");
            // 
            // formatLabel
            // 
            this.formatLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.formatLabel.AutoSize = true;
            this.formatLabel.Location = new System.Drawing.Point(34, 37);
            this.formatLabel.Name = "formatLabel";
            this.formatLabel.Size = new System.Drawing.Size(42, 13);
            this.formatLabel.TabIndex = 1;
            this.formatLabel.Text = "Format:";
            // 
            // formatBuilder
            // 
            this.formatBuilder.Enabled = false;
            this.formatBuilder.Location = new System.Drawing.Point(460, 33);
            this.formatBuilder.Name = "formatBuilder";
            this.formatBuilder.Size = new System.Drawing.Size(95, 22);
            this.formatBuilder.TabIndex = 3;
            this.formatBuilder.Text = "Format Builder";
            this.formatBuilder.UseVisualStyleBackColor = true;
            this.formatBuilder.Click += new System.EventHandler(this.FormatBuilderClick);
            // 
            // useCustomDestinationDirectory
            // 
            this.useCustomDestinationDirectory.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.useCustomDestinationDirectory.AutoSize = true;
            this.customFormatTable.SetColumnSpan(this.useCustomDestinationDirectory, 2);
            this.useCustomDestinationDirectory.Location = new System.Drawing.Point(3, 64);
            this.useCustomDestinationDirectory.Name = "useCustomDestinationDirectory";
            this.useCustomDestinationDirectory.Size = new System.Drawing.Size(184, 17);
            this.useCustomDestinationDirectory.TabIndex = 4;
            this.useCustomDestinationDirectory.Text = "Use Custom Destination Directory";
            this.useCustomDestinationDirectory.UseVisualStyleBackColor = true;
            this.useCustomDestinationDirectory.CheckedChanged += new System.EventHandler(this.UseCustomDestinationDirectoryCheckedChanged);
            // 
            // destinationLabel
            // 
            destinationLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            destinationLabel.AutoSize = true;
            destinationLabel.Location = new System.Drawing.Point(13, 96);
            destinationLabel.Name = "destinationLabel";
            destinationLabel.Size = new System.Drawing.Size(63, 13);
            destinationLabel.TabIndex = 5;
            destinationLabel.Text = "Destination:";
            // 
            // customDestination
            // 
            this.customDestination.Dock = System.Windows.Forms.DockStyle.Fill;
            this.customDestination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.customDestination.Enabled = false;
            this.customDestination.FormattingEnabled = true;
            this.customDestination.Location = new System.Drawing.Point(82, 91);
            this.customDestination.Name = "customDestination";
            this.customDestination.Size = new System.Drawing.Size(372, 21);
            this.customDestination.TabIndex = 6;
            // 
            // selectedShowButtons
            // 
            selectedShowButtons.Controls.Add(this.saveButton);
            selectedShowButtons.Controls.Add(this.revertButton);
            selectedShowButtons.Controls.Add(this.updateShowButton);
            selectedShowButtons.Controls.Add(this.removeShowButton);
            selectedShowButtons.Controls.Add(this.resetLastUpdatedButton);
            selectedShowButtons.Dock = System.Windows.Forms.DockStyle.Fill;
            selectedShowButtons.Location = new System.Drawing.Point(0, 542);
            selectedShowButtons.Margin = new System.Windows.Forms.Padding(0);
            selectedShowButtons.Name = "selectedShowButtons";
            selectedShowButtons.Size = new System.Drawing.Size(571, 121);
            selectedShowButtons.TabIndex = 5;
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(3, 3);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(75, 23);
            this.saveButton.TabIndex = 0;
            this.saveButton.Text = "Save";
            this.toolTip.SetToolTip(this.saveButton, "Saves any changes to the show\'s configuration.");
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
            // 
            // revertButton
            // 
            this.revertButton.Location = new System.Drawing.Point(84, 3);
            this.revertButton.Name = "revertButton";
            this.revertButton.Size = new System.Drawing.Size(75, 23);
            this.revertButton.TabIndex = 1;
            this.revertButton.Text = "Revert";
            this.toolTip.SetToolTip(this.revertButton, "Revert\'s any unsaved changes to the show\'s configuration.");
            this.revertButton.UseVisualStyleBackColor = true;
            this.revertButton.Click += new System.EventHandler(this.RevertButtonClick);
            // 
            // updateShowButton
            // 
            this.updateShowButton.Location = new System.Drawing.Point(165, 3);
            this.updateShowButton.Name = "updateShowButton";
            this.updateShowButton.Size = new System.Drawing.Size(93, 23);
            this.updateShowButton.TabIndex = 2;
            this.updateShowButton.Text = "Update Show";
            this.toolTip.SetToolTip(this.updateShowButton, "Updates the show\'s episode data.");
            this.updateShowButton.UseVisualStyleBackColor = true;
            this.updateShowButton.Click += new System.EventHandler(this.UpdateShowButtonClick);
            // 
            // removeShowButton
            // 
            this.removeShowButton.Location = new System.Drawing.Point(264, 3);
            this.removeShowButton.Name = "removeShowButton";
            this.removeShowButton.Size = new System.Drawing.Size(75, 23);
            this.removeShowButton.TabIndex = 3;
            this.removeShowButton.Text = "Remove";
            this.toolTip.SetToolTip(this.removeShowButton, "Removes the show from TVSorter.");
            this.removeShowButton.UseVisualStyleBackColor = true;
            this.removeShowButton.Click += new System.EventHandler(this.RemoveShowButtonClick);
            // 
            // resetLastUpdatedButton
            // 
            this.resetLastUpdatedButton.Location = new System.Drawing.Point(345, 3);
            this.resetLastUpdatedButton.Name = "resetLastUpdatedButton";
            this.resetLastUpdatedButton.Size = new System.Drawing.Size(115, 23);
            this.resetLastUpdatedButton.TabIndex = 4;
            this.resetLastUpdatedButton.Text = "Reset Last Updated";
            this.toolTip.SetToolTip(this.resetLastUpdatedButton, "Resets the Last Updated timestamp of the show. \r\nThis allows new data to be downl" +
        "oaded in the next\r\nupdate.");
            this.resetLastUpdatedButton.UseVisualStyleBackColor = true;
            this.resetLastUpdatedButton.Click += new System.EventHandler(this.ResetLastUpdatedButtonClick);
            // 
            // namesGroup
            // 
            this.namesGroup.Controls.Add(this.nameTable);
            this.namesGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            this.namesGroup.Location = new System.Drawing.Point(3, 375);
            this.namesGroup.Name = "namesGroup";
            this.namesGroup.Size = new System.Drawing.Size(565, 79);
            this.namesGroup.TabIndex = 6;
            this.namesGroup.TabStop = false;
            this.namesGroup.Text = "Names";
            // 
            // nameTable
            // 
            this.nameTable.ColumnCount = 3;
            this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
            this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.nameTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 102F));
            this.nameTable.Controls.Add(folderNameLabel, 0, 0);
            this.nameTable.Controls.Add(this.selectedShowFolderNameText, 1, 0);
            this.nameTable.Controls.Add(this.alternateNamesButton, 1, 1);
            this.nameTable.Dock = System.Windows.Forms.DockStyle.Fill;
            this.nameTable.Location = new System.Drawing.Point(3, 16);
            this.nameTable.Margin = new System.Windows.Forms.Padding(0);
            this.nameTable.Name = "nameTable";
            this.nameTable.RowCount = 2;
            this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
            this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
            this.nameTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.nameTable.Size = new System.Drawing.Size(559, 60);
            this.nameTable.TabIndex = 4;
            // 
            // folderNameLabel
            // 
            folderNameLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            folderNameLabel.AutoSize = true;
            folderNameLabel.Location = new System.Drawing.Point(7, 8);
            folderNameLabel.Name = "folderNameLabel";
            folderNameLabel.Size = new System.Drawing.Size(70, 13);
            folderNameLabel.TabIndex = 1;
            folderNameLabel.Text = "Folder Name:";
            // 
            // selectedShowFolderNameText
            // 
            this.selectedShowFolderNameText.Dock = System.Windows.Forms.DockStyle.Fill;
            this.selectedShowFolderNameText.Location = new System.Drawing.Point(83, 3);
            this.selectedShowFolderNameText.Name = "selectedShowFolderNameText";
            this.selectedShowFolderNameText.Size = new System.Drawing.Size(371, 20);
            this.selectedShowFolderNameText.TabIndex = 2;
            this.toolTip.SetToolTip(this.selectedShowFolderNameText, "The folder name that the show is in.");
            // 
            // alternateNamesButton
            // 
            this.alternateNamesButton.Location = new System.Drawing.Point(83, 33);
            this.alternateNamesButton.Name = "alternateNamesButton";
            this.alternateNamesButton.Size = new System.Drawing.Size(100, 23);
            this.alternateNamesButton.TabIndex = 3;
            this.alternateNamesButton.Text = "Alternate Names";
            this.toolTip.SetToolTip(this.alternateNamesButton, "Edit the alternate names used by the show.");
            this.alternateNamesButton.UseVisualStyleBackColor = true;
            this.alternateNamesButton.Click += new System.EventHandler(this.AlternateNamesButtonClick);
            // 
            // episodesGroup
            // 
            episodesGroup.Controls.Add(this.episodesFlow);
            episodesGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            episodesGroup.Location = new System.Drawing.Point(3, 460);
            episodesGroup.Name = "episodesGroup";
            episodesGroup.Size = new System.Drawing.Size(565, 79);
            episodesGroup.TabIndex = 7;
            episodesGroup.TabStop = false;
            episodesGroup.Text = "Episodes";
            // 
            // episodesFlow
            // 
            this.episodesFlow.Controls.Add(this.selectedShowUseDvdOrder);
            this.episodesFlow.Controls.Add(this.selectedShowLockButton);
            this.episodesFlow.Dock = System.Windows.Forms.DockStyle.Fill;
            this.episodesFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            this.episodesFlow.Location = new System.Drawing.Point(3, 16);
            this.episodesFlow.Name = "episodesFlow";
            this.episodesFlow.Size = new System.Drawing.Size(559, 60);
            this.episodesFlow.TabIndex = 1;
            // 
            // selectedShowUseDvdOrder
            // 
            this.selectedShowUseDvdOrder.AutoSize = true;
            this.selectedShowUseDvdOrder.Location = new System.Drawing.Point(3, 3);
            this.selectedShowUseDvdOrder.Name = "selectedShowUseDvdOrder";
            this.selectedShowUseDvdOrder.Size = new System.Drawing.Size(100, 17);
            this.selectedShowUseDvdOrder.TabIndex = 0;
            this.selectedShowUseDvdOrder.Text = "Use DVD Order";
            this.toolTip.SetToolTip(this.selectedShowUseDvdOrder, "Indicates whether the show should use the DVD order for episodes.");
            this.selectedShowUseDvdOrder.UseVisualStyleBackColor = true;
            // 
            // selectedShowLockButton
            // 
            this.selectedShowLockButton.Location = new System.Drawing.Point(3, 26);
            this.selectedShowLockButton.Name = "selectedShowLockButton";
            this.selectedShowLockButton.Size = new System.Drawing.Size(90, 23);
            this.selectedShowLockButton.TabIndex = 1;
            this.selectedShowLockButton.Text = "Unlock Show";
            this.toolTip.SetToolTip(this.selectedShowLockButton, "Locks/Unlocks  the show.");
            this.selectedShowLockButton.UseVisualStyleBackColor = true;
            this.selectedShowLockButton.Click += new System.EventHandler(this.SelectedShowLockButtonClick);
            // 
            // updateAllButton
            // 
            this.updateAllButton.Location = new System.Drawing.Point(3, 3);
            this.updateAllButton.Name = "updateAllButton";
            this.updateAllButton.Size = new System.Drawing.Size(75, 23);
            this.updateAllButton.TabIndex = 0;
            this.updateAllButton.Text = "Update All";
            this.toolTip.SetToolTip(this.updateAllButton, "Updates the episode data for all the unlocked shows.");
            this.updateAllButton.UseVisualStyleBackColor = true;
            this.updateAllButton.Click += new System.EventHandler(this.UpdateAllButtonClick);
            // 
            // addShowButton
            // 
            this.addShowButton.Location = new System.Drawing.Point(84, 3);
            this.addShowButton.Name = "addShowButton";
            this.addShowButton.Size = new System.Drawing.Size(75, 23);
            this.addShowButton.TabIndex = 1;
            this.addShowButton.Text = "Add Show";
            this.toolTip.SetToolTip(this.addShowButton, "Adds a new show.");
            this.addShowButton.UseVisualStyleBackColor = true;
            this.addShowButton.Click += new System.EventHandler(this.AddShowButtonClick);
            // 
            // searchShowsButton
            // 
            this.searchShowsButton.Location = new System.Drawing.Point(165, 3);
            this.searchShowsButton.Name = "searchShowsButton";
            this.searchShowsButton.Size = new System.Drawing.Size(112, 23);
            this.searchShowsButton.TabIndex = 2;
            this.searchShowsButton.Text = "Search for Shows";
            this.toolTip.SetToolTip(this.searchShowsButton, "Searches for new shows in the output directories.\r\nThis looks up shows by folder " +
        "name.");
            this.searchShowsButton.UseVisualStyleBackColor = true;
            this.searchShowsButton.Click += new System.EventHandler(this.SearchShowsButtonClick);
            // 
            // createNfoFilesButton
            // 
            this.createNfoFilesButton.Location = new System.Drawing.Point(283, 3);
            this.createNfoFilesButton.Name = "createNfoFilesButton";
            this.createNfoFilesButton.Size = new System.Drawing.Size(105, 23);
            this.createNfoFilesButton.TabIndex = 3;
            this.createNfoFilesButton.Text = "Create Nfo Files";
            this.toolTip.SetToolTip(this.createNfoFilesButton, "Creates a tvshow.nfo file in each show\'s directoy with\r\nthe URL to the show on Th" +
        "e TVDB. This is read by \r\nXBMC when scanning.");
            this.createNfoFilesButton.UseVisualStyleBackColor = true;
            this.createNfoFilesButton.Click += new System.EventHandler(this.CreateNfoFilesButtonClick);
            // 
            // tvShowsList
            // 
            this.tvShowsList.Dock = System.Windows.Forms.DockStyle.Left;
            this.tvShowsList.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
            this.tvShowsList.FormattingEnabled = true;
            this.tvShowsList.ItemHeight = 20;
            this.tvShowsList.Location = new System.Drawing.Point(0, 35);
            this.tvShowsList.Name = "tvShowsList";
            this.tvShowsList.Size = new System.Drawing.Size(178, 649);
            this.tvShowsList.TabIndex = 1;
            this.tvShowsList.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.TvShowsListDrawItem);
            this.tvShowsList.SelectedIndexChanged += new System.EventHandler(this.TvShowsListSelectedIndexChanged);
            // 
            // topButtonsFlow
            // 
            this.topButtonsFlow.Controls.Add(this.updateAllButton);
            this.topButtonsFlow.Controls.Add(this.addShowButton);
            this.topButtonsFlow.Controls.Add(this.searchShowsButton);
            this.topButtonsFlow.Controls.Add(this.createNfoFilesButton);
            this.topButtonsFlow.Dock = System.Windows.Forms.DockStyle.Top;
            this.topButtonsFlow.Location = new System.Drawing.Point(0, 0);
            this.topButtonsFlow.Name = "topButtonsFlow";
            this.topButtonsFlow.Size = new System.Drawing.Size(749, 35);
            this.topButtonsFlow.TabIndex = 0;
            // 
            // TvShows
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(selectedShowTable);
            this.Controls.Add(this.tvShowsList);
            this.Controls.Add(this.topButtonsFlow);
            this.Name = "TvShows";
            this.Size = new System.Drawing.Size(749, 684);
            this.Load += new System.EventHandler(this.TvShowsLoad);
            selectedShowTable.ResumeLayout(false);
            selectedShowTable.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.selectedShowBanner)).EndInit();
            customSettingsGroup.ResumeLayout(false);
            this.customFormatTable.ResumeLayout(false);
            this.customFormatTable.PerformLayout();
            selectedShowButtons.ResumeLayout(false);
            this.namesGroup.ResumeLayout(false);
            this.nameTable.ResumeLayout(false);
            this.nameTable.PerformLayout();
            episodesGroup.ResumeLayout(false);
            this.episodesFlow.ResumeLayout(false);
            this.episodesFlow.PerformLayout();
            this.topButtonsFlow.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #34
0
        /// <summary>
        /// Required method for Designer support - do not modify
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TableLayoutPanel table;
            System.Windows.Forms.FlowLayoutPanel flowButtons;
            System.Windows.Forms.Label seasonLabel;
            System.Windows.Forms.Label episodeLabel;
            this.okButton = new System.Windows.Forms.Button();
            this.cancelButton = new System.Windows.Forms.Button();
            this.episodeNumber = new System.Windows.Forms.TextBox();
            this.seasonNumber = new System.Windows.Forms.TextBox();
            table = new System.Windows.Forms.TableLayoutPanel();
            flowButtons = new System.Windows.Forms.FlowLayoutPanel();
            seasonLabel = new System.Windows.Forms.Label();
            episodeLabel = new System.Windows.Forms.Label();
            table.SuspendLayout();
            flowButtons.SuspendLayout();
            this.SuspendLayout();
            // 
            // table
            // 
            table.ColumnCount = 2;
            table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 93F));
            table.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            table.Controls.Add(flowButtons, 0, 2);
            table.Controls.Add(this.episodeNumber, 1, 1);
            table.Controls.Add(this.seasonNumber, 1, 0);
            table.Controls.Add(seasonLabel, 0, 0);
            table.Controls.Add(episodeLabel, 0, 1);
            table.Dock = System.Windows.Forms.DockStyle.Fill;
            table.Location = new System.Drawing.Point(0, 0);
            table.Name = "table";
            table.RowCount = 2;
            table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            table.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
            table.Size = new System.Drawing.Size(213, 81);
            table.TabIndex = 3;
            // 
            // flowButtons
            // 
            table.SetColumnSpan(flowButtons, 2);
            flowButtons.Controls.Add(this.okButton);
            flowButtons.Controls.Add(this.cancelButton);
            flowButtons.Dock = System.Windows.Forms.DockStyle.Fill;
            flowButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            flowButtons.Location = new System.Drawing.Point(0, 50);
            flowButtons.Margin = new System.Windows.Forms.Padding(0);
            flowButtons.Name = "flowButtons";
            flowButtons.Size = new System.Drawing.Size(213, 56);
            flowButtons.TabIndex = 0;
            // 
            // okButton
            // 
            this.okButton.Location = new System.Drawing.Point(135, 3);
            this.okButton.Name = "okButton";
            this.okButton.Size = new System.Drawing.Size(75, 23);
            this.okButton.TabIndex = 1;
            this.okButton.Text = "OK";
            this.okButton.UseVisualStyleBackColor = true;
            this.okButton.Click += new System.EventHandler(this.OkButtonClick);
            // 
            // cancelButton
            // 
            this.cancelButton.Location = new System.Drawing.Point(54, 3);
            this.cancelButton.Name = "cancelButton";
            this.cancelButton.Size = new System.Drawing.Size(75, 23);
            this.cancelButton.TabIndex = 2;
            this.cancelButton.Text = "Cancel";
            this.cancelButton.UseVisualStyleBackColor = true;
            this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
            // 
            // episodeNumber
            // 
            this.episodeNumber.Dock = System.Windows.Forms.DockStyle.Fill;
            this.episodeNumber.Location = new System.Drawing.Point(96, 28);
            this.episodeNumber.Name = "episodeNumber";
            this.episodeNumber.Size = new System.Drawing.Size(114, 20);
            this.episodeNumber.TabIndex = 1;
            // 
            // seasonNumber
            // 
            this.seasonNumber.Dock = System.Windows.Forms.DockStyle.Fill;
            this.seasonNumber.Location = new System.Drawing.Point(96, 3);
            this.seasonNumber.Name = "seasonNumber";
            this.seasonNumber.Size = new System.Drawing.Size(114, 20);
            this.seasonNumber.TabIndex = 0;
            // 
            // seasonLabel
            // 
            seasonLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            seasonLabel.AutoSize = true;
            seasonLabel.Location = new System.Drawing.Point(6, 6);
            seasonLabel.Name = "seasonLabel";
            seasonLabel.Size = new System.Drawing.Size(84, 13);
            seasonLabel.TabIndex = 2;
            seasonLabel.Text = "Season number:";
            // 
            // episodeLabel
            // 
            episodeLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            episodeLabel.AutoSize = true;
            episodeLabel.Location = new System.Drawing.Point(4, 31);
            episodeLabel.Name = "episodeLabel";
            episodeLabel.Size = new System.Drawing.Size(86, 13);
            episodeLabel.TabIndex = 3;
            episodeLabel.Text = "Episode number:";
            // 
            // NumberInputDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(213, 81);
            this.ControlBox = false;
            this.Controls.Add(table);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Name = "NumberInputDialog";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Set Episode";
            table.ResumeLayout(false);
            table.PerformLayout();
            flowButtons.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #35
0
ファイル: SoftKeyboard.cs プロジェクト: khonsoe/keymagic
        private void RefreshZXCVRow(FlowLayoutPanel panel, RefreshFor modify)
        {
            if (ZXCVRowScancodes.Length != panel.Controls.Count)
            {
                return;
            }

            if ((modify & RefreshFor.Label) == RefreshFor.Label)
            {
                for (int i = 0; i < panel.Controls.Count; i++)
                {
                    SoftKey key = panel.Controls[i] as SoftKey;
                    ChangeStyleForKey(key);
                    key.Text = GetDisplayStringFromVK(key.ScanCode);
                }
            }

            if ((modify & RefreshFor.Font) == RefreshFor.Font)
            {
                for (int i = 0; i < panel.Controls.Count; i++)
                {
                    panel.Controls[i].Font = ButtonFont;
                }
            }

            if ((modify & RefreshFor.Size) == RefreshFor.Size)
            {
                panel.SuspendLayout();

                Size[] sizes = ZXCVSize(panel.Size);
                if (sizes.Length != panel.Controls.Count)
                {
                    return;
                }

                for (int i = 0; i < sizes.Length; i++)
                {
                    panel.Controls[i].Size = sizes[i];
                }

                panel.ResumeLayout();

                Control b = panel.Controls[panel.Controls.Count - 1];
                b.Width = panel.Width - b.Location.X - (buttonMargin.Left + buttonMargin.Right);
            }
        }
コード例 #36
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PropertiesDialog));
     this.pnlItemName = new Panel();
     this.txtName = new TextBox();
     this.lblName = new Label();
     this.imgIcon = new PictureBox();
     this.pnlType = new Panel();
     this.lblType = new Label();
     this.pnlDelimiter2 = new Panel();
     this.pnlLocation = new Panel();
     this.lblLocation = new Label();
     this.pnlSize = new Panel();
     this.lblSize = new Label();
     this.pnlCompressedSize = new Panel();
     this.lblCompressedSize = new Label();
     this.pnlContains = new Panel();
     this.lblContains = new Label();
     this.pnlCreationTime = new Panel();
     this.lblCreationTime = new Label();
     this.pnlLastWriteTime = new Panel();
     this.lblLastWriteTime = new Label();
     this.pnlLastAccessTime = new Panel();
     this.lblLastAccessTime = new Label();
     this.pnlDelimiter4 = new Panel();
     this.pnlAttributes = new Panel();
     this.chkEncrypted = new CheckBox();
     this.chkCompressed = new CheckBox();
     this.chkSystem = new CheckBox();
     this.chkReadOnly = new CheckBox();
     this.chkHidden = new CheckBox();
     this.chkArchive = new CheckBox();
     this.tabControlProperties = new TabControl();
     this.tabPageProperties = new TabPage();
     this.btnApply = new Button();
     this.tmrUpdateSize = new System.Windows.Forms.Timer(this.components);
     this.tsbStop = new ToolStripButton();
     this.btnCancel = new Button();
     this.btnOk = new Button();
     FlowLayoutPanel panel = new FlowLayoutPanel();
     Panel panel2 = new Panel();
     Label label = new Label();
     Label label2 = new Label();
     Label label3 = new Label();
     Label label4 = new Label();
     Label label5 = new Label();
     Panel panel3 = new Panel();
     Label label6 = new Label();
     Label label7 = new Label();
     Label label8 = new Label();
     Label label9 = new Label();
     panel.SuspendLayout();
     this.pnlItemName.SuspendLayout();
     ((ISupportInitialize) this.imgIcon).BeginInit();
     this.pnlType.SuspendLayout();
     this.pnlLocation.SuspendLayout();
     this.pnlSize.SuspendLayout();
     this.pnlCompressedSize.SuspendLayout();
     this.pnlContains.SuspendLayout();
     this.pnlCreationTime.SuspendLayout();
     this.pnlLastWriteTime.SuspendLayout();
     this.pnlLastAccessTime.SuspendLayout();
     this.pnlAttributes.SuspendLayout();
     this.tabControlProperties.SuspendLayout();
     this.tabPageProperties.SuspendLayout();
     base.SuspendLayout();
     panel.Controls.Add(this.pnlItemName);
     panel.Controls.Add(panel2);
     panel.Controls.Add(this.pnlType);
     panel.Controls.Add(this.pnlDelimiter2);
     panel.Controls.Add(this.pnlLocation);
     panel.Controls.Add(this.pnlSize);
     panel.Controls.Add(this.pnlCompressedSize);
     panel.Controls.Add(this.pnlContains);
     panel.Controls.Add(panel3);
     panel.Controls.Add(this.pnlCreationTime);
     panel.Controls.Add(this.pnlLastWriteTime);
     panel.Controls.Add(this.pnlLastAccessTime);
     panel.Controls.Add(this.pnlDelimiter4);
     panel.Controls.Add(this.pnlAttributes);
     manager.ApplyResources(panel, "flpProperties");
     panel.Name = "flpProperties";
     manager.ApplyResources(this.pnlItemName, "pnlItemName");
     this.pnlItemName.Controls.Add(this.txtName);
     this.pnlItemName.Controls.Add(this.lblName);
     this.pnlItemName.Controls.Add(this.imgIcon);
     this.pnlItemName.Name = "pnlItemName";
     manager.ApplyResources(this.txtName, "txtName");
     this.txtName.Name = "txtName";
     manager.ApplyResources(this.lblName, "lblName");
     this.lblName.Name = "lblName";
     manager.ApplyResources(this.imgIcon, "imgIcon");
     this.imgIcon.Name = "imgIcon";
     this.imgIcon.TabStop = false;
     manager.ApplyResources(panel2, "pnlDelimiter1");
     panel2.Name = "pnlDelimiter1";
     panel2.Paint += new PaintEventHandler(this.DelimiterPanel_Paint);
     manager.ApplyResources(this.pnlType, "pnlType");
     this.pnlType.Controls.Add(this.lblType);
     this.pnlType.Controls.Add(label);
     this.pnlType.Name = "pnlType";
     this.lblType.AutoEllipsis = true;
     manager.ApplyResources(this.lblType, "lblType");
     this.lblType.Name = "lblType";
     manager.ApplyResources(label, "label1");
     label.Name = "label1";
     manager.ApplyResources(this.pnlDelimiter2, "pnlDelimiter2");
     this.pnlDelimiter2.Name = "pnlDelimiter2";
     this.pnlDelimiter2.Paint += new PaintEventHandler(this.DelimiterPanel_Paint);
     manager.ApplyResources(this.pnlLocation, "pnlLocation");
     this.pnlLocation.Controls.Add(this.lblLocation);
     this.pnlLocation.Controls.Add(label2);
     this.pnlLocation.Name = "pnlLocation";
     this.lblLocation.AutoEllipsis = true;
     manager.ApplyResources(this.lblLocation, "lblLocation");
     this.lblLocation.Name = "lblLocation";
     manager.ApplyResources(label2, "label4");
     label2.Name = "label4";
     manager.ApplyResources(this.pnlSize, "pnlSize");
     this.pnlSize.Controls.Add(this.lblSize);
     this.pnlSize.Controls.Add(label3);
     this.pnlSize.Name = "pnlSize";
     manager.ApplyResources(this.lblSize, "lblSize");
     this.lblSize.Name = "lblSize";
     manager.ApplyResources(label3, "label6");
     label3.Name = "label6";
     manager.ApplyResources(this.pnlCompressedSize, "pnlCompressedSize");
     this.pnlCompressedSize.Controls.Add(this.lblCompressedSize);
     this.pnlCompressedSize.Controls.Add(label4);
     this.pnlCompressedSize.Name = "pnlCompressedSize";
     manager.ApplyResources(this.lblCompressedSize, "lblCompressedSize");
     this.lblCompressedSize.Name = "lblCompressedSize";
     manager.ApplyResources(label4, "label8");
     label4.Name = "label8";
     manager.ApplyResources(this.pnlContains, "pnlContains");
     this.pnlContains.Controls.Add(this.lblContains);
     this.pnlContains.Controls.Add(label5);
     this.pnlContains.Name = "pnlContains";
     manager.ApplyResources(this.lblContains, "lblContains");
     this.lblContains.Name = "lblContains";
     manager.ApplyResources(label5, "label3");
     label5.Name = "label3";
     manager.ApplyResources(panel3, "pnlDelimiter3");
     panel3.Name = "pnlDelimiter3";
     panel3.Paint += new PaintEventHandler(this.DelimiterPanel_Paint);
     manager.ApplyResources(this.pnlCreationTime, "pnlCreationTime");
     this.pnlCreationTime.Controls.Add(this.lblCreationTime);
     this.pnlCreationTime.Controls.Add(label6);
     this.pnlCreationTime.Name = "pnlCreationTime";
     manager.ApplyResources(this.lblCreationTime, "lblCreationTime");
     this.lblCreationTime.Name = "lblCreationTime";
     manager.ApplyResources(label6, "label10");
     label6.Name = "label10";
     manager.ApplyResources(this.pnlLastWriteTime, "pnlLastWriteTime");
     this.pnlLastWriteTime.Controls.Add(this.lblLastWriteTime);
     this.pnlLastWriteTime.Controls.Add(label7);
     this.pnlLastWriteTime.Name = "pnlLastWriteTime";
     manager.ApplyResources(this.lblLastWriteTime, "lblLastWriteTime");
     this.lblLastWriteTime.Name = "lblLastWriteTime";
     manager.ApplyResources(label7, "label12");
     label7.Name = "label12";
     manager.ApplyResources(this.pnlLastAccessTime, "pnlLastAccessTime");
     this.pnlLastAccessTime.Controls.Add(this.lblLastAccessTime);
     this.pnlLastAccessTime.Controls.Add(label8);
     this.pnlLastAccessTime.Name = "pnlLastAccessTime";
     manager.ApplyResources(this.lblLastAccessTime, "lblLastAccessTime");
     this.lblLastAccessTime.Name = "lblLastAccessTime";
     manager.ApplyResources(label8, "label14");
     label8.Name = "label14";
     manager.ApplyResources(this.pnlDelimiter4, "pnlDelimiter4");
     this.pnlDelimiter4.Name = "pnlDelimiter4";
     this.pnlDelimiter4.Paint += new PaintEventHandler(this.DelimiterPanel_Paint);
     manager.ApplyResources(this.pnlAttributes, "pnlAttributes");
     this.pnlAttributes.Controls.Add(this.chkEncrypted);
     this.pnlAttributes.Controls.Add(this.chkCompressed);
     this.pnlAttributes.Controls.Add(this.chkSystem);
     this.pnlAttributes.Controls.Add(this.chkReadOnly);
     this.pnlAttributes.Controls.Add(this.chkHidden);
     this.pnlAttributes.Controls.Add(label9);
     this.pnlAttributes.Controls.Add(this.chkArchive);
     this.pnlAttributes.Name = "pnlAttributes";
     manager.ApplyResources(this.chkEncrypted, "chkEncrypted");
     this.chkEncrypted.Name = "chkEncrypted";
     this.chkEncrypted.ThreeState = true;
     this.chkEncrypted.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkCompressed, "chkCompressed");
     this.chkCompressed.Name = "chkCompressed";
     this.chkCompressed.ThreeState = true;
     this.chkCompressed.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkSystem, "chkSystem");
     this.chkSystem.Name = "chkSystem";
     this.chkSystem.ThreeState = true;
     this.chkSystem.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkReadOnly, "chkReadOnly");
     this.chkReadOnly.Name = "chkReadOnly";
     this.chkReadOnly.ThreeState = true;
     this.chkReadOnly.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkHidden, "chkHidden");
     this.chkHidden.Name = "chkHidden";
     this.chkHidden.ThreeState = true;
     this.chkHidden.UseVisualStyleBackColor = true;
     manager.ApplyResources(label9, "label16");
     label9.Name = "label16";
     manager.ApplyResources(this.chkArchive, "chkArchive");
     this.chkArchive.Name = "chkArchive";
     this.chkArchive.ThreeState = true;
     this.chkArchive.UseVisualStyleBackColor = true;
     this.tabControlProperties.Controls.Add(this.tabPageProperties);
     manager.ApplyResources(this.tabControlProperties, "tabControlProperties");
     this.tabControlProperties.Name = "tabControlProperties";
     this.tabControlProperties.SelectedIndex = 0;
     this.tabControlProperties.Selecting += new TabControlCancelEventHandler(this.tabControlProperties_Selecting);
     this.tabPageProperties.Controls.Add(panel);
     manager.ApplyResources(this.tabPageProperties, "tabPageProperties");
     this.tabPageProperties.Name = "tabPageProperties";
     this.tabPageProperties.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnApply, "btnApply");
     this.btnApply.Name = "btnApply";
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     this.tmrUpdateSize.Tick += new EventHandler(this.tmrUpdateSize_Tick);
     this.tsbStop.DisplayStyle = ToolStripItemDisplayStyle.Image;
     manager.ApplyResources(this.tsbStop, "tsbStop");
     this.tsbStop.Image = Resources.ImageThrobber;
     this.tsbStop.Name = "tsbStop";
     this.tsbStop.EnabledChanged += new EventHandler(this.tsbStop_EnabledChanged);
     this.tsbStop.Click += new EventHandler(this.tsbStop_Click);
     this.btnCancel.DialogResult = DialogResult.Cancel;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnApply);
     base.Controls.Add(this.tabControlProperties);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "PropertiesDialog";
     base.ShowInTaskbar = false;
     base.Load += new EventHandler(this.PropertiesDialog_Load);
     base.Shown += new EventHandler(this.PropertiesDialog_Shown);
     base.FormClosed += new FormClosedEventHandler(this.PropertiesDialog_FormClosed);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.pnlItemName.ResumeLayout(false);
     this.pnlItemName.PerformLayout();
     ((ISupportInitialize) this.imgIcon).EndInit();
     this.pnlType.ResumeLayout(false);
     this.pnlType.PerformLayout();
     this.pnlLocation.ResumeLayout(false);
     this.pnlLocation.PerformLayout();
     this.pnlSize.ResumeLayout(false);
     this.pnlSize.PerformLayout();
     this.pnlCompressedSize.ResumeLayout(false);
     this.pnlCompressedSize.PerformLayout();
     this.pnlContains.ResumeLayout(false);
     this.pnlContains.PerformLayout();
     this.pnlCreationTime.ResumeLayout(false);
     this.pnlCreationTime.PerformLayout();
     this.pnlLastWriteTime.ResumeLayout(false);
     this.pnlLastWriteTime.PerformLayout();
     this.pnlLastAccessTime.ResumeLayout(false);
     this.pnlLastAccessTime.PerformLayout();
     this.pnlAttributes.ResumeLayout(false);
     this.pnlAttributes.PerformLayout();
     this.tabControlProperties.ResumeLayout(false);
     this.tabPageProperties.ResumeLayout(false);
     base.ResumeLayout(false);
 }
コード例 #37
0
ファイル: AppTileList.cs プロジェクト: 0install/0install-win
        /// <summary>
        /// Creates a new <see cref="AppTile"/> list.
        /// </summary>
        public AppTileList()
        {
            Size = new Size(425, 200);
            AutoScaleDimensions = new SizeF(6F, 13F);
            AutoScaleMode = AutoScaleMode.Font;

            SuspendLayout();

            TextSearch = new HintTextBox
            {
                Dock = DockStyle.Top, Height = 20,
                HintText = Resources.Search, ShowClearButton = true,
                TabIndex = 0
            };
            TextSearch.TextChanged += delegate { RefilterTiles(); };

            _flowLayout = new FlowLayoutPanel
            {
                Location = new Point(0, 0), Size = Size.Empty, Margin = Padding.Empty,
                FlowDirection = FlowDirection.TopDown
            };
            _scrollPanel = new Panel
            {
                Dock = DockStyle.Fill, Margin = Padding.Empty,
                AutoScroll = true, Controls = {_flowLayout},
                TabIndex = 1
            };

            // Must add scroll panel first for docking to work correctly
            Controls.Add(_scrollPanel);
            Controls.Add(TextSearch);

            Resize += delegate
            {
                _flowLayout.SuspendLayout();
                _flowLayout.Width = _scrollPanel.Width - (int)(20 * AutoScaleDimensions.Width / 6F);
                foreach (Control control in _flowLayout.Controls)
                    control.Width = _flowLayout.Width;
                _flowLayout.ResumeLayout(false);
            };

            ResumeLayout(false);
        }
コード例 #38
0
ファイル: OptionsForm.Designer.cs プロジェクト: rsdn/janus
		/// <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.Windows.Forms.FlowLayoutPanel _lytButtons;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsForm));
			this._saveButton = new System.Windows.Forms.Button();
			this._okButton = new System.Windows.Forms.Button();
			this._cancelButton = new System.Windows.Forms.Button();
			this._pluginsTreeImages = new System.Windows.Forms.ImageList(this.components);
			this._tabControl = new System.Windows.Forms.TabControl();
			this._applicationTab = new System.Windows.Forms.TabPage();
			this._appPropertyGrid = new System.Windows.Forms.PropertyGrid();
			this._hotKeysTab = new System.Windows.Forms.TabPage();
			this._styleTab = new System.Windows.Forms.TabPage();
			this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
			this._saveSchemeButton = new System.Windows.Forms.Button();
			this._loadSchemeButton = new System.Windows.Forms.Button();
			this._stylePropertyGrid = new System.Windows.Forms.PropertyGrid();
			_lytButtons = new System.Windows.Forms.FlowLayoutPanel();
			_lytButtons.SuspendLayout();
			this._tabControl.SuspendLayout();
			this._applicationTab.SuspendLayout();
			this._styleTab.SuspendLayout();
			this.flowLayoutPanel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// _lytButtons
			// 
			resources.ApplyResources(_lytButtons, "_lytButtons");
			_lytButtons.Controls.Add(this._saveButton);
			_lytButtons.Controls.Add(this._okButton);
			_lytButtons.Controls.Add(this._cancelButton);
			_lytButtons.Name = "_lytButtons";
			// 
			// _saveButton
			// 
			resources.ApplyResources(this._saveButton, "_saveButton");
			this._saveButton.Name = "_saveButton";
			this._saveButton.Click += new System.EventHandler(this.SaveButtonClick);
			// 
			// _okButton
			// 
			resources.ApplyResources(this._okButton, "_okButton");
			this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
			this._okButton.Name = "_okButton";
			this._okButton.Click += new System.EventHandler(this.OKButtonClick);
			// 
			// _cancelButton
			// 
			resources.ApplyResources(this._cancelButton, "_cancelButton");
			this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this._cancelButton.Name = "_cancelButton";
			this._cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
			// 
			// _pluginsTreeImages
			// 
			this._pluginsTreeImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_pluginsTreeImages.ImageStream")));
			this._pluginsTreeImages.TransparentColor = System.Drawing.Color.Transparent;
			this._pluginsTreeImages.Images.SetKeyName(0, "");
			this._pluginsTreeImages.Images.SetKeyName(1, "");
			// 
			// _tabControl
			// 
			resources.ApplyResources(this._tabControl, "_tabControl");
			this._tabControl.Controls.Add(this._applicationTab);
			this._tabControl.Controls.Add(this._hotKeysTab);
			this._tabControl.Controls.Add(this._styleTab);
			this._tabControl.HotTrack = true;
			this._tabControl.Name = "_tabControl";
			this._tabControl.SelectedIndex = 0;
			// 
			// _applicationTab
			// 
			this._applicationTab.Controls.Add(this._appPropertyGrid);
			resources.ApplyResources(this._applicationTab, "_applicationTab");
			this._applicationTab.Name = "_applicationTab";
			// 
			// _appPropertyGrid
			// 
			this._appPropertyGrid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
			this._appPropertyGrid.CommandsBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
			resources.ApplyResources(this._appPropertyGrid, "_appPropertyGrid");
			this._appPropertyGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(244)))));
			this._appPropertyGrid.Name = "_appPropertyGrid";
			this._appPropertyGrid.PropertySort = System.Windows.Forms.PropertySort.Categorized;
			this._appPropertyGrid.ToolbarVisible = false;
			this._appPropertyGrid.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(255)))));
			this._appPropertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridPropertyValueChanged);
			// 
			// _hotKeysTab
			// 
			resources.ApplyResources(this._hotKeysTab, "_hotKeysTab");
			this._hotKeysTab.Name = "_hotKeysTab";
			// 
			// _styleTab
			// 
			this._styleTab.Controls.Add(this.flowLayoutPanel1);
			this._styleTab.Controls.Add(this._stylePropertyGrid);
			resources.ApplyResources(this._styleTab, "_styleTab");
			this._styleTab.Name = "_styleTab";
			// 
			// flowLayoutPanel1
			// 
			resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
			this.flowLayoutPanel1.Controls.Add(this._saveSchemeButton);
			this.flowLayoutPanel1.Controls.Add(this._loadSchemeButton);
			this.flowLayoutPanel1.Name = "flowLayoutPanel1";
			// 
			// _saveSchemeButton
			// 
			resources.ApplyResources(this._saveSchemeButton, "_saveSchemeButton");
			this._saveSchemeButton.Name = "_saveSchemeButton";
			this._saveSchemeButton.Click += new System.EventHandler(this.SaveSchemeButtonClick);
			// 
			// _loadSchemeButton
			// 
			resources.ApplyResources(this._loadSchemeButton, "_loadSchemeButton");
			this._loadSchemeButton.Name = "_loadSchemeButton";
			this._loadSchemeButton.Click += new System.EventHandler(this.LoadSchemeButtonClick);
			// 
			// _stylePropertyGrid
			// 
			resources.ApplyResources(this._stylePropertyGrid, "_stylePropertyGrid");
			this._stylePropertyGrid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
			this._stylePropertyGrid.CommandsBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(244)))));
			this._stylePropertyGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(244)))));
			this._stylePropertyGrid.Name = "_stylePropertyGrid";
			this._stylePropertyGrid.PropertySort = System.Windows.Forms.PropertySort.Categorized;
			this._stylePropertyGrid.ToolbarVisible = false;
			this._stylePropertyGrid.ViewBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(255)))));
			// 
			// OptionsForm
			// 
			this.AcceptButton = this._okButton;
			this.CancelButton = this._cancelButton;
			resources.ApplyResources(this, "$this");
			this.Controls.Add(_lytButtons);
			this.Controls.Add(this._tabControl);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "OptionsForm";
			this.ShowInTaskbar = false;
			_lytButtons.ResumeLayout(false);
			_lytButtons.PerformLayout();
			this._tabControl.ResumeLayout(false);
			this._applicationTab.ResumeLayout(false);
			this._styleTab.ResumeLayout(false);
			this._styleTab.PerformLayout();
			this.flowLayoutPanel1.ResumeLayout(false);
			this.flowLayoutPanel1.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
コード例 #39
0
		public void AutoSizeGrowOnly_ResizeIfSmaller_DockRight ()
		{
			f.ClientSize = new Size (300, 100);

			var panel = new FlowLayoutPanel ();
			panel.SuspendLayout ();
			panel.AutoSize = true;
			panel.AutoSizeMode = AutoSizeMode.GrowOnly;
			panel.WrapContents = true;
			panel.Bounds = new Rectangle(5, 5, 100, 100);
			panel.Dock = DockStyle.Right;

			var c = new Label ();
			c.Size = new Size (25, 90);
			panel.Controls.Add (c);
			f.Controls.Add(panel);
			panel.ResumeLayout (true);

			Assert.AreEqual (269, panel.Left, "1");
			Assert.AreEqual (f.ClientRectangle.Height, panel.Height, "2");
			Assert.AreEqual (31, panel.Width, "3"); // 25 + 2*3 margin
		}
コード例 #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.components = new System.ComponentModel.Container();
     System.Windows.Forms.FlowLayoutPanel           lytButtons;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutJanusForm));
     System.Windows.Forms.RadioButton btnComponents;
     System.Windows.Forms.RadioButton btnDevelopers;
     this._asmButton    = new System.Windows.Forms.RadioButton();
     this._okButton     = new System.Windows.Forms.Button();
     this._panelBlack   = new System.Windows.Forms.Panel();
     this._janusPicture = new System.Windows.Forms.PictureBox();
     this._titleLabel   = new System.Windows.Forms.Label();
     this._versionLabel = new System.Windows.Forms.Label();
     this._webBrowser   = new System.Windows.Forms.WebBrowser();
     this._fadeTimer    = new System.Windows.Forms.Timer(this.components);
     lytButtons         = new System.Windows.Forms.FlowLayoutPanel();
     btnComponents      = new System.Windows.Forms.RadioButton();
     btnDevelopers      = new System.Windows.Forms.RadioButton();
     lytButtons.SuspendLayout();
     this._panelBlack.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._janusPicture)).BeginInit();
     this.SuspendLayout();
     //
     // lytButtons
     //
     resources.ApplyResources(lytButtons, "lytButtons");
     lytButtons.Controls.Add(this._asmButton);
     lytButtons.Controls.Add(btnComponents);
     lytButtons.Controls.Add(btnDevelopers);
     lytButtons.Controls.Add(this._okButton);
     lytButtons.Name = "lytButtons";
     //
     // _asmButton
     //
     resources.ApplyResources(this._asmButton, "_asmButton");
     this._asmButton.Name   = "_asmButton";
     this._asmButton.Click += new System.EventHandler(this.ButtonAssemblyInfoClick);
     //
     // btnComponents
     //
     resources.ApplyResources(btnComponents, "btnComponents");
     btnComponents.Name   = "btnComponents";
     btnComponents.Click += new System.EventHandler(this.ButtonShowComponentsClick);
     //
     // btnDevelopers
     //
     resources.ApplyResources(btnDevelopers, "btnDevelopers");
     btnDevelopers.Name   = "btnDevelopers";
     btnDevelopers.Click += new System.EventHandler(this.ButtonShowDevelopersClick);
     //
     // _okButton
     //
     resources.ApplyResources(this._okButton, "_okButton");
     this._okButton.BackColor               = System.Drawing.SystemColors.Control;
     this._okButton.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this._okButton.Name                    = "_okButton";
     this._okButton.UseVisualStyleBackColor = false;
     //
     // _panelBlack
     //
     resources.ApplyResources(this._panelBlack, "_panelBlack");
     this._panelBlack.BackColor = System.Drawing.Color.Black;
     this._panelBlack.Controls.Add(this._janusPicture);
     this._panelBlack.Name = "_panelBlack";
     //
     // _janusPicture
     //
     resources.ApplyResources(this._janusPicture, "_janusPicture");
     this._janusPicture.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this._janusPicture.Name        = "_janusPicture";
     this._janusPicture.TabStop     = false;
     //
     // _titleLabel
     //
     resources.ApplyResources(this._titleLabel, "_titleLabel");
     this._titleLabel.BackColor = System.Drawing.Color.Black;
     this._titleLabel.ForeColor = System.Drawing.Color.White;
     this._titleLabel.Name      = "_titleLabel";
     //
     // _versionLabel
     //
     resources.ApplyResources(this._versionLabel, "_versionLabel");
     this._versionLabel.BackColor = System.Drawing.Color.Black;
     this._versionLabel.ForeColor = System.Drawing.Color.White;
     this._versionLabel.Name      = "_versionLabel";
     //
     // _webBrowser
     //
     resources.ApplyResources(this._webBrowser, "_webBrowser");
     this._webBrowser.Name = "_webBrowser";
     //
     // _fadeTimer
     //
     this._fadeTimer.Interval = 70;
     this._fadeTimer.Tick    += new System.EventHandler(this.FadeTimerTick);
     //
     // AboutJanusForm
     //
     this.AcceptButton = this._okButton;
     this.BackColor    = System.Drawing.SystemColors.Control;
     this.CancelButton = this._okButton;
     resources.ApplyResources(this, "$this");
     this.Controls.Add(lytButtons);
     this.Controls.Add(this._webBrowser);
     this.Controls.Add(this._versionLabel);
     this.Controls.Add(this._titleLabel);
     this.Controls.Add(this._panelBlack);
     this.Name          = "AboutJanusForm";
     this.ShowInTaskbar = false;
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.AboutJanusForm_Closing);
     lytButtons.ResumeLayout(false);
     lytButtons.PerformLayout();
     this._panelBlack.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._janusPicture)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #41
0
		public void NoAutoSize_DontResizeIfSmaller_DockBottom ()
		{
			var panel = new FlowLayoutPanel ();
			panel.SuspendLayout ();
			panel.AutoSize = false;
			panel.WrapContents = true;
			panel.Bounds = new Rectangle(5, 5, 100, 100);
			panel.Dock = DockStyle.Bottom;

			var c = new Label ();
			c.Size = new Size (90, 25);
			panel.Controls.Add (c);
			f.Controls.Add(panel);
			panel.ResumeLayout (true);

			Assert.AreEqual (200, panel.Top, "1");
			Assert.AreEqual (f.ClientRectangle.Width, panel.Width, "2");
			Assert.AreEqual (100, panel.Height, "3");
		}
コード例 #42
0
        /// <summary>
        /// Required method for Designer support - do not modify
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.FlowLayoutPanel buttonsFlow;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShowSelectDialog));
            this.selectButton = new System.Windows.Forms.Button();
            this.closeButton = new System.Windows.Forms.Button();
            this.showList = new System.Windows.Forms.ListBox();
            buttonsFlow = new System.Windows.Forms.FlowLayoutPanel();
            buttonsFlow.SuspendLayout();
            this.SuspendLayout();
            // 
            // buttonsFlow
            // 
            buttonsFlow.Controls.Add(this.selectButton);
            buttonsFlow.Controls.Add(this.closeButton);
            buttonsFlow.Dock = System.Windows.Forms.DockStyle.Bottom;
            buttonsFlow.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            buttonsFlow.Location = new System.Drawing.Point(0, 312);
            buttonsFlow.Name = "buttonsFlow";
            buttonsFlow.Size = new System.Drawing.Size(221, 30);
            buttonsFlow.TabIndex = 1;
            // 
            // selectButton
            // 
            this.selectButton.Location = new System.Drawing.Point(143, 3);
            this.selectButton.Name = "selectButton";
            this.selectButton.Size = new System.Drawing.Size(75, 23);
            this.selectButton.TabIndex = 0;
            this.selectButton.Text = "Select";
            this.selectButton.UseVisualStyleBackColor = true;
            this.selectButton.Click += new System.EventHandler(this.SelectButtonClick);
            // 
            // closeButton
            // 
            this.closeButton.Location = new System.Drawing.Point(62, 3);
            this.closeButton.Name = "closeButton";
            this.closeButton.Size = new System.Drawing.Size(75, 23);
            this.closeButton.TabIndex = 1;
            this.closeButton.Text = "Close";
            this.closeButton.UseVisualStyleBackColor = true;
            this.closeButton.Click += new System.EventHandler(this.CloseButtonClick);
            // 
            // showList
            // 
            this.showList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.showList.FormattingEnabled = true;
            this.showList.Location = new System.Drawing.Point(0, 0);
            this.showList.Name = "showList";
            this.showList.Size = new System.Drawing.Size(221, 342);
            this.showList.TabIndex = 0;
            // 
            // ShowSelectDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(221, 342);
            this.Controls.Add(buttonsFlow);
            this.Controls.Add(this.showList);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "ShowSelectDialog";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Select Show";
            this.Load += new System.EventHandler(this.ShowSelectDialogLoad);
            buttonsFlow.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #43
0
        private void UpdateFlowPanel(FlowLayoutPanel flowPanel, string[] listOfValues)
        {
            flowPanel.SuspendLayout();
            flowPanel.Controls.Clear();

            if (listOfValues != null)
            {
                foreach (var s in listOfValues)
                {
                    var label = new Label();
                    label.AutoEllipsis = true;
                    if (flowPanel.Controls.Count != 0 && flowPanel.Controls[flowPanel.Controls.Count - 1].BackColor != _labelColor)
                        label.BackColor = _labelColor;
                    label.Size = new Size(flowPanel.ClientSize.Width - label.Margin.Horizontal, 17);
                    label.TabIndex = flowPanel.Controls.Count;
                    label.Text = s;
                    label.TextAlign = ContentAlignment.MiddleLeft;

                    flowPanel.Controls.Add(label);
                }
            }
            flowPanel.ResumeLayout();
        }
コード例 #44
0
ファイル: GuiConfigManager.cs プロジェクト: tojoevan/BGC-CW
 Panel CreateTabPanel(GuiLayout gl)
 {
     Panel pnl = new Panel();
     pnl.SuspendLayout();
     pnl.Dock = DockStyle.Fill;
     FlowLayoutPanel flp = new FlowLayoutPanel();
     flp.SuspendLayout();
     flp.Dock = DockStyle.Top;
     flp.FlowDirection = FlowDirection.LeftToRight;
     flp.Size = new Size(50, 50);
     flp.BackColor = Color.Aqua;
     foreach (GuiLayout subgl in gl.subLayouts)
     {
         Control ctl = null;
         if (subgl.type == GuiLayout.LayoutType.TabItem)
             ctl = CreateTabItem(subgl, flp);
         if (ctl != null)
             pnl.Controls.Add(ctl);
     }
     FillCommonLayoutParameters(gl, pnl);
     pnl.Controls.Add(flp);
     AddLayoutControl(gl.name + "-Title", flp);
     flp.ResumeLayout();
     pnl.BackColor = Color.Bisque;
     return pnl;
 }
コード例 #45
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.TableLayoutPanel mainTable;
            System.Windows.Forms.TableLayoutPanel tableDirectories;
            System.Windows.Forms.Label sourceLabel;
            System.Windows.Forms.Label destinationListLabel;
            System.Windows.Forms.FlowLayoutPanel destinationButtonsFlow;
            System.Windows.Forms.Label defaultDestinationLabel;
            System.Windows.Forms.GroupBox sortOptionsGroup;
            System.Windows.Forms.FlowLayoutPanel sortOptionsFlow;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Settings));
            System.Windows.Forms.GroupBox searchOptionsGroup;
            System.Windows.Forms.FlowLayoutPanel searchOptionsFlow;
            System.Windows.Forms.Button editOverwriteKeywordsButton;
            System.Windows.Forms.GroupBox formatOptionsGroup;
            System.Windows.Forms.TableLayoutPanel formatTable;
            System.Windows.Forms.Label formatLabel;
            System.Windows.Forms.FlowLayoutPanel flowBottomButtons;
            this.groupDirectories = new System.Windows.Forms.GroupBox();
            this.sourceText = new System.Windows.Forms.TextBox();
            this.sourceBrowse = new System.Windows.Forms.Button();
            this.destinationList = new System.Windows.Forms.ListBox();
            this.addDestinationButton = new System.Windows.Forms.Button();
            this.removeDestinationButton = new System.Windows.Forms.Button();
            this.defaultDestinationDirectory = new System.Windows.Forms.ComboBox();
            this.recurseSubdirectoriesCheck = new System.Windows.Forms.CheckBox();
            this.deleteEmptyCheck = new System.Windows.Forms.CheckBox();
            this.renameIfExistsCheck = new System.Windows.Forms.CheckBox();
            this.addUnmatchedShowsCheck = new System.Windows.Forms.CheckBox();
            this.unlockAndUpdateCheck = new System.Windows.Forms.CheckBox();
            this.lockShowWithNoNewEpisodesCheck = new System.Windows.Forms.CheckBox();
            this.regExButton = new System.Windows.Forms.Button();
            this.fileExtensionsButton = new System.Windows.Forms.Button();
            this.formatText = new System.Windows.Forms.TextBox();
            this.formatBuilderButton = new System.Windows.Forms.Button();
            this.revertButton = new System.Windows.Forms.Button();
            this.saveButton = new System.Windows.Forms.Button();
            this.folderDialog = new System.Windows.Forms.FolderBrowserDialog();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            this.label1 = new System.Windows.Forms.Label();
            this.ignoreList = new System.Windows.Forms.ListBox();
            this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
            this.addIgnore_btn = new System.Windows.Forms.Button();
            this.removeIgnore_btn = new System.Windows.Forms.Button();
            mainTable = new System.Windows.Forms.TableLayoutPanel();
            tableDirectories = new System.Windows.Forms.TableLayoutPanel();
            sourceLabel = new System.Windows.Forms.Label();
            destinationListLabel = new System.Windows.Forms.Label();
            destinationButtonsFlow = new System.Windows.Forms.FlowLayoutPanel();
            defaultDestinationLabel = new System.Windows.Forms.Label();
            sortOptionsGroup = new System.Windows.Forms.GroupBox();
            sortOptionsFlow = new System.Windows.Forms.FlowLayoutPanel();
            searchOptionsGroup = new System.Windows.Forms.GroupBox();
            searchOptionsFlow = new System.Windows.Forms.FlowLayoutPanel();
            editOverwriteKeywordsButton = new System.Windows.Forms.Button();
            formatOptionsGroup = new System.Windows.Forms.GroupBox();
            formatTable = new System.Windows.Forms.TableLayoutPanel();
            formatLabel = new System.Windows.Forms.Label();
            flowBottomButtons = new System.Windows.Forms.FlowLayoutPanel();
            mainTable.SuspendLayout();
            this.groupDirectories.SuspendLayout();
            tableDirectories.SuspendLayout();
            destinationButtonsFlow.SuspendLayout();
            sortOptionsGroup.SuspendLayout();
            sortOptionsFlow.SuspendLayout();
            searchOptionsGroup.SuspendLayout();
            searchOptionsFlow.SuspendLayout();
            formatOptionsGroup.SuspendLayout();
            formatTable.SuspendLayout();
            flowBottomButtons.SuspendLayout();
            this.flowLayoutPanel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // mainTable
            // 
            mainTable.ColumnCount = 1;
            mainTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            mainTable.Controls.Add(this.groupDirectories, 0, 0);
            mainTable.Controls.Add(sortOptionsGroup, 0, 2);
            mainTable.Controls.Add(searchOptionsGroup, 0, 3);
            mainTable.Controls.Add(formatOptionsGroup, 0, 1);
            mainTable.Controls.Add(flowBottomButtons, 0, 4);
            mainTable.Dock = System.Windows.Forms.DockStyle.Fill;
            mainTable.Location = new System.Drawing.Point(0, 0);
            mainTable.Name = "mainTable";
            mainTable.RowCount = 5;
            mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 54F));
            mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 95F));
            mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
            mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
            mainTable.Size = new System.Drawing.Size(637, 450);
            mainTable.TabIndex = 0;
            // 
            // groupDirectories
            // 
            this.groupDirectories.Controls.Add(tableDirectories);
            this.groupDirectories.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupDirectories.Location = new System.Drawing.Point(3, 3);
            this.groupDirectories.Name = "groupDirectories";
            this.groupDirectories.Size = new System.Drawing.Size(631, 199);
            this.groupDirectories.TabIndex = 0;
            this.groupDirectories.TabStop = false;
            this.groupDirectories.Text = "Directory Settings";
            // 
            // tableDirectories
            // 
            tableDirectories.ColumnCount = 3;
            tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F));
            tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 105F));
            tableDirectories.Controls.Add(sourceLabel, 0, 0);
            tableDirectories.Controls.Add(this.sourceText, 1, 0);
            tableDirectories.Controls.Add(this.sourceBrowse, 2, 0);
            tableDirectories.Controls.Add(destinationListLabel, 0, 1);
            tableDirectories.Controls.Add(this.destinationList, 1, 1);
            tableDirectories.Controls.Add(destinationButtonsFlow, 2, 1);
            tableDirectories.Controls.Add(defaultDestinationLabel, 0, 3);
            tableDirectories.Controls.Add(this.defaultDestinationDirectory, 1, 3);
            tableDirectories.Controls.Add(this.label1, 0, 2);
            tableDirectories.Controls.Add(this.ignoreList, 1, 2);
            tableDirectories.Controls.Add(this.flowLayoutPanel1, 2, 2);
            tableDirectories.Dock = System.Windows.Forms.DockStyle.Fill;
            tableDirectories.Location = new System.Drawing.Point(3, 16);
            tableDirectories.Name = "tableDirectories";
            tableDirectories.RowCount = 4;
            tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
            tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 71F));
            tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            tableDirectories.Size = new System.Drawing.Size(625, 180);
            tableDirectories.TabIndex = 0;
            // 
            // sourceLabel
            // 
            sourceLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            sourceLabel.AutoSize = true;
            sourceLabel.Location = new System.Drawing.Point(34, 6);
            sourceLabel.Name = "sourceLabel";
            sourceLabel.Size = new System.Drawing.Size(89, 13);
            sourceLabel.TabIndex = 0;
            sourceLabel.Text = "Source Directory:";
            // 
            // sourceText
            // 
            this.sourceText.Dock = System.Windows.Forms.DockStyle.Fill;
            this.sourceText.Location = new System.Drawing.Point(129, 3);
            this.sourceText.Name = "sourceText";
            this.sourceText.ReadOnly = true;
            this.sourceText.Size = new System.Drawing.Size(388, 20);
            this.sourceText.TabIndex = 1;
            this.toolTip.SetToolTip(this.sourceText, "The source directory to search for TV Show files.");
            // 
            // sourceBrowse
            // 
            this.sourceBrowse.Dock = System.Windows.Forms.DockStyle.Fill;
            this.sourceBrowse.Location = new System.Drawing.Point(523, 3);
            this.sourceBrowse.Name = "sourceBrowse";
            this.sourceBrowse.Size = new System.Drawing.Size(99, 20);
            this.sourceBrowse.TabIndex = 2;
            this.sourceBrowse.Text = "Browse";
            this.sourceBrowse.UseVisualStyleBackColor = true;
            this.sourceBrowse.Click += new System.EventHandler(this.SourceBrowseClick);
            // 
            // destinationListLabel
            // 
            destinationListLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            destinationListLabel.AutoSize = true;
            destinationListLabel.Location = new System.Drawing.Point(7, 51);
            destinationListLabel.Name = "destinationListLabel";
            destinationListLabel.Size = new System.Drawing.Size(116, 13);
            destinationListLabel.TabIndex = 5;
            destinationListLabel.Text = "Destination Directories:";
            // 
            // destinationList
            // 
            this.destinationList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.destinationList.FormattingEnabled = true;
            this.destinationList.Location = new System.Drawing.Point(129, 29);
            this.destinationList.Name = "destinationList";
            this.destinationList.Size = new System.Drawing.Size(388, 57);
            this.destinationList.TabIndex = 6;
            this.toolTip.SetToolTip(this.destinationList, "All the directories where TV Shows are stored. Only the selected one will have TV" +
        " moved to it but all will be used in Missing and Duplicate episode searches.");
            // 
            // destinationButtonsFlow
            // 
            destinationButtonsFlow.Controls.Add(this.addDestinationButton);
            destinationButtonsFlow.Controls.Add(this.removeDestinationButton);
            destinationButtonsFlow.Dock = System.Windows.Forms.DockStyle.Fill;
            destinationButtonsFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            destinationButtonsFlow.Location = new System.Drawing.Point(520, 26);
            destinationButtonsFlow.Margin = new System.Windows.Forms.Padding(0);
            destinationButtonsFlow.Name = "destinationButtonsFlow";
            destinationButtonsFlow.Size = new System.Drawing.Size(105, 63);
            destinationButtonsFlow.TabIndex = 7;
            // 
            // addDestinationButton
            // 
            this.addDestinationButton.Location = new System.Drawing.Point(3, 3);
            this.addDestinationButton.Name = "addDestinationButton";
            this.addDestinationButton.Size = new System.Drawing.Size(99, 23);
            this.addDestinationButton.TabIndex = 0;
            this.addDestinationButton.Text = "Add";
            this.addDestinationButton.UseVisualStyleBackColor = true;
            this.addDestinationButton.Click += new System.EventHandler(this.AddDestinationButtonClick);
            // 
            // removeDestinationButton
            // 
            this.removeDestinationButton.Location = new System.Drawing.Point(3, 32);
            this.removeDestinationButton.Name = "removeDestinationButton";
            this.removeDestinationButton.Size = new System.Drawing.Size(99, 23);
            this.removeDestinationButton.TabIndex = 1;
            this.removeDestinationButton.Text = "Remove";
            this.removeDestinationButton.UseVisualStyleBackColor = true;
            this.removeDestinationButton.Click += new System.EventHandler(this.RemoveDestinationButtonClick);
            // 
            // defaultDestinationLabel
            // 
            defaultDestinationLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            defaultDestinationLabel.AutoSize = true;
            defaultDestinationLabel.Location = new System.Drawing.Point(23, 163);
            defaultDestinationLabel.Name = "defaultDestinationLabel";
            defaultDestinationLabel.Size = new System.Drawing.Size(100, 13);
            defaultDestinationLabel.TabIndex = 8;
            defaultDestinationLabel.Text = "Default Destination:";
            // 
            // defaultDestinationDirectory
            // 
            this.defaultDestinationDirectory.Dock = System.Windows.Forms.DockStyle.Fill;
            this.defaultDestinationDirectory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.defaultDestinationDirectory.FormattingEnabled = true;
            this.defaultDestinationDirectory.Location = new System.Drawing.Point(129, 163);
            this.defaultDestinationDirectory.Name = "defaultDestinationDirectory";
            this.defaultDestinationDirectory.Size = new System.Drawing.Size(388, 21);
            this.defaultDestinationDirectory.TabIndex = 9;
            // 
            // sortOptionsGroup
            // 
            sortOptionsGroup.Controls.Add(sortOptionsFlow);
            sortOptionsGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            sortOptionsGroup.Location = new System.Drawing.Point(3, 262);
            sortOptionsGroup.Name = "sortOptionsGroup";
            sortOptionsGroup.Size = new System.Drawing.Size(631, 89);
            sortOptionsGroup.TabIndex = 1;
            sortOptionsGroup.TabStop = false;
            sortOptionsGroup.Text = "Sort Options";
            // 
            // sortOptionsFlow
            // 
            sortOptionsFlow.Controls.Add(this.recurseSubdirectoriesCheck);
            sortOptionsFlow.Controls.Add(this.deleteEmptyCheck);
            sortOptionsFlow.Controls.Add(this.renameIfExistsCheck);
            sortOptionsFlow.Controls.Add(this.addUnmatchedShowsCheck);
            sortOptionsFlow.Controls.Add(this.unlockAndUpdateCheck);
            sortOptionsFlow.Controls.Add(this.lockShowWithNoNewEpisodesCheck);
            sortOptionsFlow.Dock = System.Windows.Forms.DockStyle.Fill;
            sortOptionsFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            sortOptionsFlow.Location = new System.Drawing.Point(3, 16);
            sortOptionsFlow.Name = "sortOptionsFlow";
            sortOptionsFlow.Size = new System.Drawing.Size(625, 70);
            sortOptionsFlow.TabIndex = 0;
            // 
            // recurseSubdirectoriesCheck
            // 
            this.recurseSubdirectoriesCheck.AutoSize = true;
            this.recurseSubdirectoriesCheck.Location = new System.Drawing.Point(3, 3);
            this.recurseSubdirectoriesCheck.Name = "recurseSubdirectoriesCheck";
            this.recurseSubdirectoriesCheck.Size = new System.Drawing.Size(136, 17);
            this.recurseSubdirectoriesCheck.TabIndex = 0;
            this.recurseSubdirectoriesCheck.Text = "Recurse Subdirectories";
            this.toolTip.SetToolTip(this.recurseSubdirectoriesCheck, "When selected, this option will search the subdirectories of the source directory" +
        " as well.");
            this.recurseSubdirectoriesCheck.UseVisualStyleBackColor = true;
            // 
            // deleteEmptyCheck
            // 
            this.deleteEmptyCheck.AutoSize = true;
            this.deleteEmptyCheck.Location = new System.Drawing.Point(3, 26);
            this.deleteEmptyCheck.Name = "deleteEmptyCheck";
            this.deleteEmptyCheck.Size = new System.Drawing.Size(159, 17);
            this.deleteEmptyCheck.TabIndex = 1;
            this.deleteEmptyCheck.Text = "Delete Empty Subdirectories";
            this.toolTip.SetToolTip(this.deleteEmptyCheck, "When selected, this option will delete subdirectories of Source Directory after f" +
        "iles have been moved out of them if this leaves the directory empty.");
            this.deleteEmptyCheck.UseVisualStyleBackColor = true;
            // 
            // renameIfExistsCheck
            // 
            this.renameIfExistsCheck.AutoSize = true;
            this.renameIfExistsCheck.Location = new System.Drawing.Point(3, 49);
            this.renameIfExistsCheck.Name = "renameIfExistsCheck";
            this.renameIfExistsCheck.Size = new System.Drawing.Size(213, 17);
            this.renameIfExistsCheck.TabIndex = 2;
            this.renameIfExistsCheck.Text = "Rename if Episode Exists at Destination";
            this.toolTip.SetToolTip(this.renameIfExistsCheck, "When selected, this option will search the destination directoy for the episode b" +
        "eing processed and renamed the copy there if it exists with a different name.");
            this.renameIfExistsCheck.UseVisualStyleBackColor = true;
            // 
            // addUnmatchedShowsCheck
            // 
            this.addUnmatchedShowsCheck.AutoSize = true;
            this.addUnmatchedShowsCheck.Location = new System.Drawing.Point(222, 3);
            this.addUnmatchedShowsCheck.Name = "addUnmatchedShowsCheck";
            this.addUnmatchedShowsCheck.Size = new System.Drawing.Size(203, 17);
            this.addUnmatchedShowsCheck.TabIndex = 3;
            this.addUnmatchedShowsCheck.Text = "Add Unmatched Shows Automatically";
            this.toolTip.SetToolTip(this.addUnmatchedShowsCheck, resources.GetString("addUnmatchedShowsCheck.ToolTip"));
            this.addUnmatchedShowsCheck.UseVisualStyleBackColor = true;
            // 
            // unlockAndUpdateCheck
            // 
            this.unlockAndUpdateCheck.AutoSize = true;
            this.unlockAndUpdateCheck.Location = new System.Drawing.Point(222, 26);
            this.unlockAndUpdateCheck.Name = "unlockAndUpdateCheck";
            this.unlockAndUpdateCheck.Size = new System.Drawing.Size(202, 17);
            this.unlockAndUpdateCheck.TabIndex = 4;
            this.unlockAndUpdateCheck.Text = "Unlock and Update Locked Matches";
            this.toolTip.SetToolTip(this.unlockAndUpdateCheck, "When selected, this option will unlock any shows that are locked and update them " +
        "if a match is found.");
            this.unlockAndUpdateCheck.UseVisualStyleBackColor = true;
            // 
            // lockShowWithNoNewEpisodesCheck
            // 
            this.lockShowWithNoNewEpisodesCheck.AutoSize = true;
            this.lockShowWithNoNewEpisodesCheck.Location = new System.Drawing.Point(222, 49);
            this.lockShowWithNoNewEpisodesCheck.Name = "lockShowWithNoNewEpisodesCheck";
            this.lockShowWithNoNewEpisodesCheck.Size = new System.Drawing.Size(264, 17);
            this.lockShowWithNoNewEpisodesCheck.TabIndex = 5;
            this.lockShowWithNoNewEpisodesCheck.Text = "Lock Show After 3 Weeks With No New Episodes\r\n";
            this.toolTip.SetToolTip(this.lockShowWithNoNewEpisodesCheck, "When selected, during an update, if the show hasn\'t \r\nhad any new episodes for 3 " +
        "weeks, the show will be\r\nlocked and skipped in future updates.");
            this.lockShowWithNoNewEpisodesCheck.UseVisualStyleBackColor = true;
            // 
            // searchOptionsGroup
            // 
            searchOptionsGroup.Controls.Add(searchOptionsFlow);
            searchOptionsGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            searchOptionsGroup.Location = new System.Drawing.Point(3, 357);
            searchOptionsGroup.Name = "searchOptionsGroup";
            searchOptionsGroup.Size = new System.Drawing.Size(631, 50);
            searchOptionsGroup.TabIndex = 2;
            searchOptionsGroup.TabStop = false;
            searchOptionsGroup.Text = "Search Options";
            // 
            // searchOptionsFlow
            // 
            searchOptionsFlow.Controls.Add(this.regExButton);
            searchOptionsFlow.Controls.Add(this.fileExtensionsButton);
            searchOptionsFlow.Controls.Add(editOverwriteKeywordsButton);
            searchOptionsFlow.Dock = System.Windows.Forms.DockStyle.Fill;
            searchOptionsFlow.Location = new System.Drawing.Point(3, 16);
            searchOptionsFlow.Name = "searchOptionsFlow";
            searchOptionsFlow.Size = new System.Drawing.Size(625, 31);
            searchOptionsFlow.TabIndex = 0;
            // 
            // regExButton
            // 
            this.regExButton.Location = new System.Drawing.Point(3, 3);
            this.regExButton.Name = "regExButton";
            this.regExButton.Size = new System.Drawing.Size(136, 23);
            this.regExButton.TabIndex = 0;
            this.regExButton.Text = "Edit Regular Expressions";
            this.toolTip.SetToolTip(this.regExButton, "Edit the regular expressions used for searching.\r\nSee http://code.google.com/p/tv" +
        "sorter for more\r\ninformation.");
            this.regExButton.UseVisualStyleBackColor = true;
            this.regExButton.Click += new System.EventHandler(this.RegExButtonClick);
            // 
            // fileExtensionsButton
            // 
            this.fileExtensionsButton.Location = new System.Drawing.Point(145, 3);
            this.fileExtensionsButton.Name = "fileExtensionsButton";
            this.fileExtensionsButton.Size = new System.Drawing.Size(136, 23);
            this.fileExtensionsButton.TabIndex = 1;
            this.fileExtensionsButton.Text = "Edit File Extensions";
            this.toolTip.SetToolTip(this.fileExtensionsButton, "Edit the file extensions that are searched.");
            this.fileExtensionsButton.UseVisualStyleBackColor = true;
            this.fileExtensionsButton.Click += new System.EventHandler(this.FileExtensionsButtonClick);
            // 
            // editOverwriteKeywordsButton
            // 
            editOverwriteKeywordsButton.Location = new System.Drawing.Point(287, 3);
            editOverwriteKeywordsButton.Name = "editOverwriteKeywordsButton";
            editOverwriteKeywordsButton.Size = new System.Drawing.Size(146, 23);
            editOverwriteKeywordsButton.TabIndex = 2;
            editOverwriteKeywordsButton.Text = "Edit Overwrite Keywords";
            this.toolTip.SetToolTip(editOverwriteKeywordsButton, resources.GetString("editOverwriteKeywordsButton.ToolTip"));
            editOverwriteKeywordsButton.UseVisualStyleBackColor = true;
            editOverwriteKeywordsButton.Click += new System.EventHandler(this.EditOverwriteKeywordsButtonClick);
            // 
            // formatOptionsGroup
            // 
            formatOptionsGroup.Controls.Add(formatTable);
            formatOptionsGroup.Dock = System.Windows.Forms.DockStyle.Fill;
            formatOptionsGroup.Location = new System.Drawing.Point(3, 208);
            formatOptionsGroup.Name = "formatOptionsGroup";
            formatOptionsGroup.Size = new System.Drawing.Size(631, 48);
            formatOptionsGroup.TabIndex = 3;
            formatOptionsGroup.TabStop = false;
            formatOptionsGroup.Text = "Format Options";
            // 
            // formatTable
            // 
            formatTable.ColumnCount = 3;
            formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F));
            formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 105F));
            formatTable.Controls.Add(formatLabel, 0, 0);
            formatTable.Controls.Add(this.formatText, 1, 0);
            formatTable.Controls.Add(this.formatBuilderButton, 2, 0);
            formatTable.Dock = System.Windows.Forms.DockStyle.Fill;
            formatTable.Location = new System.Drawing.Point(3, 16);
            formatTable.Name = "formatTable";
            formatTable.RowCount = 1;
            formatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            formatTable.Size = new System.Drawing.Size(625, 29);
            formatTable.TabIndex = 0;
            // 
            // formatLabel
            // 
            formatLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
            formatLabel.AutoSize = true;
            formatLabel.Location = new System.Drawing.Point(46, 8);
            formatLabel.Name = "formatLabel";
            formatLabel.Size = new System.Drawing.Size(77, 13);
            formatLabel.TabIndex = 0;
            formatLabel.Text = "Output Format:";
            // 
            // formatText
            // 
            this.formatText.Dock = System.Windows.Forms.DockStyle.Fill;
            this.formatText.Location = new System.Drawing.Point(129, 3);
            this.formatText.Name = "formatText";
            this.formatText.Size = new System.Drawing.Size(388, 20);
            this.formatText.TabIndex = 1;
            this.toolTip.SetToolTip(this.formatText, "The formatting string used to set the output path for an episode. This setting ca" +
        "n be overriden on a per show basis.");
            // 
            // formatBuilderButton
            // 
            this.formatBuilderButton.Dock = System.Windows.Forms.DockStyle.Top;
            this.formatBuilderButton.Location = new System.Drawing.Point(523, 3);
            this.formatBuilderButton.Name = "formatBuilderButton";
            this.formatBuilderButton.Size = new System.Drawing.Size(99, 23);
            this.formatBuilderButton.TabIndex = 2;
            this.formatBuilderButton.Text = "Format Builder";
            this.formatBuilderButton.UseVisualStyleBackColor = true;
            this.formatBuilderButton.Click += new System.EventHandler(this.FormatBuilderButtonClick);
            // 
            // flowBottomButtons
            // 
            flowBottomButtons.Controls.Add(this.revertButton);
            flowBottomButtons.Controls.Add(this.saveButton);
            flowBottomButtons.Dock = System.Windows.Forms.DockStyle.Fill;
            flowBottomButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
            flowBottomButtons.Location = new System.Drawing.Point(3, 413);
            flowBottomButtons.Name = "flowBottomButtons";
            flowBottomButtons.Size = new System.Drawing.Size(631, 34);
            flowBottomButtons.TabIndex = 4;
            // 
            // revertButton
            // 
            this.revertButton.Location = new System.Drawing.Point(553, 3);
            this.revertButton.Name = "revertButton";
            this.revertButton.Size = new System.Drawing.Size(75, 23);
            this.revertButton.TabIndex = 0;
            this.revertButton.Text = "Revert";
            this.revertButton.UseVisualStyleBackColor = true;
            this.revertButton.Click += new System.EventHandler(this.RevertButtonClick);
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(472, 3);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(75, 23);
            this.saveButton.TabIndex = 1;
            this.saveButton.Text = "Save";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
            // 
            // label1
            // 
            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(43, 118);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(80, 13);
            this.label1.TabIndex = 10;
            this.label1.Text = "Ignored folders:";
            // 
            // ignoreList
            // 
            this.ignoreList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ignoreList.FormattingEnabled = true;
            this.ignoreList.Location = new System.Drawing.Point(129, 92);
            this.ignoreList.Name = "ignoreList";
            this.ignoreList.Size = new System.Drawing.Size(388, 65);
            this.ignoreList.TabIndex = 11;
            // 
            // flowLayoutPanel1
            // 
            this.flowLayoutPanel1.Controls.Add(this.addIgnore_btn);
            this.flowLayoutPanel1.Controls.Add(this.removeIgnore_btn);
            this.flowLayoutPanel1.Location = new System.Drawing.Point(523, 92);
            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
            this.flowLayoutPanel1.Size = new System.Drawing.Size(99, 65);
            this.flowLayoutPanel1.TabIndex = 12;
            // 
            // addIgnore_btn
            // 
            this.addIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.addIgnore_btn.Location = new System.Drawing.Point(3, 3);
            this.addIgnore_btn.Name = "addIgnore_btn";
            this.addIgnore_btn.Size = new System.Drawing.Size(96, 23);
            this.addIgnore_btn.TabIndex = 0;
            this.addIgnore_btn.Text = "Add";
            this.addIgnore_btn.UseVisualStyleBackColor = true;
            this.addIgnore_btn.Click += new System.EventHandler(this.addIgnore_btn_Click);
            // 
            // removeIgnore_btn
            // 
            this.removeIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.removeIgnore_btn.Location = new System.Drawing.Point(3, 32);
            this.removeIgnore_btn.Name = "removeIgnore_btn";
            this.removeIgnore_btn.Size = new System.Drawing.Size(96, 23);
            this.removeIgnore_btn.TabIndex = 1;
            this.removeIgnore_btn.Text = "Remove";
            this.removeIgnore_btn.UseVisualStyleBackColor = true;
            this.removeIgnore_btn.Click += new System.EventHandler(this.removeIgnore_btn_Click);
            // 
            // Settings
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(mainTable);
            this.Name = "Settings";
            this.Size = new System.Drawing.Size(637, 450);
            this.Load += new System.EventHandler(this.SettingsLoad);
            mainTable.ResumeLayout(false);
            this.groupDirectories.ResumeLayout(false);
            tableDirectories.ResumeLayout(false);
            tableDirectories.PerformLayout();
            destinationButtonsFlow.ResumeLayout(false);
            sortOptionsGroup.ResumeLayout(false);
            sortOptionsFlow.ResumeLayout(false);
            sortOptionsFlow.PerformLayout();
            searchOptionsGroup.ResumeLayout(false);
            searchOptionsFlow.ResumeLayout(false);
            formatOptionsGroup.ResumeLayout(false);
            formatTable.ResumeLayout(false);
            formatTable.PerformLayout();
            flowBottomButtons.ResumeLayout(false);
            this.flowLayoutPanel1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #46
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.Windows.Forms.TableLayoutPanel          mainTable;
     System.Windows.Forms.TableLayoutPanel          tableDirectories;
     System.Windows.Forms.Label                     sourceLabel;
     System.Windows.Forms.Label                     destinationListLabel;
     System.Windows.Forms.FlowLayoutPanel           destinationButtonsFlow;
     System.Windows.Forms.Label                     defaultDestinationLabel;
     System.Windows.Forms.GroupBox                  sortOptionsGroup;
     System.Windows.Forms.FlowLayoutPanel           sortOptionsFlow;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Settings));
     System.Windows.Forms.GroupBox                  searchOptionsGroup;
     System.Windows.Forms.FlowLayoutPanel           searchOptionsFlow;
     System.Windows.Forms.Button                    editOverwriteKeywordsButton;
     System.Windows.Forms.GroupBox                  formatOptionsGroup;
     System.Windows.Forms.TableLayoutPanel          formatTable;
     System.Windows.Forms.Label                     formatLabel;
     System.Windows.Forms.FlowLayoutPanel           flowBottomButtons;
     this.groupDirectories            = new System.Windows.Forms.GroupBox();
     this.sourceText                  = new System.Windows.Forms.TextBox();
     this.sourceBrowse                = new System.Windows.Forms.Button();
     this.destinationList             = new System.Windows.Forms.ListBox();
     this.addDestinationButton        = new System.Windows.Forms.Button();
     this.removeDestinationButton     = new System.Windows.Forms.Button();
     this.defaultDestinationDirectory = new System.Windows.Forms.ComboBox();
     this.label1                         = new System.Windows.Forms.Label();
     this.flowLayoutPanel1               = new System.Windows.Forms.FlowLayoutPanel();
     this.addIgnore_btn                  = new System.Windows.Forms.Button();
     this.removeIgnore_btn               = new System.Windows.Forms.Button();
     this.ignoreList                     = new System.Windows.Forms.ListBox();
     this.recurseSubdirectoriesCheck     = new System.Windows.Forms.CheckBox();
     this.deleteEmptyCheck               = new System.Windows.Forms.CheckBox();
     this.renameIfExistsCheck            = new System.Windows.Forms.CheckBox();
     this.addUnmatchedShowsCheck         = new System.Windows.Forms.CheckBox();
     this.unlockAndUpdateCheck           = new System.Windows.Forms.CheckBox();
     this.lockShowWithNoNewEpisodesCheck = new System.Windows.Forms.CheckBox();
     this.regExButton                    = new System.Windows.Forms.Button();
     this.fileExtensionsButton           = new System.Windows.Forms.Button();
     this.formatText                     = new System.Windows.Forms.TextBox();
     this.formatBuilderButton            = new System.Windows.Forms.Button();
     this.revertButton                   = new System.Windows.Forms.Button();
     this.saveButton                     = new System.Windows.Forms.Button();
     this.folderDialog                   = new System.Windows.Forms.FolderBrowserDialog();
     this.toolTip                        = new System.Windows.Forms.ToolTip(this.components);
     mainTable                   = new System.Windows.Forms.TableLayoutPanel();
     tableDirectories            = new System.Windows.Forms.TableLayoutPanel();
     sourceLabel                 = new System.Windows.Forms.Label();
     destinationListLabel        = new System.Windows.Forms.Label();
     destinationButtonsFlow      = new System.Windows.Forms.FlowLayoutPanel();
     defaultDestinationLabel     = new System.Windows.Forms.Label();
     sortOptionsGroup            = new System.Windows.Forms.GroupBox();
     sortOptionsFlow             = new System.Windows.Forms.FlowLayoutPanel();
     searchOptionsGroup          = new System.Windows.Forms.GroupBox();
     searchOptionsFlow           = new System.Windows.Forms.FlowLayoutPanel();
     editOverwriteKeywordsButton = new System.Windows.Forms.Button();
     formatOptionsGroup          = new System.Windows.Forms.GroupBox();
     formatTable                 = new System.Windows.Forms.TableLayoutPanel();
     formatLabel                 = new System.Windows.Forms.Label();
     flowBottomButtons           = new System.Windows.Forms.FlowLayoutPanel();
     mainTable.SuspendLayout();
     this.groupDirectories.SuspendLayout();
     tableDirectories.SuspendLayout();
     destinationButtonsFlow.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     sortOptionsGroup.SuspendLayout();
     sortOptionsFlow.SuspendLayout();
     searchOptionsGroup.SuspendLayout();
     searchOptionsFlow.SuspendLayout();
     formatOptionsGroup.SuspendLayout();
     formatTable.SuspendLayout();
     flowBottomButtons.SuspendLayout();
     this.SuspendLayout();
     //
     // mainTable
     //
     mainTable.ColumnCount = 1;
     mainTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     mainTable.Controls.Add(this.groupDirectories, 0, 0);
     mainTable.Controls.Add(sortOptionsGroup, 0, 2);
     mainTable.Controls.Add(searchOptionsGroup, 0, 3);
     mainTable.Controls.Add(formatOptionsGroup, 0, 1);
     mainTable.Controls.Add(flowBottomButtons, 0, 4);
     mainTable.Dock     = System.Windows.Forms.DockStyle.Fill;
     mainTable.Location = new System.Drawing.Point(0, 0);
     mainTable.Name     = "mainTable";
     mainTable.RowCount = 5;
     mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 54F));
     mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 95F));
     mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
     mainTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
     mainTable.Size     = new System.Drawing.Size(734, 652);
     mainTable.TabIndex = 0;
     //
     // groupDirectories
     //
     this.groupDirectories.AutoSize     = true;
     this.groupDirectories.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.groupDirectories.Controls.Add(tableDirectories);
     this.groupDirectories.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupDirectories.Location = new System.Drawing.Point(3, 3);
     this.groupDirectories.Name     = "groupDirectories";
     this.groupDirectories.Size     = new System.Drawing.Size(728, 401);
     this.groupDirectories.TabIndex = 0;
     this.groupDirectories.TabStop  = false;
     this.groupDirectories.Text     = "Directory Settings";
     //
     // tableDirectories
     //
     tableDirectories.AutoSize     = true;
     tableDirectories.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     tableDirectories.ColumnCount  = 3;
     tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F));
     tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     tableDirectories.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 105F));
     tableDirectories.Controls.Add(sourceLabel, 0, 0);
     tableDirectories.Controls.Add(this.sourceText, 1, 0);
     tableDirectories.Controls.Add(this.sourceBrowse, 2, 0);
     tableDirectories.Controls.Add(destinationListLabel, 0, 1);
     tableDirectories.Controls.Add(this.destinationList, 1, 1);
     tableDirectories.Controls.Add(destinationButtonsFlow, 2, 1);
     tableDirectories.Controls.Add(this.defaultDestinationDirectory, 1, 3);
     tableDirectories.Controls.Add(this.label1, 0, 2);
     tableDirectories.Controls.Add(this.flowLayoutPanel1, 2, 2);
     tableDirectories.Controls.Add(this.ignoreList, 1, 2);
     tableDirectories.Controls.Add(defaultDestinationLabel, 0, 3);
     tableDirectories.Dock     = System.Windows.Forms.DockStyle.Fill;
     tableDirectories.Location = new System.Drawing.Point(3, 16);
     tableDirectories.Name     = "tableDirectories";
     tableDirectories.RowCount = 4;
     tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle());
     tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     tableDirectories.RowStyles.Add(new System.Windows.Forms.RowStyle());
     tableDirectories.Size     = new System.Drawing.Size(722, 382);
     tableDirectories.TabIndex = 0;
     //
     // sourceLabel
     //
     sourceLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     sourceLabel.AutoSize = true;
     sourceLabel.Location = new System.Drawing.Point(34, 6);
     sourceLabel.Name     = "sourceLabel";
     sourceLabel.Size     = new System.Drawing.Size(89, 13);
     sourceLabel.TabIndex = 0;
     sourceLabel.Text     = "Source Directory:";
     //
     // sourceText
     //
     this.sourceText.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.sourceText.Location = new System.Drawing.Point(129, 3);
     this.sourceText.Name     = "sourceText";
     this.sourceText.ReadOnly = true;
     this.sourceText.Size     = new System.Drawing.Size(485, 20);
     this.sourceText.TabIndex = 1;
     this.toolTip.SetToolTip(this.sourceText, "The source directory to search for TV Show files.");
     //
     // sourceBrowse
     //
     this.sourceBrowse.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.sourceBrowse.Location = new System.Drawing.Point(620, 3);
     this.sourceBrowse.Name     = "sourceBrowse";
     this.sourceBrowse.Size     = new System.Drawing.Size(99, 20);
     this.sourceBrowse.TabIndex = 2;
     this.sourceBrowse.Text     = "Browse";
     this.sourceBrowse.UseVisualStyleBackColor = true;
     this.sourceBrowse.Click += new System.EventHandler(this.SourceBrowseClick);
     //
     // destinationListLabel
     //
     destinationListLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     destinationListLabel.AutoSize = true;
     destinationListLabel.Location = new System.Drawing.Point(7, 101);
     destinationListLabel.Name     = "destinationListLabel";
     destinationListLabel.Size     = new System.Drawing.Size(116, 13);
     destinationListLabel.TabIndex = 5;
     destinationListLabel.Text     = "Destination Directories:";
     //
     // destinationList
     //
     this.destinationList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.destinationList.FormattingEnabled = true;
     this.destinationList.Location          = new System.Drawing.Point(129, 29);
     this.destinationList.Name     = "destinationList";
     this.destinationList.Size     = new System.Drawing.Size(485, 158);
     this.destinationList.TabIndex = 6;
     this.toolTip.SetToolTip(this.destinationList, "All the directories where TV Shows are stored. Only the selected one will have TV" +
                             " moved to it but all will be used in Missing and Duplicate episode searches.");
     //
     // destinationButtonsFlow
     //
     destinationButtonsFlow.AutoSize     = true;
     destinationButtonsFlow.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     destinationButtonsFlow.Controls.Add(this.addDestinationButton);
     destinationButtonsFlow.Controls.Add(this.removeDestinationButton);
     destinationButtonsFlow.Dock          = System.Windows.Forms.DockStyle.Fill;
     destinationButtonsFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     destinationButtonsFlow.Location      = new System.Drawing.Point(617, 26);
     destinationButtonsFlow.Margin        = new System.Windows.Forms.Padding(0);
     destinationButtonsFlow.Name          = "destinationButtonsFlow";
     destinationButtonsFlow.Size          = new System.Drawing.Size(105, 164);
     destinationButtonsFlow.TabIndex      = 7;
     //
     // addDestinationButton
     //
     this.addDestinationButton.Location = new System.Drawing.Point(3, 3);
     this.addDestinationButton.Name     = "addDestinationButton";
     this.addDestinationButton.Size     = new System.Drawing.Size(99, 23);
     this.addDestinationButton.TabIndex = 0;
     this.addDestinationButton.Text     = "Add";
     this.addDestinationButton.UseVisualStyleBackColor = true;
     this.addDestinationButton.Click += new System.EventHandler(this.AddDestinationButtonClick);
     //
     // removeDestinationButton
     //
     this.removeDestinationButton.Location = new System.Drawing.Point(3, 32);
     this.removeDestinationButton.Name     = "removeDestinationButton";
     this.removeDestinationButton.Size     = new System.Drawing.Size(99, 23);
     this.removeDestinationButton.TabIndex = 1;
     this.removeDestinationButton.Text     = "Remove";
     this.removeDestinationButton.UseVisualStyleBackColor = true;
     this.removeDestinationButton.Click += new System.EventHandler(this.RemoveDestinationButtonClick);
     //
     // defaultDestinationDirectory
     //
     this.defaultDestinationDirectory.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.defaultDestinationDirectory.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.defaultDestinationDirectory.FormattingEnabled = true;
     this.defaultDestinationDirectory.Location          = new System.Drawing.Point(129, 357);
     this.defaultDestinationDirectory.Name              = "defaultDestinationDirectory";
     this.defaultDestinationDirectory.Size              = new System.Drawing.Size(485, 21);
     this.defaultDestinationDirectory.TabIndex          = 9;
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(43, 265);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 13);
     this.label1.TabIndex = 10;
     this.label1.Text     = "Ignored folders:";
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.AutoSize     = true;
     this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.flowLayoutPanel1.Controls.Add(this.addIgnore_btn);
     this.flowLayoutPanel1.Controls.Add(this.removeIgnore_btn);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(617, 190);
     this.flowLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(105, 164);
     this.flowLayoutPanel1.TabIndex = 12;
     //
     // addIgnore_btn
     //
     this.addIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.addIgnore_btn.Location = new System.Drawing.Point(3, 3);
     this.addIgnore_btn.Name     = "addIgnore_btn";
     this.addIgnore_btn.Size     = new System.Drawing.Size(96, 23);
     this.addIgnore_btn.TabIndex = 0;
     this.addIgnore_btn.Text     = "Add";
     this.addIgnore_btn.UseVisualStyleBackColor = true;
     this.addIgnore_btn.Click += new System.EventHandler(this.AddIgnoreButtonClick);
     //
     // removeIgnore_btn
     //
     this.removeIgnore_btn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.removeIgnore_btn.Location = new System.Drawing.Point(3, 32);
     this.removeIgnore_btn.Name     = "removeIgnore_btn";
     this.removeIgnore_btn.Size     = new System.Drawing.Size(96, 23);
     this.removeIgnore_btn.TabIndex = 1;
     this.removeIgnore_btn.Text     = "Remove";
     this.removeIgnore_btn.UseVisualStyleBackColor = true;
     this.removeIgnore_btn.Click += new System.EventHandler(this.RemoveIgnoreButtonClick);
     //
     // ignoreList
     //
     this.ignoreList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ignoreList.FormattingEnabled = true;
     this.ignoreList.Location          = new System.Drawing.Point(129, 193);
     this.ignoreList.Name     = "ignoreList";
     this.ignoreList.Size     = new System.Drawing.Size(485, 158);
     this.ignoreList.TabIndex = 11;
     //
     // defaultDestinationLabel
     //
     defaultDestinationLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     defaultDestinationLabel.AutoSize = true;
     defaultDestinationLabel.Location = new System.Drawing.Point(23, 361);
     defaultDestinationLabel.Name     = "defaultDestinationLabel";
     defaultDestinationLabel.Size     = new System.Drawing.Size(100, 13);
     defaultDestinationLabel.TabIndex = 8;
     defaultDestinationLabel.Text     = "Default Destination:";
     //
     // sortOptionsGroup
     //
     sortOptionsGroup.Controls.Add(sortOptionsFlow);
     sortOptionsGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     sortOptionsGroup.Location = new System.Drawing.Point(3, 464);
     sortOptionsGroup.Name     = "sortOptionsGroup";
     sortOptionsGroup.Size     = new System.Drawing.Size(728, 89);
     sortOptionsGroup.TabIndex = 1;
     sortOptionsGroup.TabStop  = false;
     sortOptionsGroup.Text     = "Sort Options";
     //
     // sortOptionsFlow
     //
     sortOptionsFlow.Controls.Add(this.recurseSubdirectoriesCheck);
     sortOptionsFlow.Controls.Add(this.deleteEmptyCheck);
     sortOptionsFlow.Controls.Add(this.renameIfExistsCheck);
     sortOptionsFlow.Controls.Add(this.addUnmatchedShowsCheck);
     sortOptionsFlow.Controls.Add(this.unlockAndUpdateCheck);
     sortOptionsFlow.Controls.Add(this.lockShowWithNoNewEpisodesCheck);
     sortOptionsFlow.Dock          = System.Windows.Forms.DockStyle.Fill;
     sortOptionsFlow.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     sortOptionsFlow.Location      = new System.Drawing.Point(3, 16);
     sortOptionsFlow.Name          = "sortOptionsFlow";
     sortOptionsFlow.Size          = new System.Drawing.Size(722, 70);
     sortOptionsFlow.TabIndex      = 0;
     //
     // recurseSubdirectoriesCheck
     //
     this.recurseSubdirectoriesCheck.AutoSize = true;
     this.recurseSubdirectoriesCheck.Location = new System.Drawing.Point(3, 3);
     this.recurseSubdirectoriesCheck.Name     = "recurseSubdirectoriesCheck";
     this.recurseSubdirectoriesCheck.Size     = new System.Drawing.Size(136, 17);
     this.recurseSubdirectoriesCheck.TabIndex = 0;
     this.recurseSubdirectoriesCheck.Text     = "Recurse Subdirectories";
     this.toolTip.SetToolTip(this.recurseSubdirectoriesCheck, "When selected, this option will search the subdirectories of the source directory" +
                             " as well.");
     this.recurseSubdirectoriesCheck.UseVisualStyleBackColor = true;
     //
     // deleteEmptyCheck
     //
     this.deleteEmptyCheck.AutoSize = true;
     this.deleteEmptyCheck.Location = new System.Drawing.Point(3, 26);
     this.deleteEmptyCheck.Name     = "deleteEmptyCheck";
     this.deleteEmptyCheck.Size     = new System.Drawing.Size(159, 17);
     this.deleteEmptyCheck.TabIndex = 1;
     this.deleteEmptyCheck.Text     = "Delete Empty Subdirectories";
     this.toolTip.SetToolTip(this.deleteEmptyCheck, "When selected, this option will delete subdirectories of Source Directory after f" +
                             "iles have been moved out of them if this leaves the directory empty.");
     this.deleteEmptyCheck.UseVisualStyleBackColor = true;
     //
     // renameIfExistsCheck
     //
     this.renameIfExistsCheck.AutoSize = true;
     this.renameIfExistsCheck.Location = new System.Drawing.Point(3, 49);
     this.renameIfExistsCheck.Name     = "renameIfExistsCheck";
     this.renameIfExistsCheck.Size     = new System.Drawing.Size(213, 17);
     this.renameIfExistsCheck.TabIndex = 2;
     this.renameIfExistsCheck.Text     = "Rename if Episode Exists at Destination";
     this.toolTip.SetToolTip(this.renameIfExistsCheck, "When selected, this option will search the destination directoy for the episode b" +
                             "eing processed and renamed the copy there if it exists with a different name.");
     this.renameIfExistsCheck.UseVisualStyleBackColor = true;
     //
     // addUnmatchedShowsCheck
     //
     this.addUnmatchedShowsCheck.AutoSize = true;
     this.addUnmatchedShowsCheck.Location = new System.Drawing.Point(222, 3);
     this.addUnmatchedShowsCheck.Name     = "addUnmatchedShowsCheck";
     this.addUnmatchedShowsCheck.Size     = new System.Drawing.Size(203, 17);
     this.addUnmatchedShowsCheck.TabIndex = 3;
     this.addUnmatchedShowsCheck.Text     = "Add Unmatched Shows Automatically";
     this.toolTip.SetToolTip(this.addUnmatchedShowsCheck, resources.GetString("addUnmatchedShowsCheck.ToolTip"));
     this.addUnmatchedShowsCheck.UseVisualStyleBackColor = true;
     //
     // unlockAndUpdateCheck
     //
     this.unlockAndUpdateCheck.AutoSize = true;
     this.unlockAndUpdateCheck.Location = new System.Drawing.Point(222, 26);
     this.unlockAndUpdateCheck.Name     = "unlockAndUpdateCheck";
     this.unlockAndUpdateCheck.Size     = new System.Drawing.Size(202, 17);
     this.unlockAndUpdateCheck.TabIndex = 4;
     this.unlockAndUpdateCheck.Text     = "Unlock and Update Locked Matches";
     this.toolTip.SetToolTip(this.unlockAndUpdateCheck, "When selected, this option will unlock any shows that are locked and update them " +
                             "if a match is found.");
     this.unlockAndUpdateCheck.UseVisualStyleBackColor = true;
     //
     // lockShowWithNoNewEpisodesCheck
     //
     this.lockShowWithNoNewEpisodesCheck.AutoSize = true;
     this.lockShowWithNoNewEpisodesCheck.Location = new System.Drawing.Point(222, 49);
     this.lockShowWithNoNewEpisodesCheck.Name     = "lockShowWithNoNewEpisodesCheck";
     this.lockShowWithNoNewEpisodesCheck.Size     = new System.Drawing.Size(264, 17);
     this.lockShowWithNoNewEpisodesCheck.TabIndex = 5;
     this.lockShowWithNoNewEpisodesCheck.Text     = "Lock Show After 3 Weeks With No New Episodes\r\n";
     this.toolTip.SetToolTip(this.lockShowWithNoNewEpisodesCheck, "When selected, during an update, if the show hasn\'t \r\nhad any new episodes for 3 " +
                             "weeks, the show will be\r\nlocked and skipped in future updates.");
     this.lockShowWithNoNewEpisodesCheck.UseVisualStyleBackColor = true;
     //
     // searchOptionsGroup
     //
     searchOptionsGroup.Controls.Add(searchOptionsFlow);
     searchOptionsGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     searchOptionsGroup.Location = new System.Drawing.Point(3, 559);
     searchOptionsGroup.Name     = "searchOptionsGroup";
     searchOptionsGroup.Size     = new System.Drawing.Size(728, 50);
     searchOptionsGroup.TabIndex = 2;
     searchOptionsGroup.TabStop  = false;
     searchOptionsGroup.Text     = "Search Options";
     //
     // searchOptionsFlow
     //
     searchOptionsFlow.Controls.Add(this.regExButton);
     searchOptionsFlow.Controls.Add(this.fileExtensionsButton);
     searchOptionsFlow.Controls.Add(editOverwriteKeywordsButton);
     searchOptionsFlow.Dock     = System.Windows.Forms.DockStyle.Fill;
     searchOptionsFlow.Location = new System.Drawing.Point(3, 16);
     searchOptionsFlow.Name     = "searchOptionsFlow";
     searchOptionsFlow.Size     = new System.Drawing.Size(722, 31);
     searchOptionsFlow.TabIndex = 0;
     //
     // regExButton
     //
     this.regExButton.Location = new System.Drawing.Point(3, 3);
     this.regExButton.Name     = "regExButton";
     this.regExButton.Size     = new System.Drawing.Size(136, 23);
     this.regExButton.TabIndex = 0;
     this.regExButton.Text     = "Edit Regular Expressions";
     this.toolTip.SetToolTip(this.regExButton, "Edit the regular expressions used for searching.\r\nSee http://code.google.com/p/tv" +
                             "sorter for more\r\ninformation.");
     this.regExButton.UseVisualStyleBackColor = true;
     this.regExButton.Click += new System.EventHandler(this.RegExButtonClick);
     //
     // fileExtensionsButton
     //
     this.fileExtensionsButton.Location = new System.Drawing.Point(145, 3);
     this.fileExtensionsButton.Name     = "fileExtensionsButton";
     this.fileExtensionsButton.Size     = new System.Drawing.Size(136, 23);
     this.fileExtensionsButton.TabIndex = 1;
     this.fileExtensionsButton.Text     = "Edit File Extensions";
     this.toolTip.SetToolTip(this.fileExtensionsButton, "Edit the file extensions that are searched.");
     this.fileExtensionsButton.UseVisualStyleBackColor = true;
     this.fileExtensionsButton.Click += new System.EventHandler(this.FileExtensionsButtonClick);
     //
     // editOverwriteKeywordsButton
     //
     editOverwriteKeywordsButton.Location = new System.Drawing.Point(287, 3);
     editOverwriteKeywordsButton.Name     = "editOverwriteKeywordsButton";
     editOverwriteKeywordsButton.Size     = new System.Drawing.Size(146, 23);
     editOverwriteKeywordsButton.TabIndex = 2;
     editOverwriteKeywordsButton.Text     = "Edit Overwrite Keywords";
     this.toolTip.SetToolTip(editOverwriteKeywordsButton, resources.GetString("editOverwriteKeywordsButton.ToolTip"));
     editOverwriteKeywordsButton.UseVisualStyleBackColor = true;
     editOverwriteKeywordsButton.Click += new System.EventHandler(this.EditOverwriteKeywordsButtonClick);
     //
     // formatOptionsGroup
     //
     formatOptionsGroup.Controls.Add(formatTable);
     formatOptionsGroup.Dock     = System.Windows.Forms.DockStyle.Fill;
     formatOptionsGroup.Location = new System.Drawing.Point(3, 410);
     formatOptionsGroup.Name     = "formatOptionsGroup";
     formatOptionsGroup.Size     = new System.Drawing.Size(728, 48);
     formatOptionsGroup.TabIndex = 3;
     formatOptionsGroup.TabStop  = false;
     formatOptionsGroup.Text     = "Format Options";
     //
     // formatTable
     //
     formatTable.ColumnCount = 3;
     formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F));
     formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     formatTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 105F));
     formatTable.Controls.Add(formatLabel, 0, 0);
     formatTable.Controls.Add(this.formatText, 1, 0);
     formatTable.Controls.Add(this.formatBuilderButton, 2, 0);
     formatTable.Dock     = System.Windows.Forms.DockStyle.Fill;
     formatTable.Location = new System.Drawing.Point(3, 16);
     formatTable.Name     = "formatTable";
     formatTable.RowCount = 1;
     formatTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     formatTable.Size     = new System.Drawing.Size(722, 29);
     formatTable.TabIndex = 0;
     //
     // formatLabel
     //
     formatLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     formatLabel.AutoSize = true;
     formatLabel.Location = new System.Drawing.Point(46, 8);
     formatLabel.Name     = "formatLabel";
     formatLabel.Size     = new System.Drawing.Size(77, 13);
     formatLabel.TabIndex = 0;
     formatLabel.Text     = "Output Format:";
     //
     // formatText
     //
     this.formatText.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.formatText.Location = new System.Drawing.Point(129, 3);
     this.formatText.Name     = "formatText";
     this.formatText.Size     = new System.Drawing.Size(485, 20);
     this.formatText.TabIndex = 1;
     this.toolTip.SetToolTip(this.formatText, "The formatting string used to set the output path for an episode. This setting ca" +
                             "n be overriden on a per show basis.");
     //
     // formatBuilderButton
     //
     this.formatBuilderButton.Dock     = System.Windows.Forms.DockStyle.Top;
     this.formatBuilderButton.Location = new System.Drawing.Point(620, 3);
     this.formatBuilderButton.Name     = "formatBuilderButton";
     this.formatBuilderButton.Size     = new System.Drawing.Size(99, 23);
     this.formatBuilderButton.TabIndex = 2;
     this.formatBuilderButton.Text     = "Format Builder";
     this.formatBuilderButton.UseVisualStyleBackColor = true;
     this.formatBuilderButton.Click += new System.EventHandler(this.FormatBuilderButtonClick);
     //
     // flowBottomButtons
     //
     flowBottomButtons.Controls.Add(this.revertButton);
     flowBottomButtons.Controls.Add(this.saveButton);
     flowBottomButtons.Dock          = System.Windows.Forms.DockStyle.Fill;
     flowBottomButtons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
     flowBottomButtons.Location      = new System.Drawing.Point(3, 615);
     flowBottomButtons.Name          = "flowBottomButtons";
     flowBottomButtons.Size          = new System.Drawing.Size(728, 34);
     flowBottomButtons.TabIndex      = 4;
     //
     // revertButton
     //
     this.revertButton.Location = new System.Drawing.Point(650, 3);
     this.revertButton.Name     = "revertButton";
     this.revertButton.Size     = new System.Drawing.Size(75, 23);
     this.revertButton.TabIndex = 0;
     this.revertButton.Text     = "Revert";
     this.revertButton.UseVisualStyleBackColor = true;
     this.revertButton.Click += new System.EventHandler(this.RevertButtonClick);
     //
     // saveButton
     //
     this.saveButton.Location = new System.Drawing.Point(569, 3);
     this.saveButton.Name     = "saveButton";
     this.saveButton.Size     = new System.Drawing.Size(75, 23);
     this.saveButton.TabIndex = 1;
     this.saveButton.Text     = "Save";
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.SaveButtonClick);
     //
     // Settings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(mainTable);
     this.Name  = "Settings";
     this.Size  = new System.Drawing.Size(734, 652);
     this.Load += new System.EventHandler(this.SettingsLoad);
     mainTable.ResumeLayout(false);
     mainTable.PerformLayout();
     this.groupDirectories.ResumeLayout(false);
     this.groupDirectories.PerformLayout();
     tableDirectories.ResumeLayout(false);
     tableDirectories.PerformLayout();
     destinationButtonsFlow.ResumeLayout(false);
     this.flowLayoutPanel1.ResumeLayout(false);
     sortOptionsGroup.ResumeLayout(false);
     sortOptionsFlow.ResumeLayout(false);
     sortOptionsFlow.PerformLayout();
     searchOptionsGroup.ResumeLayout(false);
     searchOptionsFlow.ResumeLayout(false);
     formatOptionsGroup.ResumeLayout(false);
     formatTable.ResumeLayout(false);
     formatTable.PerformLayout();
     flowBottomButtons.ResumeLayout(false);
     this.ResumeLayout(false);
 }