namespace Estsh.File.Server { partial class FileServer { /// /// 設計工具所需的變數。 /// private System.ComponentModel.IContainer components = null; /// /// 清除任何使用中的資源。 /// /// 如果應該公開 Managed 資源則為 true,否則為 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form 設計工具產生的程式碼 /// /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 /// /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileServer)); this.cmd_Start = new System.Windows.Forms.Button(); this.cmd_Stop = new System.Windows.Forms.Button(); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.rtbState = new System.Windows.Forms.RichTextBox(); this.fileSystemWatcher1 = new System.IO.FileSystemWatcher(); this.tim_Delay = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit(); this.SuspendLayout(); // // cmd_Start // this.cmd_Start.Location = new System.Drawing.Point(126, 453); this.cmd_Start.Name = "cmd_Start"; this.cmd_Start.Size = new System.Drawing.Size(75, 23); this.cmd_Start.TabIndex = 1; this.cmd_Start.Text = "Start"; this.cmd_Start.UseVisualStyleBackColor = true; this.cmd_Start.Click += new System.EventHandler(this.cmd_Start_Click); // // cmd_Stop // this.cmd_Stop.Enabled = false; this.cmd_Stop.Location = new System.Drawing.Point(263, 453); this.cmd_Stop.Name = "cmd_Stop"; this.cmd_Stop.Size = new System.Drawing.Size(75, 23); this.cmd_Stop.TabIndex = 2; this.cmd_Stop.Text = "Stop"; this.cmd_Stop.UseVisualStyleBackColor = true; this.cmd_Stop.Click += new System.EventHandler(this.cmd_Stop_Click); // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "Lightning MES File Server"; this.notifyIcon1.Visible = true; this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Gold; this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(477, 42); this.panel1.TabIndex = 8; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.RoyalBlue; this.label1.Location = new System.Drawing.Point(107, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(255, 24); this.label1.TabIndex = 0; this.label1.Text = "Lightning MES File Server"; // // rtbState // this.rtbState.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.rtbState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.rtbState.Location = new System.Drawing.Point(0, 48); this.rtbState.Name = "rtbState"; this.rtbState.Size = new System.Drawing.Size(477, 388); this.rtbState.TabIndex = 7; this.rtbState.Text = ""; // // fileSystemWatcher1 // this.fileSystemWatcher1.EnableRaisingEvents = true; this.fileSystemWatcher1.NotifyFilter = ((System.IO.NotifyFilters)((System.IO.NotifyFilters.FileName | System.IO.NotifyFilters.LastWrite))); this.fileSystemWatcher1.Path = "C:\\"; this.fileSystemWatcher1.SynchronizingObject = this; this.fileSystemWatcher1.Deleted += new System.IO.FileSystemEventHandler(this.HandleFileEvent); this.fileSystemWatcher1.Created += new System.IO.FileSystemEventHandler(this.HandleFileEvent); this.fileSystemWatcher1.Changed += new System.IO.FileSystemEventHandler(this.HandleFileEvent); // // tim_Delay // this.tim_Delay.Tick += new System.EventHandler(this.tim_Delay_Tick); // // FileServer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(477, 489); this.Controls.Add(this.panel1); this.Controls.Add(this.rtbState); this.Controls.Add(this.cmd_Stop); this.Controls.Add(this.cmd_Start); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "FileServer"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FileServer"; this.Deactivate += new System.EventHandler(this.FileServer_Deactivate); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FileServer_FormClosing); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Button cmd_Start; private System.Windows.Forms.Button cmd_Stop; private System.Windows.Forms.NotifyIcon notifyIcon1; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label label1; private System.Windows.Forms.RichTextBox rtbState; private System.IO.FileSystemWatcher fileSystemWatcher1; private System.Windows.Forms.Timer tim_Delay; } }