// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>\r
//\r
-// This program is part of KancolleSniffer.\r
+// Licensed under the Apache License, Version 2.0 (the "License");\r
+// you may not use this file except in compliance with the License.\r
+// You may obtain a copy of the License at\r
//\r
-// KancolleSniffer is free software: you can redistribute it and/or modify\r
-// it under the terms of the GNU General Public License as published by\r
-// the Free Software Foundation, either version 3 of the License, or\r
-// (at your option) any later version.\r
+// http://www.apache.org/licenses/LICENSE-2.0\r
//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, see <http://www.gnu.org/licenses/>.\r
+// Unless required by applicable law or agreed to in writing, software\r
+// distributed under the License is distributed on an "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+// See the License for the specific language governing permissions and\r
+// limitations under the License.\r
\r
namespace KancolleSniffer\r
{\r
this.labelSystemIcon = new System.Windows.Forms.Label();\r
this.labelMessage = new System.Windows.Forms.Label();\r
this.label1 = new System.Windows.Forms.Label();\r
+ this.checkBoxDisable = new System.Windows.Forms.CheckBox();\r
+ this.buttonCopyToClipboard = new System.Windows.Forms.Button();\r
this.SuspendLayout();\r
// \r
// textBoxDetails\r
// \r
- this.textBoxDetails.Location = new System.Drawing.Point(14, 72);\r
+ this.textBoxDetails.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) \r
+ | System.Windows.Forms.AnchorStyles.Left) \r
+ | System.Windows.Forms.AnchorStyles.Right)));\r
+ this.textBoxDetails.Font = new System.Drawing.Font("MS ゴシック", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));\r
+ this.textBoxDetails.Location = new System.Drawing.Point(9, 73);\r
this.textBoxDetails.Multiline = true;\r
this.textBoxDetails.Name = "textBoxDetails";\r
this.textBoxDetails.ReadOnly = true;\r
- this.textBoxDetails.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;\r
- this.textBoxDetails.Size = new System.Drawing.Size(348, 162);\r
+ this.textBoxDetails.ScrollBars = System.Windows.Forms.ScrollBars.Both;\r
+ this.textBoxDetails.Size = new System.Drawing.Size(315, 144);\r
this.textBoxDetails.TabIndex = 5;\r
this.textBoxDetails.WordWrap = false;\r
// \r
// buttonContinue\r
// \r
+ this.buttonContinue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));\r
this.buttonContinue.DialogResult = System.Windows.Forms.DialogResult.Ignore;\r
- this.buttonContinue.Location = new System.Drawing.Point(206, 248);\r
+ this.buttonContinue.Location = new System.Drawing.Point(160, 230);\r
this.buttonContinue.Name = "buttonContinue";\r
this.buttonContinue.Size = new System.Drawing.Size(75, 23);\r
- this.buttonContinue.TabIndex = 4;\r
+ this.buttonContinue.TabIndex = 3;\r
this.buttonContinue.Text = "継続";\r
this.buttonContinue.UseVisualStyleBackColor = true;\r
// \r
// buttonExit\r
// \r
+ this.buttonExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));\r
this.buttonExit.DialogResult = System.Windows.Forms.DialogResult.Abort;\r
- this.buttonExit.Location = new System.Drawing.Point(287, 248);\r
+ this.buttonExit.Location = new System.Drawing.Point(241, 230);\r
this.buttonExit.Name = "buttonExit";\r
this.buttonExit.Size = new System.Drawing.Size(75, 23);\r
- this.buttonExit.TabIndex = 3;\r
+ this.buttonExit.TabIndex = 4;\r
this.buttonExit.Text = "終了";\r
this.buttonExit.UseVisualStyleBackColor = true;\r
// \r
// \r
// labelMessage\r
// \r
- this.labelMessage.Location = new System.Drawing.Point(62, 12);\r
+ this.labelMessage.Location = new System.Drawing.Point(57, 12);\r
this.labelMessage.Name = "labelMessage";\r
- this.labelMessage.Size = new System.Drawing.Size(300, 32);\r
+ this.labelMessage.Size = new System.Drawing.Size(255, 32);\r
this.labelMessage.TabIndex = 1;\r
this.labelMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;\r
// \r
this.label1.TabIndex = 2;\r
this.label1.Text = "エラーの詳細";\r
// \r
+ // checkBoxDisable\r
+ // \r
+ this.checkBoxDisable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
+ this.checkBoxDisable.AutoSize = true;\r
+ this.checkBoxDisable.Location = new System.Drawing.Point(9, 234);\r
+ this.checkBoxDisable.Name = "checkBoxDisable";\r
+ this.checkBoxDisable.Size = new System.Drawing.Size(133, 16);\r
+ this.checkBoxDisable.TabIndex = 6;\r
+ this.checkBoxDisable.Text = "一時的に表示を止める";\r
+ this.checkBoxDisable.UseVisualStyleBackColor = true;\r
+ // \r
+ // buttonCopyToClipboard\r
+ // \r
+ this.buttonCopyToClipboard.AutoSize = true;\r
+ this.buttonCopyToClipboard.Location = new System.Drawing.Point(228, 77);\r
+ this.buttonCopyToClipboard.Name = "buttonCopyToClipboard";\r
+ this.buttonCopyToClipboard.Size = new System.Drawing.Size(75, 23);\r
+ this.buttonCopyToClipboard.TabIndex = 7;\r
+ this.buttonCopyToClipboard.Text = "すべてコピー";\r
+ this.buttonCopyToClipboard.UseVisualStyleBackColor = true;\r
+ this.buttonCopyToClipboard.Click += new System.EventHandler(this.buttonCopyToClipboard_Click);\r
+ // \r
// ErrorDialog\r
// \r
- this.AcceptButton = this.buttonExit;\r
+ this.AcceptButton = this.buttonContinue;\r
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);\r
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
- this.CancelButton = this.buttonContinue;\r
- this.ClientSize = new System.Drawing.Size(374, 283);\r
+ this.ClientSize = new System.Drawing.Size(334, 265);\r
+ this.Controls.Add(this.buttonCopyToClipboard);\r
+ this.Controls.Add(this.checkBoxDisable);\r
this.Controls.Add(this.label1);\r
this.Controls.Add(this.labelMessage);\r
this.Controls.Add(this.labelSystemIcon);\r
private System.Windows.Forms.Label labelSystemIcon;\r
private System.Windows.Forms.Label labelMessage;\r
private System.Windows.Forms.Label label1;\r
+ private System.Windows.Forms.CheckBox checkBoxDisable;\r
+ private System.Windows.Forms.Button buttonCopyToClipboard;\r
}\r
}
\ No newline at end of file