首页 | 互联网 | IT动态 | IT培训 | Cisco | Windows | Linux | Java | .Net | Oracle | 软件测试 | C/C++ | 嵌入式开发 | 存储世界 | 服务器
网络设备 | IDC | 安全 | 求职招聘 | 数字网校 | 网页设计 | 平面设计 | 技术专题 | 电子书下载 | 教学视频 | 源码下载 | 搜索 | 博客 | 论坛
中国IT实验室Dotnet频道
中国IT教育
Google
首页 ASP.NET  C#  XML/WebService ADO.NET VC.NET VB.NET .NET 资讯动态 专题 RSS订阅 讨论 下载
您现在的位置: 中国IT实验室 >> Dotnet >> C# >> 正文

一个很简化的C#加密方式


        Windows 窗体设计器生成的代码#region Windows 窗体设计器生成的代码
        /**//// <summary>
        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
        /// 此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            this.menuItemFile = new System.Windows.Forms.MenuItem();
            this.menuItemOpen = new System.Windows.Forms.MenuItem();
            this.menuItemClose = new System.Windows.Forms.MenuItem();
            this.menuItemVideo = new System.Windows.Forms.MenuItem();
            this.menuItemInitSize = new System.Windows.Forms.MenuItem();
            this.menuItemFullScreen = new System.Windows.Forms.MenuItem();
            this.menuItemWindow = new System.Windows.Forms.MenuItem();
            this.menuItemShowAudioCtrl = new System.Windows.Forms.MenuItem();
            this.menuItemShowPositionCtrl = new System.Windows.Forms.MenuItem();
            this.menuItemShowTrackbarCtrl = new System.Windows.Forms.MenuItem();
            this.axWindowsMediaPlayer1 = new AxMediaPlayer.AxMediaPlayer();
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
            this.SuspendLayout();
            //
            // openFileDialog1
            //
            this.openFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileDialog1_FileOk);
            //
            // mainMenu1
            //
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                      this.menuItemFile,
                                                                                      this.menuItemVideo,
                                                                                      this.menuItemWindow});
            //
            // menuItemFile
            //
            this.menuItemFile.Index = 0;
            this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                         this.menuItemOpen,
                                                                                         this.menuItemClose});
            this.menuItemFile.Shortcut = System.Windows.Forms.Shortcut.CtrlF;
            this.menuItemFile.Text = "文件(&F)";
            //
            // menuItemOpen
            //
            this.menuItemOpen.Index = 0;
            this.menuItemOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
            this.menuItemOpen.Text = "打开(&O)";
            this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click);
            this.menuItemOpen.Select += new System.EventHandler(this.Form1_Load);
            //
            // menuItemClose
            //
            this.menuItemClose.Index = 1;
            this.menuItemClose.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
            this.menuItemClose.Text = "关闭(&C)";
            this.menuItemClose.Click += new System.EventHandler(this.menuItemClose_Click);
            //
            // menuItemVideo
            //
            this.menuItemVideo.Index = 1;
            this.menuItemVideo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                          this.menuItemInitSize,
                                                                                          this.menuItemFullScreen});
            this.menuItemVideo.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
            this.menuItemVideo.Text = "视频(&V)";
            //
            // menuItemInitSize
            //
            this.menuItemInitSize.Index = 0;
            this.menuItemInitSize.Shortcut = System.Windows.Forms.Shortcut.CtrlI;
            this.menuItemInitSize.Text = "默认尺寸(&I)";
            this.menuItemInitSize.Click += new System.EventHandler(this.menuItemInitSize_Click);
            //
            // menuItemFullScreen
            //
            this.menuItemFullScreen.Index = 1;
            this.menuItemFullScreen.Shortcut = System.Windows.Forms.Shortcut.CtrlF;
            this.menuItemFullScreen.Text = "全屏(&F)";
            this.menuItemFullScreen.Click += new System.EventHandler(this.menuItemFullScreen_Click);
            //
            // menuItemWindow
            //
            this.menuItemWindow.Index = 2;
            this.menuItemWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                           this.menuItemShowAudioCtrl,
                                                                                           this.menuItemShowPositionCtrl,
                                                                                           this.menuItemShowTrackbarCtrl});
            this.menuItemWindow.Shortcut = System.Windows.Forms.Shortcut.CtrlW;
            this.menuItemWindow.Text = "窗口(&W)";
            //
            // menuItemShowAudioCtrl
            //
            this.menuItemShowAudioCtrl.Checked = true;
            this.menuItemShowAudioCtrl.Index = 0;
            this.menuItemShowAudioCtrl.Shortcut = System.Windows.Forms.Shortcut.CtrlU;
            this.menuItemShowAudioCtrl.Text = "音频控制(&U)";
            this.menuItemShowAudioCtrl.Click += new System.EventHandler(this.menuItemShowAudioCtrl_Click);
            //
            // menuItemShowPositionCtrl
            //
            this.menuItemShowPositionCtrl.Checked = true;
            this.menuItemShowPositionCtrl.Index = 1;
            this.menuItemShowPositionCtrl.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
            this.menuItemShowPositionCtrl.Text = "播放进度(&P)";
            this.menuItemShowPositionCtrl.Click += new System.EventHandler(this.menuItemShowPositionCtrl_Click);
            //
            // menuItemShowTrackbarCtrl
            //
            this.menuItemShowTrackbarCtrl.Checked = true;
            this.menuItemShowTrackbarCtrl.Index = 2;
            this.menuItemShowTrackbarCtrl.Shortcut = System.Windows.Forms.Shortcut.CtrlT;
            this.menuItemShowTrackbarCtrl.Text = "滚动条(&T)";
            this.menuItemShowTrackbarCtrl.Click += new System.EventHandler(this.menuItemShowTrackbarCtrl_Click);
            //
            // axWindowsMediaPlayer1
            //
            this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(0, -8);
            this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
            this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
            this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(296, 280);
            this.axWindowsMediaPlayer1.TabIndex = 0;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.BackColor = System.Drawing.SystemColors.Control;
            this.ClientSize = new System.Drawing.Size(292, 273);
            this.Controls.Add(this.axWindowsMediaPlayer1);
            this.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Menu = this.mainMenu1;
            this.Name = "Form1";
            this.Text = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion

上一页  [1] [2] [3] 下一页

【责编:Ken】

中国IT教育

相关产品和培训
文章评论
 友情推荐链接
 认证培训
 专题推荐

 ·WEB程序开发--ASP.NET和PHP、JSP究竟学哪个?
 ·五步带你入门XML
 ·关于Java框架技术专题
 ·XML全攻略技术专题
 ·JAVA开源技术介绍专题
 ·Java嵌入式开发之J2ME技术专题
 ·超前体验 Oracle 11g的5个新特性…
 ·揭密使用VB.NET的五个实用技巧
 ·Oracle和SQL Server常用函数对比专题…
 ·展现C#世界 C#程序设计专题…
 今日更新
 社区讨论
 博客论点
 频道精选
 Dotnet频道相关导航