Ejemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Mtgdb.Controls.LayoutOptions    layoutOptions3    = new Mtgdb.Controls.LayoutOptions();
     Mtgdb.Controls.SearchOptions    searchOptions3    = new Mtgdb.Controls.SearchOptions();
     Mtgdb.Controls.ButtonOptions    buttonOptions3    = new Mtgdb.Controls.ButtonOptions();
     Mtgdb.Controls.SelectionOptions selectionOptions3 = new Mtgdb.Controls.SelectionOptions();
     Mtgdb.Controls.SortOptions      sortOptions3      = new Mtgdb.Controls.SortOptions();
     this._panelLayout           = new System.Windows.Forms.TableLayoutPanel();
     this._panelSearch           = new Mtgdb.Controls.BorderedPanel();
     this._panelSearchIcon       = new Mtgdb.Controls.BorderedPanel();
     this._textBoxSearch         = new Mtgdb.Controls.FixedRichTextBox();
     this._viewDeck              = new Mtgdb.Controls.LayoutViewControl();
     this._labelFilterByDeckMode = new System.Windows.Forms.Label();
     this._menuFilterByDeckMode  = new System.Windows.Forms.ComboBox();
     this._textBoxName           = new System.Windows.Forms.TextBox();
     this._listBoxSuggest        = new System.Windows.Forms.ListBox();
     this._panelLayout.SuspendLayout();
     this._panelSearch.SuspendLayout();
     this.SuspendLayout();
     //
     // _panelLayout
     //
     this._panelLayout.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._panelLayout.ColumnCount = 3;
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.Controls.Add(this._panelSearch, 0, 0);
     this._panelLayout.Controls.Add(this._viewDeck, 0, 1);
     this._panelLayout.Controls.Add(this._labelFilterByDeckMode, 1, 0);
     this._panelLayout.Controls.Add(this._menuFilterByDeckMode, 2, 0);
     this._panelLayout.Location = new System.Drawing.Point(0, 0);
     this._panelLayout.Margin   = new System.Windows.Forms.Padding(0);
     this._panelLayout.Name     = "_panelLayout";
     this._panelLayout.RowCount = 2;
     this._panelLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this._panelLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this._panelLayout.Size     = new System.Drawing.Size(732, 311);
     this._panelLayout.TabIndex = 0;
     //
     // _panelSearch
     //
     this._panelSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this._panelSearch.BackColor = System.Drawing.Color.White;
     this._panelSearch.Controls.Add(this._panelSearchIcon);
     this._panelSearch.Controls.Add(this._textBoxSearch);
     this._panelSearch.Location       = new System.Drawing.Point(0, 0);
     this._panelSearch.Margin         = new System.Windows.Forms.Padding(0);
     this._panelSearch.Name           = "_panelSearch";
     this._panelSearch.Size           = new System.Drawing.Size(434, 24);
     this._panelSearch.TabIndex       = 1;
     this._panelSearch.VisibleBorders = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     //
     // _panelSearchIcon
     //
     this._panelSearchIcon.BackgroundImage       = global::Mtgdb.Controls.Properties.Resources.search_40;
     this._panelSearchIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this._panelSearchIcon.Location       = new System.Drawing.Point(1, 1);
     this._panelSearchIcon.Margin         = new System.Windows.Forms.Padding(1);
     this._panelSearchIcon.Name           = "_panelSearchIcon";
     this._panelSearchIcon.Size           = new System.Drawing.Size(22, 22);
     this._panelSearchIcon.TabIndex       = 1;
     this._panelSearchIcon.VisibleBorders = System.Windows.Forms.AnchorStyles.None;
     //
     // _textBoxSearch
     //
     this._textBoxSearch.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._textBoxSearch.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._textBoxSearch.DetectUrls  = false;
     this._textBoxSearch.Font        = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this._textBoxSearch.Location    = new System.Drawing.Point(25, 5);
     this._textBoxSearch.Margin      = new System.Windows.Forms.Padding(1, 5, 1, 1);
     this._textBoxSearch.Multiline   = false;
     this._textBoxSearch.Name        = "_textBoxSearch";
     this._textBoxSearch.Size        = new System.Drawing.Size(408, 18);
     this._textBoxSearch.TabIndex    = 0;
     this._textBoxSearch.TabStop     = false;
     this._textBoxSearch.Text        = "";
     this._textBoxSearch.WordWrap    = false;
     //
     // _viewDecks
     //
     this._viewDeck.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._viewDeck.BackColor = System.Drawing.Color.White;
     this._panelLayout.SetColumnSpan(this._viewDeck, 3);
     layoutOptions3.AlignTopLeftHoveredIcon = global::Mtgdb.Controls.Properties.Resources.corner_hovered_32;
     layoutOptions3.AlignTopLeftIcon        = global::Mtgdb.Controls.Properties.Resources.corner_32;
     layoutOptions3.AllowPartialCards       = true;
     layoutOptions3.CardInterval            = new System.Drawing.Size(2, 0);
     layoutOptions3.PartialCardsThreshold   = new System.Drawing.Size(150, 0);
     this._viewDeck.LayoutOptions           = layoutOptions3;
     this._viewDeck.Location               = new System.Drawing.Point(0, 24);
     this._viewDeck.Margin                 = new System.Windows.Forms.Padding(0);
     this._viewDeck.Name                   = "_viewDeck";
     searchOptions3.Allow                  = false;
     searchOptions3.Button                 = buttonOptions3;
     this._viewDeck.SearchOptions          = searchOptions3;
     selectionOptions3.Alpha               = ((byte)(192));
     selectionOptions3.BackColor           = System.Drawing.Color.LightSkyBlue;
     selectionOptions3.ForeColor           = System.Drawing.Color.Black;
     selectionOptions3.HotTrackBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
     selectionOptions3.HotTrackBorderColor = System.Drawing.Color.Gainsboro;
     selectionOptions3.RectAlpha           = ((byte)(16));
     selectionOptions3.RectBorderColor     = System.Drawing.Color.MediumBlue;
     selectionOptions3.RectFillColor       = System.Drawing.Color.RoyalBlue;
     this._viewDeck.SelectionOptions       = selectionOptions3;
     this._viewDeck.Size                   = new System.Drawing.Size(732, 287);
     this._viewDeck.SortOptions            = sortOptions3;
     this._viewDeck.TabIndex               = 2;
     //
     // _labelFilterByDeckMode
     //
     this._labelFilterByDeckMode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                | System.Windows.Forms.AnchorStyles.Left)));
     this._labelFilterByDeckMode.AutoSize  = true;
     this._labelFilterByDeckMode.Location  = new System.Drawing.Point(437, 0);
     this._labelFilterByDeckMode.Name      = "_labelFilterByDeckMode";
     this._labelFilterByDeckMode.Size      = new System.Drawing.Size(102, 24);
     this._labelFilterByDeckMode.TabIndex  = 3;
     this._labelFilterByDeckMode.Text      = "Filter cards by deck:";
     this._labelFilterByDeckMode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _menuFilterByDeckMode
     //
     this._menuFilterByDeckMode.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this._menuFilterByDeckMode.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._menuFilterByDeckMode.FlatStyle         = System.Windows.Forms.FlatStyle.Popup;
     this._menuFilterByDeckMode.FormattingEnabled = true;
     this._menuFilterByDeckMode.Items.AddRange(new object[] {
         "Ignored",
         "Cards in currently open deck",
         "Cards in saved decks matching filter"
     });
     this._menuFilterByDeckMode.Location = new System.Drawing.Point(542, 1);
     this._menuFilterByDeckMode.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 2);
     this._menuFilterByDeckMode.Name     = "_menuFilterByDeckMode";
     this._menuFilterByDeckMode.Size     = new System.Drawing.Size(190, 21);
     this._menuFilterByDeckMode.TabIndex = 4;
     //
     // _textBoxName
     //
     this._textBoxName.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._textBoxName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this._textBoxName.Location  = new System.Drawing.Point(24, 51);
     this._textBoxName.Margin    = new System.Windows.Forms.Padding(10, 2, 0, 0);
     this._textBoxName.Multiline = true;
     this._textBoxName.Name      = "_textBoxName";
     this._textBoxName.Size      = new System.Drawing.Size(177, 20);
     this._textBoxName.TabIndex  = 3;
     this._textBoxName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // _listBoxSuggest
     //
     this._listBoxSuggest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this._listBoxSuggest.Location    = new System.Drawing.Point(209, 30);
     this._listBoxSuggest.Margin      = new System.Windows.Forms.Padding(0);
     this._listBoxSuggest.Name        = "_listBoxSuggest";
     this._listBoxSuggest.Size        = new System.Drawing.Size(250, 93);
     this._listBoxSuggest.TabIndex    = 4;
     //
     // DeckListControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this._listBoxSuggest);
     this.Controls.Add(this._textBoxName);
     this.Controls.Add(this._panelLayout);
     this.Name = "DeckListControl";
     this.Size = new System.Drawing.Size(732, 311);
     this._panelLayout.ResumeLayout(false);
     this._panelLayout.PerformLayout();
     this._panelSearch.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Mtgdb.Controls.LayoutOptions    layoutOptions1    = new Mtgdb.Controls.LayoutOptions();
     Mtgdb.Controls.SearchOptions    searchOptions1    = new Mtgdb.Controls.SearchOptions();
     Mtgdb.Controls.ButtonOptions    buttonOptions1    = new Mtgdb.Controls.ButtonOptions();
     Mtgdb.Controls.SelectionOptions selectionOptions1 = new Mtgdb.Controls.SelectionOptions();
     Mtgdb.Controls.SortOptions      sortOptions1      = new Mtgdb.Controls.SortOptions();
     this._panelLayout           = new System.Windows.Forms.TableLayoutPanel();
     this._viewDeck              = new Mtgdb.Controls.LayoutViewControl();
     this._menuFilterByDeckMode  = new Mtgdb.Controls.DropDown();
     this._labelFilterByDeckMode = new System.Windows.Forms.Label();
     this._labelSortStatus       = new Mtgdb.Controls.ControlBase();
     this._searchBar             = new Mtgdb.Controls.SearchBar();
     this._textboxRename         = new Mtgdb.Controls.FixedRichTextBox();
     this._panelRename           = new Mtgdb.Controls.BorderedPanel();
     this._panelLayout.SuspendLayout();
     this._panelRename.SuspendLayout();
     this.SuspendLayout();
     //
     // _panelLayout
     //
     this._panelLayout.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._panelLayout.ColumnCount = 5;
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._panelLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this._panelLayout.Controls.Add(this._viewDeck, 0, 1);
     this._panelLayout.Controls.Add(this._menuFilterByDeckMode, 4, 0);
     this._panelLayout.Controls.Add(this._labelFilterByDeckMode, 3, 0);
     this._panelLayout.Controls.Add(this._labelSortStatus, 1, 0);
     this._panelLayout.Controls.Add(this._searchBar, 0, 0);
     this._panelLayout.Location = new System.Drawing.Point(0, 0);
     this._panelLayout.Margin   = new System.Windows.Forms.Padding(0);
     this._panelLayout.Name     = "_panelLayout";
     this._panelLayout.RowCount = 2;
     this._panelLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this._panelLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this._panelLayout.Size     = new System.Drawing.Size(732, 311);
     this._panelLayout.TabIndex = 2;
     //
     // _viewDeck
     //
     this._viewDeck.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._viewDeck.BackColor = System.Drawing.SystemColors.Window;
     this._panelLayout.SetColumnSpan(this._viewDeck, 5);
     layoutOptions1.AllowPartialCards     = true;
     layoutOptions1.CardInterval          = new System.Drawing.Size(2, 0);
     layoutOptions1.PartialCardsThreshold = new System.Drawing.Size(150, 0);
     this._viewDeck.LayoutOptions         = layoutOptions1;
     this._viewDeck.Location           = new System.Drawing.Point(0, 24);
     this._viewDeck.Margin             = new System.Windows.Forms.Padding(0);
     this._viewDeck.Name               = "_viewDeck";
     searchOptions1.Allow              = false;
     searchOptions1.Button             = buttonOptions1;
     this._viewDeck.SearchOptions      = searchOptions1;
     selectionOptions1.Alpha           = ((byte)(255));
     selectionOptions1.ForeColor       = System.Drawing.SystemColors.HighlightText;
     selectionOptions1.RectAlpha       = ((byte)(0));
     selectionOptions1.RectBorderColor = System.Drawing.Color.Empty;
     selectionOptions1.RectFillColor   = System.Drawing.Color.Empty;
     this._viewDeck.SelectionOptions   = selectionOptions1;
     this._viewDeck.Size               = new System.Drawing.Size(732, 287);
     sortOptions1.Allow         = true;
     sortOptions1.ButtonMargin  = new System.Drawing.Size(0, 0);
     this._viewDeck.SortOptions = sortOptions1;
     this._viewDeck.TabIndex    = 1;
     //
     // _menuFilterByDeckMode
     //
     this._menuFilterByDeckMode.EmptySelectionText = "";
     this._menuFilterByDeckMode.ImageScale         = 0.5F;
     this._menuFilterByDeckMode.Location           = new System.Drawing.Point(542, 0);
     this._menuFilterByDeckMode.Margin             = new System.Windows.Forms.Padding(0);
     this._menuFilterByDeckMode.Name          = "_menuFilterByDeckMode";
     this._menuFilterByDeckMode.SelectedIndex = -1;
     this._menuFilterByDeckMode.Size          = new System.Drawing.Size(190, 24);
     this._menuFilterByDeckMode.TabIndex      = 2;
     //
     // _labelFilterByDeckMode
     //
     this._labelFilterByDeckMode.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this._labelFilterByDeckMode.AutoSize  = true;
     this._labelFilterByDeckMode.Location  = new System.Drawing.Point(437, 5);
     this._labelFilterByDeckMode.Name      = "_labelFilterByDeckMode";
     this._labelFilterByDeckMode.Size      = new System.Drawing.Size(102, 13);
     this._labelFilterByDeckMode.TabIndex  = 4;
     this._labelFilterByDeckMode.Text      = "Filter cards by deck:";
     this._labelFilterByDeckMode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _labelSortStatus
     //
     this._labelSortStatus.AutoSize   = true;
     this._labelSortStatus.Image      = global::Mtgdb.Controls.Properties.Resources.sort_48;
     this._labelSortStatus.ImageScale = 0.5F;
     this._labelSortStatus.Location   = new System.Drawing.Point(362, 0);
     this._labelSortStatus.Margin     = new System.Windows.Forms.Padding(0);
     this._labelSortStatus.Name       = "_labelSortStatus";
     this._labelSortStatus.Padding    = new System.Windows.Forms.Padding(0, 0, 4, 0);
     this._labelSortStatus.Size       = new System.Drawing.Size(72, 24);
     this._labelSortStatus.TabIndex   = 5;
     this._labelSortStatus.Text       = "Name ^";
     //
     // _searchBar
     //
     this._searchBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this._searchBar.Font              = new System.Drawing.Font("Source Code Pro", 9.749999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this._searchBar.Image             = global::Mtgdb.Controls.Properties.Resources.search_48;
     this._searchBar.ImageScale        = 0.5F;
     this._searchBar.Location          = new System.Drawing.Point(0, 0);
     this._searchBar.Margin            = new System.Windows.Forms.Padding(0);
     this._searchBar.Name              = "_searchBar";
     this._searchBar.SelectedIndex     = -1;
     this._searchBar.Size              = new System.Drawing.Size(362, 24);
     this._searchBar.TabIndex          = 6;
     this._searchBar.VisibleAllBorders = null;
     this._searchBar.VisibleBorders    = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     //
     // _textboxRename
     //
     this._textboxRename.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._textboxRename.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this._textboxRename.Font             = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this._textboxRename.Location         = new System.Drawing.Point(1, 1);
     this._textboxRename.Margin           = new System.Windows.Forms.Padding(0);
     this._textboxRename.MaxLength        = 1024;
     this._textboxRename.Name             = "_textboxRename";
     this._textboxRename.ScrollBars       = System.Windows.Forms.RichTextBoxScrollBars.None;
     this._textboxRename.SelectionEnabled = true;
     this._textboxRename.Size             = new System.Drawing.Size(432, 20);
     this._textboxRename.TabIndex         = 1;
     this._textboxRename.TabStop          = false;
     this._textboxRename.Text             = "";
     //
     // _panelRename
     //
     this._panelRename.BackColor = System.Drawing.SystemColors.Window;
     this._panelRename.Controls.Add(this._textboxRename);
     this._panelRename.Location = new System.Drawing.Point(32, 56);
     this._panelRename.Margin   = new System.Windows.Forms.Padding(10, 2, 0, 0);
     this._panelRename.Name     = "_panelRename";
     this._panelRename.Padding  = new System.Windows.Forms.Padding(1);
     this._panelRename.Size     = new System.Drawing.Size(434, 22);
     this._panelRename.TabIndex = 3;
     this._panelRename.Visible  = false;
     //
     // DeckListControl
     //
     this.Controls.Add(this._panelRename);
     this.Controls.Add(this._panelLayout);
     this.Name = "DeckListControl";
     this.Size = new System.Drawing.Size(732, 311);
     this._panelLayout.ResumeLayout(false);
     this._panelLayout.PerformLayout();
     this._panelRename.ResumeLayout(false);
     this.ResumeLayout(false);
 }