Mercurial > repos > WarFoundryForge
comparison FrmSystem.Designer.cs @ 14:26f7f6d2b4f8
Implement most of the buttons on the stats tab and adjust button enabling on category tab.
author | Tsudico |
---|---|
date | Sat, 18 Dec 2010 21:04:51 -0600 |
parents | 372f921c20fc |
children | 3a347947ecea |
comparison
equal
deleted
inserted
replaced
13:372f921c20fc | 14:26f7f6d2b4f8 |
---|---|
69 this.btnCategoryDown = new System.Windows.Forms.Button(); | 69 this.btnCategoryDown = new System.Windows.Forms.Button(); |
70 this.btnCategoryAdd = new System.Windows.Forms.Button(); | 70 this.btnCategoryAdd = new System.Windows.Forms.Button(); |
71 this.btnCategoryRemove = new System.Windows.Forms.Button(); | 71 this.btnCategoryRemove = new System.Windows.Forms.Button(); |
72 this.btnCategoryApply = new System.Windows.Forms.Button(); | 72 this.btnCategoryApply = new System.Windows.Forms.Button(); |
73 this.tabStats = new System.Windows.Forms.TabPage(); | 73 this.tabStats = new System.Windows.Forms.TabPage(); |
74 this.btnMoveStatDown = new System.Windows.Forms.Button(); | 74 this.btnStatListDown = new System.Windows.Forms.Button(); |
75 this.btnMoveStatUp = new System.Windows.Forms.Button(); | 75 this.btnStatListUp = new System.Windows.Forms.Button(); |
76 this.btnRemoveStat = new System.Windows.Forms.Button(); | 76 this.btnStatListRemove = new System.Windows.Forms.Button(); |
77 this.btnAddStat = new System.Windows.Forms.Button(); | 77 this.btnStatListAdd = new System.Windows.Forms.Button(); |
78 this.gbStats = new System.Windows.Forms.GroupBox(); | 78 this.gbStats = new System.Windows.Forms.GroupBox(); |
79 this.listStatNames = new System.Windows.Forms.ListBox(); | 79 this.listStatNames = new System.Windows.Forms.ListBox(); |
80 this.txtStatName = new System.Windows.Forms.TextBox(); | 80 this.txtStatName = new System.Windows.Forms.TextBox(); |
81 this.label1 = new System.Windows.Forms.Label(); | 81 this.label1 = new System.Windows.Forms.Label(); |
82 this.txtStatLineID = new System.Windows.Forms.TextBox(); | 82 this.txtStatLineID = new System.Windows.Forms.TextBox(); |
556 this.btnCategoryDown.UseVisualStyleBackColor = true; | 556 this.btnCategoryDown.UseVisualStyleBackColor = true; |
557 this.btnCategoryDown.Click += new System.EventHandler(this.btnCategoryDown_Click); | 557 this.btnCategoryDown.Click += new System.EventHandler(this.btnCategoryDown_Click); |
558 // | 558 // |
559 // btnCategoryAdd | 559 // btnCategoryAdd |
560 // | 560 // |
561 this.btnCategoryAdd.Enabled = false; | |
561 this.btnCategoryAdd.Location = new System.Drawing.Point(216, 5); | 562 this.btnCategoryAdd.Location = new System.Drawing.Point(216, 5); |
562 this.btnCategoryAdd.Name = "btnCategoryAdd"; | 563 this.btnCategoryAdd.Name = "btnCategoryAdd"; |
563 this.btnCategoryAdd.Size = new System.Drawing.Size(62, 23); | 564 this.btnCategoryAdd.Size = new System.Drawing.Size(62, 23); |
564 this.btnCategoryAdd.TabIndex = 13; | 565 this.btnCategoryAdd.TabIndex = 13; |
565 this.btnCategoryAdd.Text = "Add"; | 566 this.btnCategoryAdd.Text = "Add"; |
566 this.btnCategoryAdd.UseVisualStyleBackColor = true; | 567 this.btnCategoryAdd.UseVisualStyleBackColor = true; |
567 this.btnCategoryAdd.Click += new System.EventHandler(this.btnCategoryAdd_Click); | 568 this.btnCategoryAdd.Click += new System.EventHandler(this.btnCategoryAdd_Click); |
568 // | 569 // |
569 // btnCategoryRemove | 570 // btnCategoryRemove |
570 // | 571 // |
572 this.btnCategoryRemove.Enabled = false; | |
571 this.btnCategoryRemove.Location = new System.Drawing.Point(216, 34); | 573 this.btnCategoryRemove.Location = new System.Drawing.Point(216, 34); |
572 this.btnCategoryRemove.Name = "btnCategoryRemove"; | 574 this.btnCategoryRemove.Name = "btnCategoryRemove"; |
573 this.btnCategoryRemove.Size = new System.Drawing.Size(62, 23); | 575 this.btnCategoryRemove.Size = new System.Drawing.Size(62, 23); |
574 this.btnCategoryRemove.TabIndex = 15; | 576 this.btnCategoryRemove.TabIndex = 15; |
575 this.btnCategoryRemove.Text = "Remove"; | 577 this.btnCategoryRemove.Text = "Remove"; |
583 this.btnCategoryApply.Name = "btnCategoryApply"; | 585 this.btnCategoryApply.Name = "btnCategoryApply"; |
584 this.btnCategoryApply.Size = new System.Drawing.Size(76, 23); | 586 this.btnCategoryApply.Size = new System.Drawing.Size(76, 23); |
585 this.btnCategoryApply.TabIndex = 14; | 587 this.btnCategoryApply.TabIndex = 14; |
586 this.btnCategoryApply.Text = "Apply"; | 588 this.btnCategoryApply.Text = "Apply"; |
587 this.btnCategoryApply.UseVisualStyleBackColor = true; | 589 this.btnCategoryApply.UseVisualStyleBackColor = true; |
590 this.btnCategoryApply.Click += new System.EventHandler(this.btnCategoryApply_Click); | |
588 // | 591 // |
589 // tabStats | 592 // tabStats |
590 // | 593 // |
591 this.tabStats.Controls.Add(this.btnMoveStatDown); | 594 this.tabStats.Controls.Add(this.btnStatListDown); |
592 this.tabStats.Controls.Add(this.btnMoveStatUp); | 595 this.tabStats.Controls.Add(this.btnStatListUp); |
593 this.tabStats.Controls.Add(this.btnRemoveStat); | 596 this.tabStats.Controls.Add(this.btnStatListRemove); |
594 this.tabStats.Controls.Add(this.btnAddStat); | 597 this.tabStats.Controls.Add(this.btnStatListAdd); |
595 this.tabStats.Controls.Add(this.gbStats); | 598 this.tabStats.Controls.Add(this.gbStats); |
596 this.tabStats.Controls.Add(this.txtStatName); | 599 this.tabStats.Controls.Add(this.txtStatName); |
597 this.tabStats.Controls.Add(this.label1); | 600 this.tabStats.Controls.Add(this.label1); |
598 this.tabStats.Controls.Add(this.txtStatLineID); | 601 this.tabStats.Controls.Add(this.txtStatLineID); |
599 this.tabStats.Controls.Add(this.lblStatLineID); | 602 this.tabStats.Controls.Add(this.lblStatLineID); |
610 this.tabStats.Size = new System.Drawing.Size(582, 284); | 613 this.tabStats.Size = new System.Drawing.Size(582, 284); |
611 this.tabStats.TabIndex = 2; | 614 this.tabStats.TabIndex = 2; |
612 this.tabStats.Text = "Stat Lines"; | 615 this.tabStats.Text = "Stat Lines"; |
613 this.tabStats.UseVisualStyleBackColor = true; | 616 this.tabStats.UseVisualStyleBackColor = true; |
614 // | 617 // |
615 // btnMoveStatDown | 618 // btnStatListDown |
616 // | 619 // |
617 this.btnMoveStatDown.Enabled = false; | 620 this.btnStatListDown.Enabled = false; |
618 this.btnMoveStatDown.Location = new System.Drawing.Point(500, 205); | 621 this.btnStatListDown.Location = new System.Drawing.Point(500, 205); |
619 this.btnMoveStatDown.Name = "btnMoveStatDown"; | 622 this.btnStatListDown.Name = "btnStatListDown"; |
620 this.btnMoveStatDown.Size = new System.Drawing.Size(76, 23); | 623 this.btnStatListDown.Size = new System.Drawing.Size(76, 23); |
621 this.btnMoveStatDown.TabIndex = 25; | 624 this.btnStatListDown.TabIndex = 25; |
622 this.btnMoveStatDown.Text = "Down"; | 625 this.btnStatListDown.Text = "Down"; |
623 this.btnMoveStatDown.UseVisualStyleBackColor = true; | 626 this.btnStatListDown.UseVisualStyleBackColor = true; |
624 // | 627 this.btnStatListDown.Click += new System.EventHandler(this.btnStatListDown_Click); |
625 // btnMoveStatUp | 628 // |
626 // | 629 // btnStatListUp |
627 this.btnMoveStatUp.Enabled = false; | 630 // |
628 this.btnMoveStatUp.Location = new System.Drawing.Point(500, 176); | 631 this.btnStatListUp.Enabled = false; |
629 this.btnMoveStatUp.Name = "btnMoveStatUp"; | 632 this.btnStatListUp.Location = new System.Drawing.Point(500, 176); |
630 this.btnMoveStatUp.Size = new System.Drawing.Size(76, 23); | 633 this.btnStatListUp.Name = "btnStatListUp"; |
631 this.btnMoveStatUp.TabIndex = 24; | 634 this.btnStatListUp.Size = new System.Drawing.Size(76, 23); |
632 this.btnMoveStatUp.Text = "Up"; | 635 this.btnStatListUp.TabIndex = 24; |
633 this.btnMoveStatUp.UseVisualStyleBackColor = true; | 636 this.btnStatListUp.Text = "Up"; |
634 // | 637 this.btnStatListUp.UseVisualStyleBackColor = true; |
635 // btnRemoveStat | 638 this.btnStatListUp.Click += new System.EventHandler(this.btnStatListUp_Click); |
636 // | 639 // |
637 this.btnRemoveStat.Enabled = false; | 640 // btnStatListRemove |
638 this.btnRemoveStat.Location = new System.Drawing.Point(500, 147); | 641 // |
639 this.btnRemoveStat.Name = "btnRemoveStat"; | 642 this.btnStatListRemove.Enabled = false; |
640 this.btnRemoveStat.Size = new System.Drawing.Size(76, 23); | 643 this.btnStatListRemove.Location = new System.Drawing.Point(500, 147); |
641 this.btnRemoveStat.TabIndex = 23; | 644 this.btnStatListRemove.Name = "btnStatListRemove"; |
642 this.btnRemoveStat.Text = "Remove"; | 645 this.btnStatListRemove.Size = new System.Drawing.Size(76, 23); |
643 this.btnRemoveStat.UseVisualStyleBackColor = true; | 646 this.btnStatListRemove.TabIndex = 23; |
644 // | 647 this.btnStatListRemove.Text = "Remove"; |
645 // btnAddStat | 648 this.btnStatListRemove.UseVisualStyleBackColor = true; |
646 // | 649 this.btnStatListRemove.Click += new System.EventHandler(this.btnStatListRemove_Click); |
647 this.btnAddStat.Enabled = false; | 650 // |
648 this.btnAddStat.Location = new System.Drawing.Point(500, 118); | 651 // btnStatListAdd |
649 this.btnAddStat.Name = "btnAddStat"; | 652 // |
650 this.btnAddStat.Size = new System.Drawing.Size(76, 23); | 653 this.btnStatListAdd.Enabled = false; |
651 this.btnAddStat.TabIndex = 22; | 654 this.btnStatListAdd.Location = new System.Drawing.Point(500, 118); |
652 this.btnAddStat.Text = "Add"; | 655 this.btnStatListAdd.Name = "btnStatListAdd"; |
653 this.btnAddStat.UseVisualStyleBackColor = true; | 656 this.btnStatListAdd.Size = new System.Drawing.Size(76, 23); |
657 this.btnStatListAdd.TabIndex = 22; | |
658 this.btnStatListAdd.Text = "Add"; | |
659 this.btnStatListAdd.UseVisualStyleBackColor = true; | |
660 this.btnStatListAdd.Click += new System.EventHandler(this.btnStatListAdd_Click); | |
654 // | 661 // |
655 // gbStats | 662 // gbStats |
656 // | 663 // |
657 this.gbStats.Controls.Add(this.listStatNames); | 664 this.gbStats.Controls.Add(this.listStatNames); |
658 this.gbStats.Location = new System.Drawing.Point(290, 146); | 665 this.gbStats.Location = new System.Drawing.Point(290, 146); |
659 this.gbStats.Name = "gbStats"; | 666 this.gbStats.Name = "gbStats"; |
660 this.gbStats.Size = new System.Drawing.Size(204, 103); | 667 this.gbStats.Size = new System.Drawing.Size(204, 103); |
661 this.gbStats.TabIndex = 21; | 668 this.gbStats.TabIndex = 21; |
662 this.gbStats.TabStop = false; | 669 this.gbStats.TabStop = false; |
663 this.gbStats.Text = "Stat List"; | 670 this.gbStats.Text = "Stat Names"; |
664 // | 671 // |
665 // listStatNames | 672 // listStatNames |
666 // | 673 // |
667 this.listStatNames.FormattingEnabled = true; | 674 this.listStatNames.FormattingEnabled = true; |
668 this.listStatNames.Location = new System.Drawing.Point(7, 20); | 675 this.listStatNames.Location = new System.Drawing.Point(7, 20); |
669 this.listStatNames.Name = "listStatNames"; | 676 this.listStatNames.Name = "listStatNames"; |
670 this.listStatNames.Size = new System.Drawing.Size(191, 69); | 677 this.listStatNames.Size = new System.Drawing.Size(191, 69); |
671 this.listStatNames.TabIndex = 0; | 678 this.listStatNames.TabIndex = 0; |
679 this.listStatNames.SelectedIndexChanged += new System.EventHandler(this.listStatNames_SelectedIndexChanged); | |
672 // | 680 // |
673 // txtStatName | 681 // txtStatName |
674 // | 682 // |
675 this.txtStatName.Location = new System.Drawing.Point(368, 120); | 683 this.txtStatName.Location = new System.Drawing.Point(368, 120); |
676 this.txtStatName.Name = "txtStatName"; | 684 this.txtStatName.Name = "txtStatName"; |
677 this.txtStatName.Size = new System.Drawing.Size(126, 20); | 685 this.txtStatName.Size = new System.Drawing.Size(126, 20); |
678 this.txtStatName.TabIndex = 20; | 686 this.txtStatName.TabIndex = 20; |
687 this.txtStatName.TextChanged += new System.EventHandler(this.txtStatName_TextChanged); | |
679 // | 688 // |
680 // label1 | 689 // label1 |
681 // | 690 // |
682 this.label1.AutoSize = true; | 691 this.label1.AutoSize = true; |
683 this.label1.Location = new System.Drawing.Point(290, 123); | 692 this.label1.Location = new System.Drawing.Point(290, 123); |
690 // | 699 // |
691 this.txtStatLineID.Location = new System.Drawing.Point(368, 93); | 700 this.txtStatLineID.Location = new System.Drawing.Point(368, 93); |
692 this.txtStatLineID.Name = "txtStatLineID"; | 701 this.txtStatLineID.Name = "txtStatLineID"; |
693 this.txtStatLineID.Size = new System.Drawing.Size(126, 20); | 702 this.txtStatLineID.Size = new System.Drawing.Size(126, 20); |
694 this.txtStatLineID.TabIndex = 18; | 703 this.txtStatLineID.TabIndex = 18; |
704 this.txtStatLineID.TextChanged += new System.EventHandler(this.txtStatLineID_TextChanged); | |
695 // | 705 // |
696 // lblStatLineID | 706 // lblStatLineID |
697 // | 707 // |
698 this.lblStatLineID.AutoSize = true; | 708 this.lblStatLineID.AutoSize = true; |
699 this.lblStatLineID.Location = new System.Drawing.Point(290, 96); | 709 this.lblStatLineID.Location = new System.Drawing.Point(290, 96); |
721 this.btnStatLineApply.Name = "btnStatLineApply"; | 731 this.btnStatLineApply.Name = "btnStatLineApply"; |
722 this.btnStatLineApply.Size = new System.Drawing.Size(76, 23); | 732 this.btnStatLineApply.Size = new System.Drawing.Size(76, 23); |
723 this.btnStatLineApply.TabIndex = 15; | 733 this.btnStatLineApply.TabIndex = 15; |
724 this.btnStatLineApply.Text = "Apply"; | 734 this.btnStatLineApply.Text = "Apply"; |
725 this.btnStatLineApply.UseVisualStyleBackColor = true; | 735 this.btnStatLineApply.UseVisualStyleBackColor = true; |
736 this.btnStatLineApply.Click += new System.EventHandler(this.btnStatLineApply_Click); | |
726 // | 737 // |
727 // lblStatLinePreview | 738 // lblStatLinePreview |
728 // | 739 // |
729 this.lblStatLinePreview.AutoSize = true; | 740 this.lblStatLinePreview.AutoSize = true; |
730 this.lblStatLinePreview.Location = new System.Drawing.Point(290, 11); | 741 this.lblStatLinePreview.Location = new System.Drawing.Point(290, 11); |
733 this.lblStatLinePreview.TabIndex = 12; | 744 this.lblStatLinePreview.TabIndex = 12; |
734 this.lblStatLinePreview.Text = "Stat Line Preview:"; | 745 this.lblStatLinePreview.Text = "Stat Line Preview:"; |
735 // | 746 // |
736 // btnStatsDefault | 747 // btnStatsDefault |
737 // | 748 // |
749 this.btnStatsDefault.Enabled = false; | |
738 this.btnStatsDefault.Location = new System.Drawing.Point(203, 64); | 750 this.btnStatsDefault.Location = new System.Drawing.Point(203, 64); |
739 this.btnStatsDefault.Name = "btnStatsDefault"; | 751 this.btnStatsDefault.Name = "btnStatsDefault"; |
740 this.btnStatsDefault.Size = new System.Drawing.Size(81, 23); | 752 this.btnStatsDefault.Size = new System.Drawing.Size(81, 23); |
741 this.btnStatsDefault.TabIndex = 11; | 753 this.btnStatsDefault.TabIndex = 11; |
742 this.btnStatsDefault.Text = "Make Default"; | 754 this.btnStatsDefault.Text = "Make Default"; |
772 this.chStatsDefault.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 784 this.chStatsDefault.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |
773 this.chStatsDefault.Width = 50; | 785 this.chStatsDefault.Width = 50; |
774 // | 786 // |
775 // btnStatsRemove | 787 // btnStatsRemove |
776 // | 788 // |
789 this.btnStatsRemove.Enabled = false; | |
777 this.btnStatsRemove.Location = new System.Drawing.Point(203, 35); | 790 this.btnStatsRemove.Location = new System.Drawing.Point(203, 35); |
778 this.btnStatsRemove.Name = "btnStatsRemove"; | 791 this.btnStatsRemove.Name = "btnStatsRemove"; |
779 this.btnStatsRemove.Size = new System.Drawing.Size(81, 23); | 792 this.btnStatsRemove.Size = new System.Drawing.Size(81, 23); |
780 this.btnStatsRemove.TabIndex = 9; | 793 this.btnStatsRemove.TabIndex = 9; |
781 this.btnStatsRemove.Text = "Remove"; | 794 this.btnStatsRemove.Text = "Remove"; |
782 this.btnStatsRemove.UseVisualStyleBackColor = true; | 795 this.btnStatsRemove.UseVisualStyleBackColor = true; |
796 this.btnStatsRemove.Click += new System.EventHandler(this.btnStatsRemove_Click); | |
783 // | 797 // |
784 // btnStatsAdd | 798 // btnStatsAdd |
785 // | 799 // |
800 this.btnStatsAdd.Enabled = false; | |
786 this.btnStatsAdd.Location = new System.Drawing.Point(203, 6); | 801 this.btnStatsAdd.Location = new System.Drawing.Point(203, 6); |
787 this.btnStatsAdd.Name = "btnStatsAdd"; | 802 this.btnStatsAdd.Name = "btnStatsAdd"; |
788 this.btnStatsAdd.Size = new System.Drawing.Size(81, 23); | 803 this.btnStatsAdd.Size = new System.Drawing.Size(81, 23); |
789 this.btnStatsAdd.TabIndex = 7; | 804 this.btnStatsAdd.TabIndex = 7; |
790 this.btnStatsAdd.Text = "Add"; | 805 this.btnStatsAdd.Text = "Add"; |
877 private System.Windows.Forms.Button btnStatLineApply; | 892 private System.Windows.Forms.Button btnStatLineApply; |
878 private System.Windows.Forms.TextBox txtStatName; | 893 private System.Windows.Forms.TextBox txtStatName; |
879 private System.Windows.Forms.Label label1; | 894 private System.Windows.Forms.Label label1; |
880 private System.Windows.Forms.TextBox txtStatLineID; | 895 private System.Windows.Forms.TextBox txtStatLineID; |
881 private System.Windows.Forms.Label lblStatLineID; | 896 private System.Windows.Forms.Label lblStatLineID; |
882 private System.Windows.Forms.Button btnRemoveStat; | 897 private System.Windows.Forms.Button btnStatListRemove; |
883 private System.Windows.Forms.Button btnAddStat; | 898 private System.Windows.Forms.Button btnStatListAdd; |
884 private System.Windows.Forms.GroupBox gbStats; | 899 private System.Windows.Forms.GroupBox gbStats; |
885 private System.Windows.Forms.Button btnMoveStatDown; | 900 private System.Windows.Forms.Button btnStatListDown; |
886 private System.Windows.Forms.Button btnMoveStatUp; | 901 private System.Windows.Forms.Button btnStatListUp; |
887 private System.Windows.Forms.ListBox listStatNames; | 902 private System.Windows.Forms.ListBox listStatNames; |
888 | 903 |
889 } | 904 } |
890 } | 905 } |