⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 visual c# 网络编程技术与实践实例包括几个源码
💻 CS
字号:
namespace Stream
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.status = new System.Windows.Forms.StatusStrip();
            this.mediaState = new System.Windows.Forms.ToolStripStatusLabel();
            this.timeState1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.timeState = new System.Windows.Forms.ToolStripStatusLabel();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tPage1 = new System.Windows.Forms.TabPage();
            this.label2 = new System.Windows.Forms.Label();
            this.infoTBox = new System.Windows.Forms.TextBox();
            this.addBtn = new System.Windows.Forms.Button();
            this.stopBtn = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.pathTBox = new System.Windows.Forms.TextBox();
            this.playBtn = new System.Windows.Forms.Button();
            this.openBtn = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this.tPage2 = new System.Windows.Forms.TabPage();
            this.delBtn = new System.Windows.Forms.Button();
            this.dgMedia = new System.Windows.Forms.DataGridView();
            this.MeidaInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.mediaPath = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.status.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tPage1.SuspendLayout();
            this.tPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgMedia)).BeginInit();
            this.SuspendLayout();
            // 
            // timer1
            // 
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // status
            // 
            this.status.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mediaState,
            this.timeState1,
            this.timeState});
            this.status.Location = new System.Drawing.Point(0, 364);
            this.status.Name = "status";
            this.status.Size = new System.Drawing.Size(519, 22);
            this.status.TabIndex = 7;
            this.status.Text = "statusStrip1";
            // 
            // mediaState
            // 
            this.mediaState.Name = "mediaState";
            this.mediaState.Size = new System.Drawing.Size(0, 17);
            // 
            // timeState1
            // 
            this.timeState1.Name = "timeState1";
            this.timeState1.Size = new System.Drawing.Size(0, 17);
            // 
            // timeState
            // 
            this.timeState.Name = "timeState";
            this.timeState.Size = new System.Drawing.Size(0, 17);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tPage1);
            this.tabControl1.Controls.Add(this.tPage2);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(519, 364);
            this.tabControl1.TabIndex = 8;
            // 
            // tPage1
            // 
            this.tPage1.Controls.Add(this.label2);
            this.tPage1.Controls.Add(this.infoTBox);
            this.tPage1.Controls.Add(this.addBtn);
            this.tPage1.Controls.Add(this.stopBtn);
            this.tPage1.Controls.Add(this.label1);
            this.tPage1.Controls.Add(this.pathTBox);
            this.tPage1.Controls.Add(this.playBtn);
            this.tPage1.Controls.Add(this.openBtn);
            this.tPage1.Controls.Add(this.panel1);
            this.tPage1.Location = new System.Drawing.Point(4, 21);
            this.tPage1.Name = "tPage1";
            this.tPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tPage1.Size = new System.Drawing.Size(511, 339);
            this.tPage1.TabIndex = 0;
            this.tPage1.Text = "播放器";
            this.tPage1.UseVisualStyleBackColor = true;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(15, 45);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(89, 12);
            this.label2.TabIndex = 15;
            this.label2.Text = "媒体文件信息:";
            // 
            // infoTBox
            // 
            this.infoTBox.Location = new System.Drawing.Point(120, 45);
            this.infoTBox.Name = "infoTBox";
            this.infoTBox.Size = new System.Drawing.Size(176, 21);
            this.infoTBox.TabIndex = 14;
            // 
            // addBtn
            // 
            this.addBtn.Location = new System.Drawing.Point(321, 43);
            this.addBtn.Name = "addBtn";
            this.addBtn.Size = new System.Drawing.Size(75, 23);
            this.addBtn.TabIndex = 13;
            this.addBtn.Text = "添加到收藏";
            this.addBtn.UseVisualStyleBackColor = true;
            this.addBtn.Click += new System.EventHandler(this.addBtn_Click);
            // 
            // stopBtn
            // 
            this.stopBtn.Location = new System.Drawing.Point(428, 103);
            this.stopBtn.Name = "stopBtn";
            this.stopBtn.Size = new System.Drawing.Size(75, 23);
            this.stopBtn.TabIndex = 12;
            this.stopBtn.Text = "停止";
            this.stopBtn.UseVisualStyleBackColor = true;
            this.stopBtn.Click += new System.EventHandler(this.stopBtn_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(13, 8);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(101, 12);
            this.label1.TabIndex = 11;
            this.label1.Text = "输入文件名或URL:";
            // 
            // pathTBox
            // 
            this.pathTBox.Location = new System.Drawing.Point(120, 5);
            this.pathTBox.Name = "pathTBox";
            this.pathTBox.Size = new System.Drawing.Size(276, 21);
            this.pathTBox.TabIndex = 10;
            // 
            // playBtn
            // 
            this.playBtn.Location = new System.Drawing.Point(428, 74);
            this.playBtn.Name = "playBtn";
            this.playBtn.Size = new System.Drawing.Size(75, 23);
            this.playBtn.TabIndex = 9;
            this.playBtn.Text = "播放";
            this.playBtn.UseVisualStyleBackColor = true;
            this.playBtn.Click += new System.EventHandler(this.playBtn_Click);
            // 
            // openBtn
            // 
            this.openBtn.Location = new System.Drawing.Point(430, 3);
            this.openBtn.Name = "openBtn";
            this.openBtn.Size = new System.Drawing.Size(75, 23);
            this.openBtn.TabIndex = 8;
            this.openBtn.Text = "打开";
            this.openBtn.UseVisualStyleBackColor = true;
            this.openBtn.Click += new System.EventHandler(this.openBtn_Click);
            // 
            // panel1
            // 
            this.panel1.Location = new System.Drawing.Point(4, 74);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(418, 259);
            this.panel1.TabIndex = 7;
            // 
            // tPage2
            // 
            this.tPage2.Controls.Add(this.delBtn);
            this.tPage2.Controls.Add(this.dgMedia);
            this.tPage2.Location = new System.Drawing.Point(4, 21);
            this.tPage2.Name = "tPage2";
            this.tPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tPage2.Size = new System.Drawing.Size(511, 339);
            this.tPage2.TabIndex = 1;
            this.tPage2.Text = "收藏夹";
            this.tPage2.UseVisualStyleBackColor = true;
            this.tPage2.Click += new System.EventHandler(this.tPage2_Click);
            // 
            // delBtn
            // 
            this.delBtn.Location = new System.Drawing.Point(200, 263);
            this.delBtn.Name = "delBtn";
            this.delBtn.Size = new System.Drawing.Size(75, 23);
            this.delBtn.TabIndex = 2;
            this.delBtn.Text = "删除";
            this.delBtn.UseVisualStyleBackColor = true;
            this.delBtn.Click += new System.EventHandler(this.delBtn_Click);
            // 
            // dgMedia
            // 
            this.dgMedia.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dgMedia.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.MeidaInfo,
            this.mediaPath});
            this.dgMedia.Location = new System.Drawing.Point(6, 6);
            this.dgMedia.Name = "dgMedia";
            this.dgMedia.RowTemplate.Height = 23;
            this.dgMedia.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dgMedia.Size = new System.Drawing.Size(466, 251);
            this.dgMedia.TabIndex = 0;
            this.dgMedia.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgMedia_CellContentDoubleClick);
            // 
            // MeidaInfo
            // 
            this.MeidaInfo.DataPropertyName = "mediaName";
            this.MeidaInfo.HeaderText = "媒体信息";
            this.MeidaInfo.Name = "MeidaInfo";
            // 
            // mediaPath
            // 
            this.mediaPath.DataPropertyName = "mediaPath";
            this.mediaPath.HeaderText = "路径";
            this.mediaPath.Name = "mediaPath";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(519, 386);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.status);
            this.Name = "Form1";
            this.Text = "Player";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
            this.Load += new System.EventHandler(this.Form1_Load);
            this.status.ResumeLayout(false);
            this.status.PerformLayout();
            this.tabControl1.ResumeLayout(false);
            this.tPage1.ResumeLayout(false);
            this.tPage1.PerformLayout();
            this.tPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dgMedia)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.StatusStrip status;
        private System.Windows.Forms.ToolStripStatusLabel timeState;
        private System.Windows.Forms.ToolStripStatusLabel mediaState;
        private System.Windows.Forms.ToolStripStatusLabel timeState1;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tPage1;
        private System.Windows.Forms.TabPage tPage2;
        private System.Windows.Forms.Button stopBtn;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox pathTBox;
        private System.Windows.Forms.Button playBtn;
        private System.Windows.Forms.Button openBtn;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Button addBtn;
        private System.Windows.Forms.DataGridView dgMedia;
        private System.Windows.Forms.Button delBtn;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox infoTBox;
        private System.Windows.Forms.DataGridViewTextBoxColumn MeidaInfo;
        private System.Windows.Forms.DataGridViewTextBoxColumn mediaPath;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -