root/lang/csharp/MTFileUploader/MTFileUploader/MainForm.Designer.cs

Revision 13652, 13.9 kB (checked in by mayuki, 7 months ago)

アイテムを右クリックとDelキーで削除できるようにしてみた。

  • Property svn:keywords set to Id
Line 
1namespace MTFileUploader
2{
3    partial class MainForm
4    {
5        /// <summary>
6        /// Required designer variable.
7        /// </summary>
8        private System.ComponentModel.IContainer components = null;
9
10        /// <summary>
11        /// Clean up any resources being used.
12        /// </summary>
13        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14        protected override void Dispose(bool disposing)
15        {
16            if (disposing && (components != null))
17            {
18                components.Dispose();
19            }
20            base.Dispose(disposing);
21        }
22
23        #region Windows Form Designer generated code
24
25        /// <summary>
26        /// Required method for Designer support - do not modify
27        /// the contents of this method with the code editor.
28        /// </summary>
29        private void InitializeComponent()
30        {
31            this.components = new System.ComponentModel.Container();
32            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
33            this.lvUploadFiles = new System.Windows.Forms.ListView();
34            this.columnHeaderName = new System.Windows.Forms.ColumnHeader();
35            this.columnHeaderServerPath = new System.Windows.Forms.ColumnHeader();
36            this.columnHeaderLocalFilePath = new System.Windows.Forms.ColumnHeader();
37            this.imageList = new System.Windows.Forms.ImageList(this.components);
38            this.statusStrip = new System.Windows.Forms.StatusStrip();
39            this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
40            this.panel1 = new System.Windows.Forms.Panel();
41            this.comboSites = new System.Windows.Forms.ComboBox();
42            this.label2 = new System.Windows.Forms.Label();
43            this.btnSettings = new System.Windows.Forms.Button();
44            this.label1 = new System.Windows.Forms.Label();
45            this.txtUploadPath = new System.Windows.Forms.TextBox();
46            this.btnUpload = new System.Windows.Forms.Button();
47            this.backgroundWorker = new System.ComponentModel.BackgroundWorker();
48            this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
49            this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
50            this.statusStrip.SuspendLayout();
51            this.panel1.SuspendLayout();
52            this.contextMenuStrip.SuspendLayout();
53            this.SuspendLayout();
54            //
55            // lvUploadFiles
56            //
57            this.lvUploadFiles.Activation = System.Windows.Forms.ItemActivation.OneClick;
58            this.lvUploadFiles.AllowDrop = true;
59            this.lvUploadFiles.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
60                        | System.Windows.Forms.AnchorStyles.Left)
61                        | System.Windows.Forms.AnchorStyles.Right)));
62            this.lvUploadFiles.BorderStyle = System.Windows.Forms.BorderStyle.None;
63            this.lvUploadFiles.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
64            this.columnHeaderName,
65            this.columnHeaderServerPath,
66            this.columnHeaderLocalFilePath});
67            this.lvUploadFiles.FullRowSelect = true;
68            this.lvUploadFiles.Location = new System.Drawing.Point(0, 0);
69            this.lvUploadFiles.Name = "lvUploadFiles";
70            this.lvUploadFiles.Size = new System.Drawing.Size(512, 234);
71            this.lvUploadFiles.SmallImageList = this.imageList;
72            this.lvUploadFiles.TabIndex = 1;
73            this.lvUploadFiles.UseCompatibleStateImageBehavior = false;
74            this.lvUploadFiles.View = System.Windows.Forms.View.Details;
75            this.lvUploadFiles.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvUploadFiles_DragDrop);
76            this.lvUploadFiles.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.lvUploadFiles_ItemSelectionChanged);
77            this.lvUploadFiles.DragEnter += new System.Windows.Forms.DragEventHandler(this.lvUploadFiles_DragEnter);
78            this.lvUploadFiles.KeyUp += new System.Windows.Forms.KeyEventHandler(this.lvUploadFiles_KeyUp);
79            //
80            // columnHeaderName
81            //
82            this.columnHeaderName.Text = "名前";
83            this.columnHeaderName.Width = 168;
84            //
85            // columnHeaderServerPath
86            //
87            this.columnHeaderServerPath.Text = "サーバ上のパス";
88            this.columnHeaderServerPath.Width = 232;
89            //
90            // columnHeaderLocalFilePath
91            //
92            this.columnHeaderLocalFilePath.Text = "ファイルのパス";
93            //
94            // imageList
95            //
96            this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
97            this.imageList.TransparentColor = System.Drawing.Color.Transparent;
98            this.imageList.Images.SetKeyName(0, "Image_File");
99            this.imageList.Images.SetKeyName(1, "Error");
100            this.imageList.Images.SetKeyName(2, "Done");
101            this.imageList.Images.SetKeyName(3, "Publish");
102            //
103            // statusStrip
104            //
105            this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
106            this.toolStripStatusLabel});
107            this.statusStrip.Location = new System.Drawing.Point(0, 307);
108            this.statusStrip.Name = "statusStrip";
109            this.statusStrip.Size = new System.Drawing.Size(512, 22);
110            this.statusStrip.TabIndex = 2;
111            this.statusStrip.Text = "statusStrip1";
112            //
113            // toolStripStatusLabel
114            //
115            this.toolStripStatusLabel.Font = new System.Drawing.Font("MS UI Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
116            this.toolStripStatusLabel.Name = "toolStripStatusLabel";
117            this.toolStripStatusLabel.Size = new System.Drawing.Size(205, 17);
118            this.toolStripStatusLabel.Text = "アップロードするファイルをドロップしてください";
119            //
120            // panel1
121            //
122            this.panel1.Controls.Add(this.comboSites);
123            this.panel1.Controls.Add(this.label2);
124            this.panel1.Controls.Add(this.btnSettings);
125            this.panel1.Controls.Add(this.label1);
126            this.panel1.Controls.Add(this.txtUploadPath);
127            this.panel1.Controls.Add(this.btnUpload);
128            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
129            this.panel1.Location = new System.Drawing.Point(0, 240);
130            this.panel1.Name = "panel1";
131            this.panel1.Size = new System.Drawing.Size(512, 67);
132            this.panel1.TabIndex = 3;
133            //
134            // comboSites
135            //
136            this.comboSites.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
137                        | System.Windows.Forms.AnchorStyles.Right)));
138            this.comboSites.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
139            this.comboSites.FormattingEnabled = true;
140            this.comboSites.Location = new System.Drawing.Point(104, 7);
141            this.comboSites.Name = "comboSites";
142            this.comboSites.Size = new System.Drawing.Size(286, 20);
143            this.comboSites.TabIndex = 5;
144            this.comboSites.SelectedIndexChanged += new System.EventHandler(this.comboSites_SelectedIndexChanged);
145            //
146            // label2
147            //
148            this.label2.AutoSize = true;
149            this.label2.Location = new System.Drawing.Point(12, 11);
150            this.label2.Name = "label2";
151            this.label2.Size = new System.Drawing.Size(85, 12);
152            this.label2.TabIndex = 4;
153            this.label2.Text = "接続先サイト(&S):";
154            //
155            // btnSettings
156            //
157            this.btnSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
158            this.btnSettings.Location = new System.Drawing.Point(396, 35);
159            this.btnSettings.Name = "btnSettings";
160            this.btnSettings.Size = new System.Drawing.Size(104, 23);
161            this.btnSettings.TabIndex = 3;
162            this.btnSettings.Text = "設定(&C)...";
163            this.btnSettings.UseVisualStyleBackColor = true;
164            this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click);
165            //
166            // label1
167            //
168            this.label1.AutoSize = true;
169            this.label1.Location = new System.Drawing.Point(3, 40);
170            this.label1.Name = "label1";
171            this.label1.Size = new System.Drawing.Size(94, 12);
172            this.label1.TabIndex = 2;
173            this.label1.Text = "アップロードパス(&P):";
174            //
175            // txtUploadPath
176            //
177            this.txtUploadPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
178                        | System.Windows.Forms.AnchorStyles.Right)));
179            this.txtUploadPath.Location = new System.Drawing.Point(104, 37);
180            this.txtUploadPath.Name = "txtUploadPath";
181            this.txtUploadPath.Size = new System.Drawing.Size(286, 19);
182            this.txtUploadPath.TabIndex = 1;
183            this.txtUploadPath.TextChanged += new System.EventHandler(this.txtUploadPath_TextChanged);
184            //
185            // btnUpload
186            //
187            this.btnUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
188            this.btnUpload.Location = new System.Drawing.Point(396, 6);
189            this.btnUpload.Name = "btnUpload";
190            this.btnUpload.Size = new System.Drawing.Size(104, 23);
191            this.btnUpload.TabIndex = 0;
192            this.btnUpload.Text = "アップロード(&U)";
193            this.btnUpload.UseVisualStyleBackColor = true;
194            this.btnUpload.Click += new System.EventHandler(this.btnUpload_Click);
195            //
196            // backgroundWorker
197            //
198            this.backgroundWorker.WorkerReportsProgress = true;
199            this.backgroundWorker.WorkerSupportsCancellation = true;
200            this.backgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork);
201            this.backgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted);
202            this.backgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged);
203            //
204            // contextMenuStrip
205            //
206            this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
207            this.deleteToolStripMenuItem});
208            this.contextMenuStrip.Name = "contextMenuStrip";
209            this.contextMenuStrip.Size = new System.Drawing.Size(147, 26);
210            //
211            // deleteToolStripMenuItem
212            //
213            this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
214            this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
215            this.deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
216            this.deleteToolStripMenuItem.Text = "削除(&D)";
217            this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
218            //
219            // MainForm
220            //
221            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
222            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
223            this.ClientSize = new System.Drawing.Size(512, 329);
224            this.Controls.Add(this.panel1);
225            this.Controls.Add(this.statusStrip);
226            this.Controls.Add(this.lvUploadFiles);
227            this.Name = "MainForm";
228            this.Text = "MTFileUploader";
229            this.statusStrip.ResumeLayout(false);
230            this.statusStrip.PerformLayout();
231            this.panel1.ResumeLayout(false);
232            this.panel1.PerformLayout();
233            this.contextMenuStrip.ResumeLayout(false);
234            this.ResumeLayout(false);
235            this.PerformLayout();
236
237        }
238
239        #endregion
240
241        private System.Windows.Forms.ListView lvUploadFiles;
242        private System.Windows.Forms.ColumnHeader name;
243        private System.Windows.Forms.ColumnHeader serverPath;
244        private System.Windows.Forms.ColumnHeader columnHeaderName;
245        private System.Windows.Forms.ColumnHeader columnHeaderServerPath;
246        private System.Windows.Forms.ColumnHeader columnHeaderLocalFilePath;
247        private System.Windows.Forms.ImageList imageList;
248        private System.Windows.Forms.StatusStrip statusStrip;
249        private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel;
250        private System.Windows.Forms.Panel panel1;
251        private System.Windows.Forms.Label label1;
252        private System.Windows.Forms.TextBox txtUploadPath;
253        private System.Windows.Forms.Button btnUpload;
254        private System.Windows.Forms.Button btnSettings;
255        private System.ComponentModel.BackgroundWorker backgroundWorker;
256        private System.Windows.Forms.Label label2;
257        private System.Windows.Forms.ComboBox comboSites;
258        private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
259        private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
260
261    }
262}
263
Note: See TracBrowser for help on using the browser.