Changeset 109


Ignore:
Timestamp:
Aug 30, 2008, 3:35:44 PM (16 years ago)
Author:
rryu
Message:

選択したパターンの詳細を表示するようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/ConfigurationForm.cs

    r108 r109  
    3737        private LinkLabel linkWebSite;
    3838        private Label label1;
     39        private Label label3;
     40        private Label label4;
     41        private Label lblAuthor;
     42        private Label lblVersion;
     43        private Label label9;
     44        private Label lblTitle;
    3945                private System.ComponentModel.IContainer components;
    4046
     
    9197            this.linkWebSite = new System.Windows.Forms.LinkLabel();
    9298            this.label1 = new System.Windows.Forms.Label();
     99            this.label3 = new System.Windows.Forms.Label();
     100            this.label4 = new System.Windows.Forms.Label();
     101            this.lblAuthor = new System.Windows.Forms.Label();
     102            this.lblVersion = new System.Windows.Forms.Label();
     103            this.label9 = new System.Windows.Forms.Label();
     104            this.lblTitle = new System.Windows.Forms.Label();
    93105            this.groupBox1.SuspendLayout();
    94106            ((System.ComponentModel.ISupportInitialize)(this.trackBarOpacity)).BeginInit();
     
    116128                        | System.Windows.Forms.AnchorStyles.Right)));
    117129            this.checkMouseMessage.FlatStyle = System.Windows.Forms.FlatStyle.System;
    118             this.checkMouseMessage.Location = new System.Drawing.Point(198, 255);
     130            this.checkMouseMessage.Location = new System.Drawing.Point(214, 255);
    119131            this.checkMouseMessage.Name = "checkMouseMessage";
    120             this.checkMouseMessage.Size = new System.Drawing.Size(284, 16);
     132            this.checkMouseMessage.Size = new System.Drawing.Size(268, 16);
    121133            this.checkMouseMessage.TabIndex = 6;
    122134            this.checkMouseMessage.Text = "ƒ}ƒEƒX‚Ì“®ì‚ð”w–ʂ̃EƒBƒ“ƒhƒE‚Ö“`‚¦‚é(&T)";
     
    142154            this.listViewFaces.MultiSelect = false;
    143155            this.listViewFaces.Name = "listViewFaces";
    144             this.listViewFaces.Size = new System.Drawing.Size(178, 325);
     156            this.listViewFaces.Size = new System.Drawing.Size(196, 325);
    145157            this.listViewFaces.TabIndex = 12;
    146158            this.listViewFaces.UseCompatibleStateImageBehavior = false;
     
    156168            this.groupBox1.Controls.Add(this.trackBarOpacity);
    157169            this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
    158             this.groupBox1.Location = new System.Drawing.Point(198, 123);
     170            this.groupBox1.Location = new System.Drawing.Point(214, 123);
    159171            this.groupBox1.Name = "groupBox1";
    160             this.groupBox1.Size = new System.Drawing.Size(284, 60);
     172            this.groupBox1.Size = new System.Drawing.Size(268, 60);
    161173            this.groupBox1.TabIndex = 19;
    162174            this.groupBox1.TabStop = false;
     
    166178            //
    167179            this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    168             this.label5.Location = new System.Drawing.Point(228, 24);
     180            this.label5.Location = new System.Drawing.Point(212, 24);
    169181            this.label5.Name = "label5";
    170182            this.label5.Size = new System.Drawing.Size(48, 11);
     
    190202            this.trackBarOpacity.Minimum = 5;
    191203            this.trackBarOpacity.Name = "trackBarOpacity";
    192             this.trackBarOpacity.Size = new System.Drawing.Size(176, 45);
     204            this.trackBarOpacity.Size = new System.Drawing.Size(160, 45);
    193205            this.trackBarOpacity.TabIndex = 9;
    194206            this.trackBarOpacity.TickFrequency = 10;
     
    204216            this.groupBox2.Controls.Add(this.trackBarPatternSize);
    205217            this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
    206             this.groupBox2.Location = new System.Drawing.Point(198, 189);
     218            this.groupBox2.Location = new System.Drawing.Point(214, 189);
    207219            this.groupBox2.Name = "groupBox2";
    208             this.groupBox2.Size = new System.Drawing.Size(284, 60);
     220            this.groupBox2.Size = new System.Drawing.Size(268, 60);
    209221            this.groupBox2.TabIndex = 20;
    210222            this.groupBox2.TabStop = false;
     
    214226            //
    215227            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    216             this.label7.Location = new System.Drawing.Point(236, 24);
     228            this.label7.Location = new System.Drawing.Point(220, 24);
    217229            this.label7.Name = "label7";
    218230            this.label7.Size = new System.Drawing.Size(40, 11);
     
    238250            this.trackBarPatternSize.Minimum = 10;
    239251            this.trackBarPatternSize.Name = "trackBarPatternSize";
    240             this.trackBarPatternSize.Size = new System.Drawing.Size(176, 45);
     252            this.trackBarPatternSize.Size = new System.Drawing.Size(160, 45);
    241253            this.trackBarPatternSize.TabIndex = 19;
    242254            this.trackBarPatternSize.TickFrequency = 10;
     
    248260            this.linkWebSite.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    249261                        | System.Windows.Forms.AnchorStyles.Right)));
    250             this.linkWebSite.Location = new System.Drawing.Point(265, 12);
     262            this.linkWebSite.AutoSize = true;
     263            this.linkWebSite.Location = new System.Drawing.Point(283, 66);
    251264            this.linkWebSite.Name = "linkWebSite";
    252             this.linkWebSite.Size = new System.Drawing.Size(217, 16);
     265            this.linkWebSite.Size = new System.Drawing.Size(0, 12);
    253266            this.linkWebSite.TabIndex = 14;
    254267            this.linkWebSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkWebSite_LinkClicked);
     
    256269            // label1
    257270            //
    258             this.label1.Location = new System.Drawing.Point(196, 12);
     271            this.label1.Location = new System.Drawing.Point(214, 66);
    259272            this.label1.Name = "label1";
    260273            this.label1.Size = new System.Drawing.Size(63, 17);
     
    262275            this.label1.Text = "ƒEƒFƒuƒTƒCƒg:";
    263276            //
     277            // label3
     278            //
     279            this.label3.Location = new System.Drawing.Point(214, 32);
     280            this.label3.Name = "label3";
     281            this.label3.Size = new System.Drawing.Size(63, 17);
     282            this.label3.TabIndex = 22;
     283            this.label3.Text = "»ìŽÒ:";
     284            //
     285            // label4
     286            //
     287            this.label4.Location = new System.Drawing.Point(214, 49);
     288            this.label4.Name = "label4";
     289            this.label4.Size = new System.Drawing.Size(63, 17);
     290            this.label4.TabIndex = 22;
     291            this.label4.Text = "ƒo[ƒWƒ‡ƒ“:";
     292            //
     293            // lblAuthor
     294            //
     295            this.lblAuthor.AutoSize = true;
     296            this.lblAuthor.Location = new System.Drawing.Point(283, 32);
     297            this.lblAuthor.Name = "lblAuthor";
     298            this.lblAuthor.Size = new System.Drawing.Size(17, 12);
     299            this.lblAuthor.TabIndex = 23;
     300            this.lblAuthor.Text = "--";
     301            //
     302            // lblVersion
     303            //
     304            this.lblVersion.AutoSize = true;
     305            this.lblVersion.Location = new System.Drawing.Point(283, 49);
     306            this.lblVersion.Name = "lblVersion";
     307            this.lblVersion.Size = new System.Drawing.Size(17, 12);
     308            this.lblVersion.TabIndex = 24;
     309            this.lblVersion.Text = "--";
     310            //
     311            // label9
     312            //
     313            this.label9.Location = new System.Drawing.Point(214, 15);
     314            this.label9.Name = "label9";
     315            this.label9.Size = new System.Drawing.Size(63, 17);
     316            this.label9.TabIndex = 22;
     317            this.label9.Text = "–¼Ì:";
     318            //
     319            // lblTitle
     320            //
     321            this.lblTitle.AutoSize = true;
     322            this.lblTitle.Location = new System.Drawing.Point(283, 15);
     323            this.lblTitle.Name = "lblTitle";
     324            this.lblTitle.Size = new System.Drawing.Size(17, 12);
     325            this.lblTitle.TabIndex = 23;
     326            this.lblTitle.Text = "--";
     327            //
    264328            // ConfigurationForm
    265329            //
    266330            this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
    267331            this.ClientSize = new System.Drawing.Size(494, 349);
     332            this.Controls.Add(this.lblVersion);
     333            this.Controls.Add(this.lblTitle);
     334            this.Controls.Add(this.lblAuthor);
     335            this.Controls.Add(this.label9);
     336            this.Controls.Add(this.label4);
     337            this.Controls.Add(this.label3);
    268338            this.Controls.Add(this.groupBox2);
    269339            this.Controls.Add(this.groupBox1);
     
    288358            ((System.ComponentModel.ISupportInitialize)(this.trackBarPatternSize)).EndInit();
    289359            this.ResumeLayout(false);
     360            this.PerformLayout();
    290361
    291362                }
     
    398469                        {
    399470                                ListViewItem item = listViewFaces.SelectedItems[0];
    400                                 linkWebSite.Text = item.SubItems[4].Text;
    401 
    402                                 _config.FaceDefPath = item.SubItems[1].Text;
     471                lblTitle.Text = item.Text;
     472                lblAuthor.Text = item.SubItems[2].Text;
     473                lblVersion.Text = item.SubItems[3].Text;
     474                linkWebSite.Text = item.SubItems[4].Text;
     475
     476                _config.FaceDefPath = item.SubItems[1].Text;
    403477                                ConfigChanged();
    404                         }
     478            }
    405479                        else
    406480                        {
    407                                 linkWebSite.Text = "";
     481                lblTitle.Text = "";
     482                lblAuthor.Text = "";
     483                lblVersion.Text = "";
     484                linkWebSite.Text = "";
    408485                        }
    409486                }
Note: See TracChangeset for help on using the changeset viewer.