コード例 #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        DefaultTextBox textBox = (DefaultTextBox)target;

        if (GUILayout.Button("Set Up TextBox"))
        {
            textBox.SetUpTextBox();
        }
    }
コード例 #2
0
        private void CleanUp()
        {
            TitleTextBox.Clear();
            AuthorTextBox.Clear();
            DescTextBox.Clear();
            ShortcutTextBox.Clear();

            IdTextBox.Clear();
            ToolTipTextBox.Clear();
            DefaultTextBox.Clear();

            CodeRichTextBox.Clear();
            LiteralListBox.Items.Clear();
            LiteralList.Clear();

            foreach (TreeNode tn in DllAndNamespaceTreeView.Nodes)
            {
                tn.Checked = false;
            }
        }
コード例 #3
0
 private void InitializeComponent()
 {
     this.OKBtn                 = new Button();
     this.CancelBtn             = new Button();
     this.TitleLbl              = new Label();
     this.TitleBox              = new TextBox();
     this.DetailsBox            = new DefaultTextBox();
     this.Pages                 = new TabControl();
     this.DetailsPage           = new TabPage();
     this.Statusbar             = new StatusStrip();
     this.toolStripStatusLabel1 = new ToolStripStatusLabel();
     this.Pages.SuspendLayout();
     this.DetailsPage.SuspendLayout();
     this.Statusbar.SuspendLayout();
     base.SuspendLayout();
     this.OKBtn.Anchor                      = AnchorStyles.Bottom | AnchorStyles.Right;
     this.OKBtn.DialogResult                = System.Windows.Forms.DialogResult.OK;
     this.OKBtn.Location                    = new Point(308, 258);
     this.OKBtn.Name                        = "OKBtn";
     this.OKBtn.Size                        = new System.Drawing.Size(75, 23);
     this.OKBtn.TabIndex                    = 3;
     this.OKBtn.Text                        = "OK";
     this.OKBtn.UseVisualStyleBackColor     = true;
     this.OKBtn.Click                      += new EventHandler(this.OKBtn_Click);
     this.CancelBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
     this.CancelBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBtn.Location                = new Point(389, 258);
     this.CancelBtn.Name                    = "CancelBtn";
     this.CancelBtn.Size                    = new System.Drawing.Size(75, 23);
     this.CancelBtn.TabIndex                = 4;
     this.CancelBtn.Text                    = "Cancel";
     this.CancelBtn.UseVisualStyleBackColor = true;
     this.TitleLbl.AutoSize                 = true;
     this.TitleLbl.Location                 = new Point(12, 15);
     this.TitleLbl.Name                     = "TitleLbl";
     this.TitleLbl.Size                     = new System.Drawing.Size(30, 13);
     this.TitleLbl.TabIndex                 = 0;
     this.TitleLbl.Text                     = "Title:";
     this.TitleBox.Anchor                   = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
     this.TitleBox.Location                 = new Point(48, 12);
     this.TitleBox.Name                     = "TitleBox";
     this.TitleBox.Size                     = new System.Drawing.Size(416, 20);
     this.TitleBox.TabIndex                 = 1;
     this.DetailsBox.AcceptsReturn          = true;
     this.DetailsBox.AcceptsTab             = true;
     this.DetailsBox.DefaultText            = "(enter details here)";
     this.DetailsBox.Dock                   = DockStyle.Fill;
     this.DetailsBox.Location               = new Point(3, 25);
     this.DetailsBox.Multiline              = true;
     this.DetailsBox.Name                   = "DetailsBox";
     this.DetailsBox.ScrollBars             = ScrollBars.Vertical;
     this.DetailsBox.Size                   = new System.Drawing.Size(438, 160);
     this.DetailsBox.TabIndex               = 2;
     this.DetailsBox.Text                   = "(enter details here)";
     this.Pages.Anchor                      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.Pages.Controls.Add(this.DetailsPage);
     this.Pages.Location      = new Point(12, 38);
     this.Pages.Name          = "Pages";
     this.Pages.SelectedIndex = 0;
     this.Pages.Size          = new System.Drawing.Size(452, 214);
     this.Pages.TabIndex      = 5;
     this.DetailsPage.Controls.Add(this.DetailsBox);
     this.DetailsPage.Controls.Add(this.Statusbar);
     this.DetailsPage.Location = new Point(4, 22);
     this.DetailsPage.Name     = "DetailsPage";
     this.DetailsPage.Padding  = new System.Windows.Forms.Padding(3);
     this.DetailsPage.Size     = new System.Drawing.Size(444, 188);
     this.DetailsPage.TabIndex = 0;
     this.DetailsPage.Text     = "Details";
     this.DetailsPage.UseVisualStyleBackColor = true;
     this.Statusbar.Dock = DockStyle.Top;
     this.Statusbar.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel1 });
     this.Statusbar.Location         = new Point(3, 3);
     this.Statusbar.Name             = "Statusbar";
     this.Statusbar.Size             = new System.Drawing.Size(438, 22);
     this.Statusbar.SizingGrip       = false;
     this.Statusbar.TabIndex         = 3;
     this.Statusbar.Text             = "statusStrip1";
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(202, 17);
     this.toolStripStatusLabel1.Text = "Note: HTML tags are supported here.";
     base.AcceptButton        = this.OKBtn;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     base.CancelButton        = this.CancelBtn;
     base.ClientSize          = new System.Drawing.Size(476, 293);
     base.Controls.Add(this.Pages);
     base.Controls.Add(this.TitleBox);
     base.Controls.Add(this.TitleLbl);
     base.Controls.Add(this.CancelBtn);
     base.Controls.Add(this.OKBtn);
     base.MinimizeBox   = false;
     base.Name          = "BackgroundForm";
     base.ShowIcon      = false;
     base.ShowInTaskbar = false;
     base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "Background Item";
     this.Pages.ResumeLayout(false);
     this.DetailsPage.ResumeLayout(false);
     this.DetailsPage.PerformLayout();
     this.Statusbar.ResumeLayout(false);
     this.Statusbar.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #4
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(EncyclopediaEntryForm));

            this.OKBtn                 = new Button();
            this.CancelBtn             = new Button();
            this.TitleLbl              = new Label();
            this.TitleBox              = new TextBox();
            this.DetailsBox            = new DefaultTextBox();
            this.Pages                 = new TabControl();
            this.DetailsPage           = new TabPage();
            this.PlayerStatusbar       = new StatusStrip();
            this.toolStripStatusLabel1 = new ToolStripStatusLabel();
            this.DMPage                = new TabPage();
            this.DMBox                 = new DefaultTextBox();
            this.DMStatusBar           = new StatusStrip();
            this.toolStripStatusLabel2 = new ToolStripStatusLabel();
            this.LinksPage             = new TabPage();
            this.EntryList             = new ListView();
            this.EntryHdr              = new ColumnHeader();
            this.ImagesTab             = new TabPage();
            this.PictureList           = new ListView();
            this.PictureToolbar        = new ToolStrip();
            this.AddBtn                = new ToolStripButton();
            this.RemoveBtn             = new ToolStripButton();
            this.EditBtn               = new ToolStripButton();
            this.CatLbl                = new Label();
            this.CatBox                = new ComboBox();
            this.Pages.SuspendLayout();
            this.DetailsPage.SuspendLayout();
            this.PlayerStatusbar.SuspendLayout();
            this.DMPage.SuspendLayout();
            this.DMStatusBar.SuspendLayout();
            this.LinksPage.SuspendLayout();
            this.ImagesTab.SuspendLayout();
            this.PictureToolbar.SuspendLayout();
            base.SuspendLayout();
            this.OKBtn.Anchor                      = AnchorStyles.Bottom | AnchorStyles.Right;
            this.OKBtn.DialogResult                = System.Windows.Forms.DialogResult.OK;
            this.OKBtn.Location                    = new Point(438, 359);
            this.OKBtn.Name                        = "OKBtn";
            this.OKBtn.Size                        = new System.Drawing.Size(75, 23);
            this.OKBtn.TabIndex                    = 5;
            this.OKBtn.Text                        = "OK";
            this.OKBtn.UseVisualStyleBackColor     = true;
            this.OKBtn.Click                      += new EventHandler(this.OKBtn_Click);
            this.CancelBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
            this.CancelBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.CancelBtn.Location                = new Point(519, 359);
            this.CancelBtn.Name                    = "CancelBtn";
            this.CancelBtn.Size                    = new System.Drawing.Size(75, 23);
            this.CancelBtn.TabIndex                = 6;
            this.CancelBtn.Text                    = "Cancel";
            this.CancelBtn.UseVisualStyleBackColor = true;
            this.TitleLbl.AutoSize                 = true;
            this.TitleLbl.Location                 = new Point(12, 15);
            this.TitleLbl.Name                     = "TitleLbl";
            this.TitleLbl.Size                     = new System.Drawing.Size(30, 13);
            this.TitleLbl.TabIndex                 = 0;
            this.TitleLbl.Text                     = "Title:";
            this.TitleBox.Anchor                   = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.TitleBox.Location                 = new Point(70, 12);
            this.TitleBox.Name                     = "TitleBox";
            this.TitleBox.Size                     = new System.Drawing.Size(524, 20);
            this.TitleBox.TabIndex                 = 1;
            this.DetailsBox.AcceptsReturn          = true;
            this.DetailsBox.AcceptsTab             = true;
            this.DetailsBox.DefaultText            = "(enter details here)";
            this.DetailsBox.Dock                   = DockStyle.Fill;
            this.DetailsBox.Location               = new Point(3, 25);
            this.DetailsBox.Multiline              = true;
            this.DetailsBox.Name                   = "DetailsBox";
            this.DetailsBox.ScrollBars             = ScrollBars.Vertical;
            this.DetailsBox.Size                   = new System.Drawing.Size(568, 234);
            this.DetailsBox.TabIndex               = 1;
            this.DetailsBox.Text                   = "(enter details here)";
            this.Pages.Anchor                      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            this.Pages.Controls.Add(this.DetailsPage);
            this.Pages.Controls.Add(this.DMPage);
            this.Pages.Controls.Add(this.LinksPage);
            this.Pages.Controls.Add(this.ImagesTab);
            this.Pages.Location      = new Point(12, 65);
            this.Pages.Name          = "Pages";
            this.Pages.SelectedIndex = 0;
            this.Pages.Size          = new System.Drawing.Size(582, 288);
            this.Pages.TabIndex      = 4;
            this.DetailsPage.Controls.Add(this.DetailsBox);
            this.DetailsPage.Controls.Add(this.PlayerStatusbar);
            this.DetailsPage.Location = new Point(4, 22);
            this.DetailsPage.Name     = "DetailsPage";
            this.DetailsPage.Padding  = new System.Windows.Forms.Padding(3);
            this.DetailsPage.Size     = new System.Drawing.Size(574, 262);
            this.DetailsPage.TabIndex = 0;
            this.DetailsPage.Text     = "Public Information";
            this.DetailsPage.UseVisualStyleBackColor = true;
            this.PlayerStatusbar.Dock = DockStyle.Top;
            this.PlayerStatusbar.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel1 });
            this.PlayerStatusbar.Location   = new Point(3, 3);
            this.PlayerStatusbar.Name       = "PlayerStatusbar";
            this.PlayerStatusbar.Size       = new System.Drawing.Size(568, 22);
            this.PlayerStatusbar.SizingGrip = false;
            this.PlayerStatusbar.TabIndex   = 0;
            this.PlayerStatusbar.Text       = "statusStrip1";
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(202, 17);
            this.toolStripStatusLabel1.Text = "Note: HTML tags are supported here.";
            this.DMPage.Controls.Add(this.DMBox);
            this.DMPage.Controls.Add(this.DMStatusBar);
            this.DMPage.Location = new Point(4, 22);
            this.DMPage.Name     = "DMPage";
            this.DMPage.Padding  = new System.Windows.Forms.Padding(3);
            this.DMPage.Size     = new System.Drawing.Size(503, 211);
            this.DMPage.TabIndex = 2;
            this.DMPage.Text     = "DM Information";
            this.DMPage.UseVisualStyleBackColor = true;
            this.DMBox.AcceptsReturn            = true;
            this.DMBox.AcceptsTab  = true;
            this.DMBox.DefaultText = "(enter details here)";
            this.DMBox.Dock        = DockStyle.Fill;
            this.DMBox.Location    = new Point(3, 25);
            this.DMBox.Multiline   = true;
            this.DMBox.Name        = "DMBox";
            this.DMBox.ScrollBars  = ScrollBars.Vertical;
            this.DMBox.Size        = new System.Drawing.Size(497, 183);
            this.DMBox.TabIndex    = 3;
            this.DMBox.Text        = "(enter details here)";
            this.DMStatusBar.Dock  = DockStyle.Top;
            this.DMStatusBar.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel2 });
            this.DMStatusBar.Location       = new Point(3, 3);
            this.DMStatusBar.Name           = "DMStatusBar";
            this.DMStatusBar.Size           = new System.Drawing.Size(497, 22);
            this.DMStatusBar.SizingGrip     = false;
            this.DMStatusBar.TabIndex       = 2;
            this.DMStatusBar.Text           = "statusStrip1";
            this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
            this.toolStripStatusLabel2.Size = new System.Drawing.Size(202, 17);
            this.toolStripStatusLabel2.Text = "Note: HTML tags are supported here.";
            this.LinksPage.Controls.Add(this.EntryList);
            this.LinksPage.Location = new Point(4, 22);
            this.LinksPage.Name     = "LinksPage";
            this.LinksPage.Padding  = new System.Windows.Forms.Padding(3);
            this.LinksPage.Size     = new System.Drawing.Size(503, 211);
            this.LinksPage.TabIndex = 1;
            this.LinksPage.Text     = "See Also";
            this.LinksPage.UseVisualStyleBackColor = true;
            this.EntryList.CheckBoxes = true;
            this.EntryList.Columns.AddRange(new ColumnHeader[] { this.EntryHdr });
            this.EntryList.Dock          = DockStyle.Fill;
            this.EntryList.FullRowSelect = true;
            this.EntryList.HeaderStyle   = ColumnHeaderStyle.Nonclickable;
            this.EntryList.HideSelection = false;
            this.EntryList.Location      = new Point(3, 3);
            this.EntryList.MultiSelect   = false;
            this.EntryList.Name          = "EntryList";
            this.EntryList.Size          = new System.Drawing.Size(497, 205);
            this.EntryList.Sorting       = SortOrder.Ascending;
            this.EntryList.TabIndex      = 0;
            this.EntryList.UseCompatibleStateImageBehavior = false;
            this.EntryList.View = View.Details;
            this.EntryHdr.Text  = "Entry";
            this.EntryHdr.Width = 300;
            this.ImagesTab.Controls.Add(this.PictureList);
            this.ImagesTab.Controls.Add(this.PictureToolbar);
            this.ImagesTab.Location = new Point(4, 22);
            this.ImagesTab.Name     = "ImagesTab";
            this.ImagesTab.Padding  = new System.Windows.Forms.Padding(3);
            this.ImagesTab.Size     = new System.Drawing.Size(503, 211);
            this.ImagesTab.TabIndex = 3;
            this.ImagesTab.Text     = "Pictures";
            this.ImagesTab.UseVisualStyleBackColor = true;
            this.PictureList.Dock     = DockStyle.Fill;
            this.PictureList.Location = new Point(3, 28);
            this.PictureList.Name     = "PictureList";
            this.PictureList.Size     = new System.Drawing.Size(497, 180);
            this.PictureList.TabIndex = 1;
            this.PictureList.UseCompatibleStateImageBehavior = false;
            this.PictureList.DoubleClick += new EventHandler(this.EditBtn_Click);
            ToolStripItemCollection items = this.PictureToolbar.Items;

            ToolStripItem[] addBtn = new ToolStripItem[] { this.AddBtn, this.RemoveBtn, this.EditBtn };
            items.AddRange(addBtn);
            this.PictureToolbar.Location      = new Point(3, 3);
            this.PictureToolbar.Name          = "PictureToolbar";
            this.PictureToolbar.Size          = new System.Drawing.Size(497, 25);
            this.PictureToolbar.TabIndex      = 0;
            this.PictureToolbar.Text          = "toolStrip1";
            this.AddBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.AddBtn.Image                 = (Image)componentResourceManager.GetObject("AddBtn.Image");
            this.AddBtn.ImageTransparentColor = Color.Magenta;
            this.AddBtn.Name                     = "AddBtn";
            this.AddBtn.Size                     = new System.Drawing.Size(33, 22);
            this.AddBtn.Text                     = "Add";
            this.AddBtn.Click                   += new EventHandler(this.AddBtn_Click);
            this.RemoveBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.RemoveBtn.Image                 = (Image)componentResourceManager.GetObject("RemoveBtn.Image");
            this.RemoveBtn.ImageTransparentColor = Color.Magenta;
            this.RemoveBtn.Name                  = "RemoveBtn";
            this.RemoveBtn.Size                  = new System.Drawing.Size(54, 22);
            this.RemoveBtn.Text                  = "Remove";
            this.RemoveBtn.Click                += new EventHandler(this.RemoveBtn_Click);
            this.EditBtn.DisplayStyle            = ToolStripItemDisplayStyle.Text;
            this.EditBtn.Image                   = (Image)componentResourceManager.GetObject("EditBtn.Image");
            this.EditBtn.ImageTransparentColor   = Color.Magenta;
            this.EditBtn.Name                    = "EditBtn";
            this.EditBtn.Size                    = new System.Drawing.Size(31, 22);
            this.EditBtn.Text                    = "Edit";
            this.EditBtn.Click                  += new EventHandler(this.EditBtn_Click);
            this.CatLbl.AutoSize                 = true;
            this.CatLbl.Location                 = new Point(12, 41);
            this.CatLbl.Name                     = "CatLbl";
            this.CatLbl.Size                     = new System.Drawing.Size(52, 13);
            this.CatLbl.TabIndex                 = 2;
            this.CatLbl.Text                     = "Category:";
            this.CatBox.Anchor                   = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.CatBox.AutoCompleteMode         = AutoCompleteMode.Append;
            this.CatBox.AutoCompleteSource       = AutoCompleteSource.ListItems;
            this.CatBox.FormattingEnabled        = true;
            this.CatBox.Location                 = new Point(70, 38);
            this.CatBox.Name                     = "CatBox";
            this.CatBox.Size                     = new System.Drawing.Size(524, 21);
            this.CatBox.TabIndex                 = 3;
            base.AcceptButton                    = this.OKBtn;
            base.AutoScaleDimensions             = new SizeF(6f, 13f);
            base.AutoScaleMode                   = System.Windows.Forms.AutoScaleMode.Font;
            base.CancelButton                    = this.CancelBtn;
            base.ClientSize = new System.Drawing.Size(606, 394);
            base.Controls.Add(this.CatBox);
            base.Controls.Add(this.CatLbl);
            base.Controls.Add(this.Pages);
            base.Controls.Add(this.TitleBox);
            base.Controls.Add(this.TitleLbl);
            base.Controls.Add(this.CancelBtn);
            base.Controls.Add(this.OKBtn);
            base.MinimizeBox   = false;
            base.Name          = "EncyclopediaEntryForm";
            base.ShowIcon      = false;
            base.ShowInTaskbar = false;
            base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text          = "Encyclopedia Entry";
            this.Pages.ResumeLayout(false);
            this.DetailsPage.ResumeLayout(false);
            this.DetailsPage.PerformLayout();
            this.PlayerStatusbar.ResumeLayout(false);
            this.PlayerStatusbar.PerformLayout();
            this.DMPage.ResumeLayout(false);
            this.DMPage.PerformLayout();
            this.DMStatusBar.ResumeLayout(false);
            this.DMStatusBar.PerformLayout();
            this.LinksPage.ResumeLayout(false);
            this.ImagesTab.ResumeLayout(false);
            this.ImagesTab.PerformLayout();
            this.PictureToolbar.ResumeLayout(false);
            this.PictureToolbar.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
コード例 #5
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     DefaultTextBox.Focus();
 }
コード例 #6
0
        private void InitializeComponent()
        {
            ListViewGroup            listViewGroup            = new ListViewGroup("Standard Skill DCs", HorizontalAlignment.Left);
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(SkillChallengeBuilderForm));
            ListViewGroup            listViewGroup1           = new ListViewGroup("Primary Skills", HorizontalAlignment.Left);
            ListViewGroup            listViewGroup2           = new ListViewGroup("Secondary Skills", HorizontalAlignment.Left);
            ListViewGroup            listViewGroup3           = new ListViewGroup("Automatic Failure", HorizontalAlignment.Left);
            ListViewGroup            listViewGroup4           = new ListViewGroup("Skills", HorizontalAlignment.Left);
            ListViewGroup            listViewGroup5           = new ListViewGroup("Abilities", HorizontalAlignment.Left);
            ListViewGroup            listViewGroup6           = new ListViewGroup("Custom", HorizontalAlignment.Left);

            this.OKBtn               = new Button();
            this.CancelBtn           = new Button();
            this.Pages               = new TabControl();
            this.OverviewPage        = new TabPage();
            this.OverviewSplitter    = new SplitContainer();
            this.LevelGroup          = new GroupBox();
            this.XPLbl               = new Label();
            this.XPInfoLbl           = new Label();
            this.LevelBox            = new NumericUpDown();
            this.LevelLbl            = new Label();
            this.CompGroup           = new GroupBox();
            this.LengthLbl           = new Label();
            this.LengthInfoLbl       = new Label();
            this.CompBox             = new NumericUpDown();
            this.CompLbl             = new Label();
            this.InfoList            = new ListView();
            this.InfoHdr             = new ColumnHeader();
            this.StdDCHdr            = new ColumnHeader();
            this.Toolbar             = new ToolStrip();
            this.FileMenu            = new ToolStripDropDownButton();
            this.FileExport          = new ToolStripMenuItem();
            this.toolStripSeparator2 = new ToolStripSeparator();
            this.SuccessCountLbl     = new ToolStripLabel();
            this.FailureCountLbl     = new ToolStripLabel();
            this.ResetProgressBtn    = new ToolStripButton();
            this.SkillsPage          = new TabPage();
            this.SkillSplitter       = new SplitContainer();
            this.SkillList           = new ListView();
            this.SkillHdr            = new ColumnHeader();
            this.DCHdr               = new ColumnHeader();
            this.SkillSourceList     = new ListView();
            this.SkillSourceHdr      = new ColumnHeader();
            this.AbilityHdr          = new ColumnHeader();
            this.SkillsToolbar       = new ToolStrip();
            this.RemoveBtn           = new ToolStripButton();
            this.EditBtn             = new ToolStripButton();
            this.toolStripSeparator1 = new ToolStripSeparator();
            this.BreakdownBtn        = new ToolStripButton();
            this.InfoPage            = new TabPage();
            this.InfoSplitter        = new SplitContainer();
            this.VictoryBox          = new DefaultTextBox();
            this.VictoryToolbar      = new ToolStrip();
            this.toolStripLabel1     = new ToolStripLabel();
            this.DefeatBox           = new DefaultTextBox();
            this.DefeatButton        = new ToolStrip();
            this.toolStripLabel2     = new ToolStripLabel();
            this.NotesPage           = new TabPage();
            this.NotesBox            = new DefaultTextBox();
            this.NameBox             = new TextBox();
            this.NameLbl             = new Label();
            this.Pages.SuspendLayout();
            this.OverviewPage.SuspendLayout();
            this.OverviewSplitter.Panel1.SuspendLayout();
            this.OverviewSplitter.Panel2.SuspendLayout();
            this.OverviewSplitter.SuspendLayout();
            this.LevelGroup.SuspendLayout();
            ((ISupportInitialize)this.LevelBox).BeginInit();
            this.CompGroup.SuspendLayout();
            ((ISupportInitialize)this.CompBox).BeginInit();
            this.Toolbar.SuspendLayout();
            this.SkillsPage.SuspendLayout();
            this.SkillSplitter.Panel1.SuspendLayout();
            this.SkillSplitter.Panel2.SuspendLayout();
            this.SkillSplitter.SuspendLayout();
            this.SkillsToolbar.SuspendLayout();
            this.InfoPage.SuspendLayout();
            this.InfoSplitter.Panel1.SuspendLayout();
            this.InfoSplitter.Panel2.SuspendLayout();
            this.InfoSplitter.SuspendLayout();
            this.VictoryToolbar.SuspendLayout();
            this.DefeatButton.SuspendLayout();
            this.NotesPage.SuspendLayout();
            base.SuspendLayout();
            this.OKBtn.Anchor                      = AnchorStyles.Bottom | AnchorStyles.Right;
            this.OKBtn.DialogResult                = System.Windows.Forms.DialogResult.OK;
            this.OKBtn.Location                    = new Point(352, 359);
            this.OKBtn.Name                        = "OKBtn";
            this.OKBtn.Size                        = new System.Drawing.Size(75, 23);
            this.OKBtn.TabIndex                    = 3;
            this.OKBtn.Text                        = "OK";
            this.OKBtn.UseVisualStyleBackColor     = true;
            this.OKBtn.Click                      += new EventHandler(this.OKBtn_Click);
            this.CancelBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
            this.CancelBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.CancelBtn.Location                = new Point(433, 359);
            this.CancelBtn.Name                    = "CancelBtn";
            this.CancelBtn.Size                    = new System.Drawing.Size(75, 23);
            this.CancelBtn.TabIndex                = 4;
            this.CancelBtn.Text                    = "Cancel";
            this.CancelBtn.UseVisualStyleBackColor = true;
            this.Pages.Anchor                      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            this.Pages.Controls.Add(this.OverviewPage);
            this.Pages.Controls.Add(this.SkillsPage);
            this.Pages.Controls.Add(this.InfoPage);
            this.Pages.Controls.Add(this.NotesPage);
            this.Pages.Location      = new Point(12, 38);
            this.Pages.Name          = "Pages";
            this.Pages.SelectedIndex = 0;
            this.Pages.Size          = new System.Drawing.Size(496, 315);
            this.Pages.TabIndex      = 2;
            this.OverviewPage.Controls.Add(this.OverviewSplitter);
            this.OverviewPage.Controls.Add(this.Toolbar);
            this.OverviewPage.Location = new Point(4, 22);
            this.OverviewPage.Name     = "OverviewPage";
            this.OverviewPage.Padding  = new System.Windows.Forms.Padding(3);
            this.OverviewPage.Size     = new System.Drawing.Size(488, 289);
            this.OverviewPage.TabIndex = 5;
            this.OverviewPage.Text     = "Overview";
            this.OverviewPage.UseVisualStyleBackColor = true;
            this.OverviewSplitter.Dock     = DockStyle.Fill;
            this.OverviewSplitter.Location = new Point(3, 28);
            this.OverviewSplitter.Name     = "OverviewSplitter";
            this.OverviewSplitter.Panel1.Controls.Add(this.LevelGroup);
            this.OverviewSplitter.Panel1.Controls.Add(this.CompGroup);
            this.OverviewSplitter.Panel2.Controls.Add(this.InfoList);
            this.OverviewSplitter.Size             = new System.Drawing.Size(482, 258);
            this.OverviewSplitter.SplitterDistance = 237;
            this.OverviewSplitter.TabIndex         = 0;
            this.LevelGroup.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.LevelGroup.Controls.Add(this.XPLbl);
            this.LevelGroup.Controls.Add(this.XPInfoLbl);
            this.LevelGroup.Controls.Add(this.LevelBox);
            this.LevelGroup.Controls.Add(this.LevelLbl);
            this.LevelGroup.Location = new Point(4, 87);
            this.LevelGroup.Name     = "LevelGroup";
            this.LevelGroup.Size     = new System.Drawing.Size(230, 78);
            this.LevelGroup.TabIndex = 10;
            this.LevelGroup.TabStop  = false;
            this.LevelGroup.Text     = "Level";
            this.XPLbl.AutoSize      = true;
            this.XPLbl.Location      = new Point(69, 48);
            this.XPLbl.Name          = "XPLbl";
            this.XPLbl.Size          = new System.Drawing.Size(24, 13);
            this.XPLbl.TabIndex      = 10;
            this.XPLbl.Text          = "[xp]";
            this.XPInfoLbl.AutoSize  = true;
            this.XPInfoLbl.Location  = new Point(6, 48);
            this.XPInfoLbl.Name      = "XPInfoLbl";
            this.XPInfoLbl.Size      = new System.Drawing.Size(24, 13);
            this.XPInfoLbl.TabIndex  = 9;
            this.XPInfoLbl.Text      = "XP:";
            this.LevelBox.Anchor     = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.LevelBox.Location   = new Point(72, 19);
            NumericUpDown levelBox = this.LevelBox;

            int[] numArray = new int[] { 30, 0, 0, 0 };
            levelBox.Maximum = new decimal(numArray);
            NumericUpDown num = this.LevelBox;

            int[] numArray1 = new int[] { 1, 0, 0, 0 };
            num.Minimum            = new decimal(numArray1);
            this.LevelBox.Name     = "LevelBox";
            this.LevelBox.Size     = new System.Drawing.Size(152, 20);
            this.LevelBox.TabIndex = 8;
            NumericUpDown numericUpDown = this.LevelBox;

            int[] numArray2 = new int[] { 1, 0, 0, 0 };
            numericUpDown.Value         = new decimal(numArray2);
            this.LevelBox.ValueChanged += new EventHandler(this.LevelBox_ValueChanged);
            this.LevelLbl.AutoSize      = true;
            this.LevelLbl.Location      = new Point(6, 21);
            this.LevelLbl.Name          = "LevelLbl";
            this.LevelLbl.Size          = new System.Drawing.Size(36, 13);
            this.LevelLbl.TabIndex      = 7;
            this.LevelLbl.Text          = "Level:";
            this.CompGroup.Anchor       = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.CompGroup.Controls.Add(this.LengthLbl);
            this.CompGroup.Controls.Add(this.LengthInfoLbl);
            this.CompGroup.Controls.Add(this.CompBox);
            this.CompGroup.Controls.Add(this.CompLbl);
            this.CompGroup.Location     = new Point(3, 3);
            this.CompGroup.Name         = "CompGroup";
            this.CompGroup.Size         = new System.Drawing.Size(231, 78);
            this.CompGroup.TabIndex     = 9;
            this.CompGroup.TabStop      = false;
            this.CompGroup.Text         = "Complexity / Length";
            this.LengthLbl.AutoSize     = true;
            this.LengthLbl.Location     = new Point(69, 49);
            this.LengthLbl.Name         = "LengthLbl";
            this.LengthLbl.Size         = new System.Drawing.Size(42, 13);
            this.LengthLbl.TabIndex     = 5;
            this.LengthLbl.Text         = "[length]";
            this.LengthInfoLbl.AutoSize = true;
            this.LengthInfoLbl.Location = new Point(6, 49);
            this.LengthInfoLbl.Name     = "LengthInfoLbl";
            this.LengthInfoLbl.Size     = new System.Drawing.Size(43, 13);
            this.LengthInfoLbl.TabIndex = 4;
            this.LengthInfoLbl.Text     = "Length:";
            this.CompBox.Anchor         = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.CompBox.Location       = new Point(72, 19);
            NumericUpDown compBox = this.CompBox;

            int[] numArray3 = new int[] { 20, 0, 0, 0 };
            compBox.Maximum = new decimal(numArray3);
            NumericUpDown compBox1 = this.CompBox;

            int[] numArray4 = new int[] { 1, 0, 0, 0 };
            compBox1.Minimum      = new decimal(numArray4);
            this.CompBox.Name     = "CompBox";
            this.CompBox.Size     = new System.Drawing.Size(153, 20);
            this.CompBox.TabIndex = 3;
            NumericUpDown num1 = this.CompBox;

            int[] numArray5 = new int[] { 1, 0, 0, 0 };
            num1.Value = new decimal(numArray5);
            this.CompBox.ValueChanged += new EventHandler(this.CompBox_ValueChanged);
            this.CompLbl.AutoSize      = true;
            this.CompLbl.Location      = new Point(6, 21);
            this.CompLbl.Name          = "CompLbl";
            this.CompLbl.Size          = new System.Drawing.Size(60, 13);
            this.CompLbl.TabIndex      = 2;
            this.CompLbl.Text          = "Complexity:";
            ListView.ColumnHeaderCollection columns = this.InfoList.Columns;
            ColumnHeader[] infoHdr = new ColumnHeader[] { this.InfoHdr, this.StdDCHdr };
            columns.AddRange(infoHdr);
            this.InfoList.Dock          = DockStyle.Fill;
            this.InfoList.Enabled       = false;
            this.InfoList.FullRowSelect = true;
            listViewGroup.Header        = "Standard Skill DCs";
            listViewGroup.Name          = "listViewGroup1";
            this.InfoList.Groups.AddRange(new ListViewGroup[] { listViewGroup });
            this.InfoList.HeaderStyle   = ColumnHeaderStyle.Nonclickable;
            this.InfoList.HideSelection = false;
            this.InfoList.Location      = new Point(0, 0);
            this.InfoList.MultiSelect   = false;
            this.InfoList.Name          = "InfoList";
            this.InfoList.Size          = new System.Drawing.Size(241, 258);
            this.InfoList.TabIndex      = 0;
            this.InfoList.UseCompatibleStateImageBehavior = false;
            this.InfoList.View      = View.Details;
            this.InfoHdr.Text       = "Difficulty";
            this.InfoHdr.Width      = 139;
            this.StdDCHdr.Text      = "DC";
            this.StdDCHdr.TextAlign = HorizontalAlignment.Right;
            this.StdDCHdr.Width     = 67;
            ToolStripItemCollection items = this.Toolbar.Items;

            ToolStripItem[] fileMenu = new ToolStripItem[] { this.FileMenu, this.toolStripSeparator2, this.SuccessCountLbl, this.FailureCountLbl, this.ResetProgressBtn };
            items.AddRange(fileMenu);
            this.Toolbar.Location      = new Point(3, 3);
            this.Toolbar.Name          = "Toolbar";
            this.Toolbar.Size          = new System.Drawing.Size(482, 25);
            this.Toolbar.TabIndex      = 1;
            this.Toolbar.Text          = "toolStrip1";
            this.FileMenu.DisplayStyle = ToolStripItemDisplayStyle.Text;
            this.FileMenu.DropDownItems.AddRange(new ToolStripItem[] { this.FileExport });
            this.FileMenu.Image = (Image)componentResourceManager.GetObject("FileMenu.Image");
            this.FileMenu.ImageTransparentColor = Color.Magenta;
            this.FileMenu.Name                          = "FileMenu";
            this.FileMenu.Size                          = new System.Drawing.Size(38, 22);
            this.FileMenu.Text                          = "File";
            this.FileExport.Name                        = "FileExport";
            this.FileExport.Size                        = new System.Drawing.Size(152, 22);
            this.FileExport.Text                        = "Export...";
            this.FileExport.Click                      += new EventHandler(this.FileExport_Click);
            this.toolStripSeparator2.Name               = "toolStripSeparator2";
            this.toolStripSeparator2.Size               = new System.Drawing.Size(6, 25);
            this.SuccessCountLbl.Name                   = "SuccessCountLbl";
            this.SuccessCountLbl.Size                   = new System.Drawing.Size(66, 22);
            this.SuccessCountLbl.Text                   = "[successes]";
            this.FailureCountLbl.Name                   = "FailureCountLbl";
            this.FailureCountLbl.Size                   = new System.Drawing.Size(53, 22);
            this.FailureCountLbl.Text                   = "[failures]";
            this.ResetProgressBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.ResetProgressBtn.Image                 = (Image)componentResourceManager.GetObject("ResetProgressBtn.Image");
            this.ResetProgressBtn.ImageTransparentColor = Color.Magenta;
            this.ResetProgressBtn.Name                  = "ResetProgressBtn";
            this.ResetProgressBtn.Size                  = new System.Drawing.Size(39, 22);
            this.ResetProgressBtn.Text                  = "Reset";
            this.ResetProgressBtn.Click                += new EventHandler(this.ResetProgressBtn_Click);
            this.SkillsPage.Controls.Add(this.SkillSplitter);
            this.SkillsPage.Controls.Add(this.SkillsToolbar);
            this.SkillsPage.Location = new Point(4, 22);
            this.SkillsPage.Name     = "SkillsPage";
            this.SkillsPage.Padding  = new System.Windows.Forms.Padding(3);
            this.SkillsPage.Size     = new System.Drawing.Size(488, 289);
            this.SkillsPage.TabIndex = 3;
            this.SkillsPage.Text     = "Skills";
            this.SkillsPage.UseVisualStyleBackColor = true;
            this.SkillSplitter.Dock     = DockStyle.Fill;
            this.SkillSplitter.Location = new Point(3, 28);
            this.SkillSplitter.Name     = "SkillSplitter";
            this.SkillSplitter.Panel1.Controls.Add(this.SkillList);
            this.SkillSplitter.Panel2.Controls.Add(this.SkillSourceList);
            this.SkillSplitter.Size             = new System.Drawing.Size(482, 258);
            this.SkillSplitter.SplitterDistance = 283;
            this.SkillSplitter.TabIndex         = 2;
            this.SkillList.AllowDrop            = true;
            ListView.ColumnHeaderCollection columnHeaderCollections = this.SkillList.Columns;
            ColumnHeader[] skillHdr = new ColumnHeader[] { this.SkillHdr, this.DCHdr };
            columnHeaderCollections.AddRange(skillHdr);
            this.SkillList.Dock          = DockStyle.Fill;
            this.SkillList.FullRowSelect = true;
            listViewGroup1.Header        = "Primary Skills";
            listViewGroup1.Name          = "listViewGroup1";
            listViewGroup2.Header        = "Secondary Skills";
            listViewGroup2.Name          = "listViewGroup2";
            listViewGroup3.Header        = "Automatic Failure";
            listViewGroup3.Name          = "listViewGroup3";
            this.SkillList.Groups.AddRange(new ListViewGroup[] { listViewGroup1, listViewGroup2, listViewGroup3 });
            this.SkillList.HeaderStyle   = ColumnHeaderStyle.Nonclickable;
            this.SkillList.HideSelection = false;
            this.SkillList.Location      = new Point(0, 0);
            this.SkillList.MultiSelect   = false;
            this.SkillList.Name          = "SkillList";
            this.SkillList.Size          = new System.Drawing.Size(283, 258);
            this.SkillList.TabIndex      = 1;
            this.SkillList.UseCompatibleStateImageBehavior = false;
            this.SkillList.View         = View.Details;
            this.SkillList.DoubleClick += new EventHandler(this.EditBtn_Click);
            this.SkillList.DragOver    += new DragEventHandler(this.SkillList_DragOver);
            this.SkillHdr.Text          = "Skill";
            this.SkillHdr.Width         = 135;
            this.DCHdr.Text             = "DC Level";
            this.DCHdr.Width            = 103;
            ListView.ColumnHeaderCollection columns1 = this.SkillSourceList.Columns;
            ColumnHeader[] skillSourceHdr            = new ColumnHeader[] { this.SkillSourceHdr, this.AbilityHdr };
            columns1.AddRange(skillSourceHdr);
            this.SkillSourceList.Dock          = DockStyle.Fill;
            this.SkillSourceList.FullRowSelect = true;
            listViewGroup4.Header = "Skills";
            listViewGroup4.Name   = "listViewGroup1";
            listViewGroup5.Header = "Abilities";
            listViewGroup5.Name   = "listViewGroup2";
            listViewGroup6.Header = "Custom";
            listViewGroup6.Name   = "listViewGroup3";
            this.SkillSourceList.Groups.AddRange(new ListViewGroup[] { listViewGroup4, listViewGroup5, listViewGroup6 });
            this.SkillSourceList.HeaderStyle   = ColumnHeaderStyle.Nonclickable;
            this.SkillSourceList.HideSelection = false;
            this.SkillSourceList.Location      = new Point(0, 0);
            this.SkillSourceList.MultiSelect   = false;
            this.SkillSourceList.Name          = "SkillSourceList";
            this.SkillSourceList.Size          = new System.Drawing.Size(195, 258);
            this.SkillSourceList.TabIndex      = 0;
            this.SkillSourceList.UseCompatibleStateImageBehavior = false;
            this.SkillSourceList.View         = View.Details;
            this.SkillSourceList.DoubleClick += new EventHandler(this.SkillSourceList_DoubleClick);
            this.SkillSourceList.ItemDrag    += new ItemDragEventHandler(this.SkillSourceList_ItemDrag);
            this.SkillSourceHdr.Text          = "Skills";
            this.SkillSourceHdr.Width         = 112;
            this.AbilityHdr.Text              = "Ability";
            this.AbilityHdr.Width             = 49;
            ToolStripItemCollection toolStripItemCollections = this.SkillsToolbar.Items;

            ToolStripItem[] removeBtn = new ToolStripItem[] { this.RemoveBtn, this.EditBtn, this.toolStripSeparator1, this.BreakdownBtn };
            toolStripItemCollections.AddRange(removeBtn);
            this.SkillsToolbar.Location          = new Point(3, 3);
            this.SkillsToolbar.Name              = "SkillsToolbar";
            this.SkillsToolbar.Size              = new System.Drawing.Size(482, 25);
            this.SkillsToolbar.TabIndex          = 0;
            this.SkillsToolbar.Text              = "toolStrip1";
            this.RemoveBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.RemoveBtn.Image                 = (Image)componentResourceManager.GetObject("RemoveBtn.Image");
            this.RemoveBtn.ImageTransparentColor = Color.Magenta;
            this.RemoveBtn.Name                = "RemoveBtn";
            this.RemoveBtn.Size                = new System.Drawing.Size(54, 22);
            this.RemoveBtn.Text                = "Remove";
            this.RemoveBtn.Click              += new EventHandler(this.RemoveBtn_Click);
            this.EditBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.EditBtn.Image                 = (Image)componentResourceManager.GetObject("EditBtn.Image");
            this.EditBtn.ImageTransparentColor = Color.Magenta;
            this.EditBtn.Name                       = "EditBtn";
            this.EditBtn.Size                       = new System.Drawing.Size(31, 22);
            this.EditBtn.Text                       = "Edit";
            this.EditBtn.Click                     += new EventHandler(this.EditBtn_Click);
            this.toolStripSeparator1.Name           = "toolStripSeparator1";
            this.toolStripSeparator1.Size           = new System.Drawing.Size(6, 25);
            this.BreakdownBtn.DisplayStyle          = ToolStripItemDisplayStyle.Text;
            this.BreakdownBtn.Image                 = (Image)componentResourceManager.GetObject("BreakdownBtn.Image");
            this.BreakdownBtn.ImageTransparentColor = Color.Magenta;
            this.BreakdownBtn.Name                  = "BreakdownBtn";
            this.BreakdownBtn.Size                  = new System.Drawing.Size(107, 22);
            this.BreakdownBtn.Text                  = "Ability Breakdown";
            this.BreakdownBtn.Click                += new EventHandler(this.BreakdownBtn_Click);
            this.InfoPage.Controls.Add(this.InfoSplitter);
            this.InfoPage.Location = new Point(4, 22);
            this.InfoPage.Name     = "InfoPage";
            this.InfoPage.Padding  = new System.Windows.Forms.Padding(3);
            this.InfoPage.Size     = new System.Drawing.Size(488, 289);
            this.InfoPage.TabIndex = 4;
            this.InfoPage.Text     = "Victory / Defeat Details";
            this.InfoPage.UseVisualStyleBackColor = true;
            this.InfoSplitter.Dock     = DockStyle.Fill;
            this.InfoSplitter.Location = new Point(3, 3);
            this.InfoSplitter.Name     = "InfoSplitter";
            this.InfoSplitter.Panel1.Controls.Add(this.VictoryBox);
            this.InfoSplitter.Panel1.Controls.Add(this.VictoryToolbar);
            this.InfoSplitter.Panel2.Controls.Add(this.DefeatBox);
            this.InfoSplitter.Panel2.Controls.Add(this.DefeatButton);
            this.InfoSplitter.Size             = new System.Drawing.Size(482, 283);
            this.InfoSplitter.SplitterDistance = 237;
            this.InfoSplitter.TabIndex         = 0;
            this.VictoryBox.AcceptsReturn      = true;
            this.VictoryBox.AcceptsTab         = true;
            this.VictoryBox.DefaultText        = "(enter victory information here)";
            this.VictoryBox.Dock       = DockStyle.Fill;
            this.VictoryBox.Location   = new Point(0, 25);
            this.VictoryBox.Multiline  = true;
            this.VictoryBox.Name       = "VictoryBox";
            this.VictoryBox.ScrollBars = ScrollBars.Vertical;
            this.VictoryBox.Size       = new System.Drawing.Size(237, 258);
            this.VictoryBox.TabIndex   = 1;
            this.VictoryBox.Text       = "(enter victory information here)";
            this.VictoryToolbar.Items.AddRange(new ToolStripItem[] { this.toolStripLabel1 });
            this.VictoryToolbar.Location = new Point(0, 0);
            this.VictoryToolbar.Name     = "VictoryToolbar";
            this.VictoryToolbar.Size     = new System.Drawing.Size(237, 25);
            this.VictoryToolbar.TabIndex = 0;
            this.VictoryToolbar.Text     = "toolStrip1";
            this.toolStripLabel1.Name    = "toolStripLabel1";
            this.toolStripLabel1.Size    = new System.Drawing.Size(47, 22);
            this.toolStripLabel1.Text    = "Victory:";
            this.DefeatBox.AcceptsReturn = true;
            this.DefeatBox.AcceptsTab    = true;
            this.DefeatBox.DefaultText   = "(enter defeat information here)";
            this.DefeatBox.Dock          = DockStyle.Fill;
            this.DefeatBox.Location      = new Point(0, 25);
            this.DefeatBox.Multiline     = true;
            this.DefeatBox.Name          = "DefeatBox";
            this.DefeatBox.ScrollBars    = ScrollBars.Vertical;
            this.DefeatBox.Size          = new System.Drawing.Size(241, 258);
            this.DefeatBox.TabIndex      = 2;
            this.DefeatBox.Text          = "(enter defeat information here)";
            this.DefeatButton.Items.AddRange(new ToolStripItem[] { this.toolStripLabel2 });
            this.DefeatButton.Location = new Point(0, 0);
            this.DefeatButton.Name     = "DefeatButton";
            this.DefeatButton.Size     = new System.Drawing.Size(241, 25);
            this.DefeatButton.TabIndex = 0;
            this.DefeatButton.Text     = "toolStrip2";
            this.toolStripLabel2.Name  = "toolStripLabel2";
            this.toolStripLabel2.Size  = new System.Drawing.Size(44, 22);
            this.toolStripLabel2.Text  = "Defeat:";
            this.NotesPage.Controls.Add(this.NotesBox);
            this.NotesPage.Location = new Point(4, 22);
            this.NotesPage.Name     = "NotesPage";
            this.NotesPage.Padding  = new System.Windows.Forms.Padding(3);
            this.NotesPage.Size     = new System.Drawing.Size(488, 289);
            this.NotesPage.TabIndex = 6;
            this.NotesPage.Text     = "Notes";
            this.NotesPage.UseVisualStyleBackColor = true;
            this.NotesBox.AcceptsReturn            = true;
            this.NotesBox.AcceptsTab  = true;
            this.NotesBox.DefaultText = "(enter details here)";
            this.NotesBox.Dock        = DockStyle.Fill;
            this.NotesBox.Location    = new Point(3, 3);
            this.NotesBox.Multiline   = true;
            this.NotesBox.Name        = "NotesBox";
            this.NotesBox.ScrollBars  = ScrollBars.Vertical;
            this.NotesBox.Size        = new System.Drawing.Size(482, 283);
            this.NotesBox.TabIndex    = 3;
            this.NotesBox.Text        = "(enter details here)";
            this.NameBox.Anchor       = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            this.NameBox.Location     = new Point(56, 12);
            this.NameBox.Name         = "NameBox";
            this.NameBox.Size         = new System.Drawing.Size(452, 20);
            this.NameBox.TabIndex     = 5;
            this.NameLbl.AutoSize     = true;
            this.NameLbl.Location     = new Point(12, 15);
            this.NameLbl.Name         = "NameLbl";
            this.NameLbl.Size         = new System.Drawing.Size(38, 13);
            this.NameLbl.TabIndex     = 4;
            this.NameLbl.Text         = "Name:";
            base.AcceptButton         = this.OKBtn;
            base.AutoScaleDimensions  = new SizeF(6f, 13f);
            base.AutoScaleMode        = System.Windows.Forms.AutoScaleMode.Font;
            base.CancelButton         = this.CancelBtn;
            base.ClientSize           = new System.Drawing.Size(520, 394);
            base.Controls.Add(this.Pages);
            base.Controls.Add(this.CancelBtn);
            base.Controls.Add(this.NameBox);
            base.Controls.Add(this.NameLbl);
            base.Controls.Add(this.OKBtn);
            base.MaximizeBox   = false;
            base.MinimizeBox   = false;
            base.Name          = "SkillChallengeBuilderForm";
            base.ShowIcon      = false;
            base.ShowInTaskbar = false;
            base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text          = "Skill Challenge Builder";
            this.Pages.ResumeLayout(false);
            this.OverviewPage.ResumeLayout(false);
            this.OverviewPage.PerformLayout();
            this.OverviewSplitter.Panel1.ResumeLayout(false);
            this.OverviewSplitter.Panel2.ResumeLayout(false);
            this.OverviewSplitter.ResumeLayout(false);
            this.LevelGroup.ResumeLayout(false);
            this.LevelGroup.PerformLayout();
            ((ISupportInitialize)this.LevelBox).EndInit();
            this.CompGroup.ResumeLayout(false);
            this.CompGroup.PerformLayout();
            ((ISupportInitialize)this.CompBox).EndInit();
            this.Toolbar.ResumeLayout(false);
            this.Toolbar.PerformLayout();
            this.SkillsPage.ResumeLayout(false);
            this.SkillsPage.PerformLayout();
            this.SkillSplitter.Panel1.ResumeLayout(false);
            this.SkillSplitter.Panel2.ResumeLayout(false);
            this.SkillSplitter.ResumeLayout(false);
            this.SkillsToolbar.ResumeLayout(false);
            this.SkillsToolbar.PerformLayout();
            this.InfoPage.ResumeLayout(false);
            this.InfoSplitter.Panel1.ResumeLayout(false);
            this.InfoSplitter.Panel1.PerformLayout();
            this.InfoSplitter.Panel2.ResumeLayout(false);
            this.InfoSplitter.Panel2.PerformLayout();
            this.InfoSplitter.ResumeLayout(false);
            this.VictoryToolbar.ResumeLayout(false);
            this.VictoryToolbar.PerformLayout();
            this.DefeatButton.ResumeLayout(false);
            this.DefeatButton.PerformLayout();
            this.NotesPage.ResumeLayout(false);
            this.NotesPage.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
コード例 #7
0
        public string GetDefaultText()
        {
            string text = DefaultTextBox.GetTextBoxText();

            return(text);
        }
コード例 #8
0
 private void InitializeComponent()
 {
     this.OKBtn       = new Button();
     this.CancelBtn   = new Button();
     this.NameLbl     = new Label();
     this.NameBox     = new TextBox();
     this.DetailsBox  = new DefaultTextBox();
     this.Pages       = new TabControl();
     this.DetailsPage = new TabPage();
     this.Pages.SuspendLayout();
     this.DetailsPage.SuspendLayout();
     base.SuspendLayout();
     this.OKBtn.Anchor                      = AnchorStyles.Bottom | AnchorStyles.Right;
     this.OKBtn.DialogResult                = System.Windows.Forms.DialogResult.OK;
     this.OKBtn.Location                    = new Point(269, 216);
     this.OKBtn.Name                        = "OKBtn";
     this.OKBtn.Size                        = new System.Drawing.Size(75, 23);
     this.OKBtn.TabIndex                    = 3;
     this.OKBtn.Text                        = "OK";
     this.OKBtn.UseVisualStyleBackColor     = true;
     this.OKBtn.Click                      += new EventHandler(this.OKBtn_Click);
     this.CancelBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
     this.CancelBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBtn.Location                = new Point(350, 216);
     this.CancelBtn.Name                    = "CancelBtn";
     this.CancelBtn.Size                    = new System.Drawing.Size(75, 23);
     this.CancelBtn.TabIndex                = 4;
     this.CancelBtn.Text                    = "Cancel";
     this.CancelBtn.UseVisualStyleBackColor = true;
     this.NameLbl.AutoSize                  = true;
     this.NameLbl.Location                  = new Point(12, 15);
     this.NameLbl.Name                      = "NameLbl";
     this.NameLbl.Size                      = new System.Drawing.Size(38, 13);
     this.NameLbl.TabIndex                  = 0;
     this.NameLbl.Text                      = "Name:";
     this.NameBox.Anchor                    = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
     this.NameBox.Location                  = new Point(56, 12);
     this.NameBox.Name                      = "NameBox";
     this.NameBox.Size                      = new System.Drawing.Size(369, 20);
     this.NameBox.TabIndex                  = 1;
     this.DetailsBox.AcceptsReturn          = true;
     this.DetailsBox.AcceptsTab             = true;
     this.DetailsBox.DefaultText            = "(enter details here)";
     this.DetailsBox.Dock                   = DockStyle.Fill;
     this.DetailsBox.Location               = new Point(3, 3);
     this.DetailsBox.Multiline              = true;
     this.DetailsBox.Name                   = "DetailsBox";
     this.DetailsBox.ScrollBars             = ScrollBars.Vertical;
     this.DetailsBox.Size                   = new System.Drawing.Size(399, 140);
     this.DetailsBox.TabIndex               = 0;
     this.DetailsBox.Text                   = "(enter details here)";
     this.Pages.Anchor                      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.Pages.Controls.Add(this.DetailsPage);
     this.Pages.Location      = new Point(12, 38);
     this.Pages.Name          = "Pages";
     this.Pages.SelectedIndex = 0;
     this.Pages.Size          = new System.Drawing.Size(413, 172);
     this.Pages.TabIndex      = 2;
     this.DetailsPage.Controls.Add(this.DetailsBox);
     this.DetailsPage.Location = new Point(4, 22);
     this.DetailsPage.Name     = "DetailsPage";
     this.DetailsPage.Padding  = new System.Windows.Forms.Padding(3);
     this.DetailsPage.Size     = new System.Drawing.Size(405, 146);
     this.DetailsPage.TabIndex = 0;
     this.DetailsPage.Text     = "Details";
     this.DetailsPage.UseVisualStyleBackColor = true;
     base.AcceptButton        = this.OKBtn;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     base.CancelButton        = this.CancelBtn;
     base.ClientSize          = new System.Drawing.Size(437, 251);
     base.Controls.Add(this.Pages);
     base.Controls.Add(this.NameBox);
     base.Controls.Add(this.NameLbl);
     base.Controls.Add(this.CancelBtn);
     base.Controls.Add(this.OKBtn);
     base.MinimizeBox   = false;
     base.Name          = "GoalForm";
     base.ShowIcon      = false;
     base.ShowInTaskbar = false;
     base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text          = "Goal";
     this.Pages.ResumeLayout(false);
     this.DetailsPage.ResumeLayout(false);
     this.DetailsPage.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #9
0
        private void InitializeComponent()
        {
            ListViewGroup listViewGroup = new ListViewGroup("Skill DCs", HorizontalAlignment.Left);

            this.CancelBtn   = new Button();
            this.OKBtn       = new Button();
            this.Pages       = new TabControl();
            this.DetailsPage = new TabPage();
            this.DetailsBox  = new DefaultTextBox();
            this.AdvicePage  = new TabPage();
            this.AdviceList  = new ListView();
            this.AdviceHdr   = new ColumnHeader();
            this.InfoHdr     = new ColumnHeader();
            this.Pages.SuspendLayout();
            this.DetailsPage.SuspendLayout();
            this.AdvicePage.SuspendLayout();
            base.SuspendLayout();
            this.CancelBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
            this.CancelBtn.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.CancelBtn.Location                = new Point(306, 201);
            this.CancelBtn.Name                    = "CancelBtn";
            this.CancelBtn.Size                    = new System.Drawing.Size(75, 23);
            this.CancelBtn.TabIndex                = 4;
            this.CancelBtn.Text                    = "Cancel";
            this.CancelBtn.UseVisualStyleBackColor = true;
            this.OKBtn.Anchor                  = AnchorStyles.Bottom | AnchorStyles.Right;
            this.OKBtn.DialogResult            = System.Windows.Forms.DialogResult.OK;
            this.OKBtn.Location                = new Point(225, 201);
            this.OKBtn.Name                    = "OKBtn";
            this.OKBtn.Size                    = new System.Drawing.Size(75, 23);
            this.OKBtn.TabIndex                = 3;
            this.OKBtn.Text                    = "OK";
            this.OKBtn.UseVisualStyleBackColor = true;
            this.Pages.Anchor                  = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            this.Pages.Controls.Add(this.DetailsPage);
            this.Pages.Controls.Add(this.AdvicePage);
            this.Pages.Location      = new Point(12, 12);
            this.Pages.Name          = "Pages";
            this.Pages.SelectedIndex = 0;
            this.Pages.Size          = new System.Drawing.Size(369, 183);
            this.Pages.TabIndex      = 2;
            this.DetailsPage.Controls.Add(this.DetailsBox);
            this.DetailsPage.Location = new Point(4, 22);
            this.DetailsPage.Name     = "DetailsPage";
            this.DetailsPage.Padding  = new System.Windows.Forms.Padding(3);
            this.DetailsPage.Size     = new System.Drawing.Size(361, 157);
            this.DetailsPage.TabIndex = 0;
            this.DetailsPage.Text     = "Details";
            this.DetailsPage.UseVisualStyleBackColor = true;
            this.DetailsBox.AcceptsReturn            = true;
            this.DetailsBox.AcceptsTab  = true;
            this.DetailsBox.DefaultText = "(enter countermeasure details)";
            this.DetailsBox.Dock        = DockStyle.Fill;
            this.DetailsBox.Location    = new Point(3, 3);
            this.DetailsBox.Multiline   = true;
            this.DetailsBox.Name        = "DetailsBox";
            this.DetailsBox.ScrollBars  = ScrollBars.Vertical;
            this.DetailsBox.Size        = new System.Drawing.Size(355, 151);
            this.DetailsBox.TabIndex    = 0;
            this.DetailsBox.Text        = "(enter countermeasure details)";
            this.AdvicePage.Controls.Add(this.AdviceList);
            this.AdvicePage.Location = new Point(4, 22);
            this.AdvicePage.Name     = "AdvicePage";
            this.AdvicePage.Padding  = new System.Windows.Forms.Padding(3);
            this.AdvicePage.Size     = new System.Drawing.Size(361, 157);
            this.AdvicePage.TabIndex = 1;
            this.AdvicePage.Text     = "Advice";
            this.AdvicePage.UseVisualStyleBackColor = true;
            ListView.ColumnHeaderCollection columns = this.AdviceList.Columns;
            ColumnHeader[] adviceHdr = new ColumnHeader[] { this.AdviceHdr, this.InfoHdr };
            columns.AddRange(adviceHdr);
            this.AdviceList.Dock          = DockStyle.Fill;
            this.AdviceList.FullRowSelect = true;
            listViewGroup.Header          = "Skill DCs";
            listViewGroup.Name            = "listViewGroup1";
            this.AdviceList.Groups.AddRange(new ListViewGroup[] { listViewGroup });
            this.AdviceList.HeaderStyle   = ColumnHeaderStyle.None;
            this.AdviceList.HideSelection = false;
            this.AdviceList.Location      = new Point(3, 3);
            this.AdviceList.MultiSelect   = false;
            this.AdviceList.Name          = "AdviceList";
            this.AdviceList.Size          = new System.Drawing.Size(355, 151);
            this.AdviceList.TabIndex      = 2;
            this.AdviceList.UseCompatibleStateImageBehavior = false;
            this.AdviceList.View     = View.Details;
            this.AdviceHdr.Text      = "Advice";
            this.AdviceHdr.Width     = 150;
            this.InfoHdr.Text        = "Information";
            this.InfoHdr.Width       = 100;
            base.AcceptButton        = this.OKBtn;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            base.CancelButton        = this.CancelBtn;
            base.ClientSize          = new System.Drawing.Size(393, 236);
            base.Controls.Add(this.Pages);
            base.Controls.Add(this.CancelBtn);
            base.Controls.Add(this.OKBtn);
            base.MaximizeBox   = false;
            base.MinimizeBox   = false;
            base.Name          = "TrapCountermeasureForm";
            base.ShowIcon      = false;
            base.ShowInTaskbar = false;
            base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text          = "Countermeasure";
            base.Shown        += new EventHandler(this.TrapCountermeasureForm_Shown);
            this.Pages.ResumeLayout(false);
            this.DetailsPage.ResumeLayout(false);
            this.DetailsPage.PerformLayout();
            this.AdvicePage.ResumeLayout(false);
            base.ResumeLayout(false);
        }