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

📄 formexecute.cs

📁 工作时用C#编写的WPS密码测试工具,主要用于测试与MSO文件兼容(IO)而写的.功能主要是由MSO文件加密.WPS打开,再由WPS加密,再由MSO打开.每个加密都是根据文件加密类型来加的,此代码.与
💻 CS
📖 第 1 页 / 共 4 页
字号:
			// 
			// txtInPath
			// 
			this.txtInPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.txtInPath.Location = new System.Drawing.Point(60, 36);
			this.txtInPath.Name = "txtInPath";
			this.txtInPath.Size = new System.Drawing.Size(380, 21);
			this.txtInPath.TabIndex = 8;
			this.txtInPath.Text = "";
			this.tTMain.SetToolTip(this.txtInPath, "测试文件的输入路径");
			this.txtInPath.TextChanged += new System.EventHandler(this.txtInPath_TextChanged);
			// 
			// btnCancle
			// 
			this.btnCancle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnCancle.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnCancle.Location = new System.Drawing.Point(3, 399);
			this.btnCancle.Name = "btnCancle";
			this.btnCancle.Size = new System.Drawing.Size(59, 24);
			this.btnCancle.TabIndex = 111;
			this.btnCancle.Text = "取消";
			this.tTMain.SetToolTip(this.btnCancle, "可以清空文件位置列表中的文件");
			this.btnCancle.Click += new System.EventHandler(this.btnCancle_Click);
			// 
			// chbShowWin
			// 
			this.chbShowWin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.chbShowWin.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.chbShowWin.Location = new System.Drawing.Point(352, 18);
			this.chbShowWin.Name = "chbShowWin";
			this.chbShowWin.Size = new System.Drawing.Size(112, 13);
			this.chbShowWin.TabIndex = 14;
			this.chbShowWin.Text = "显示程序主窗口";
			this.tTMain.SetToolTip(this.chbShowWin, "测试过程中是否显示程序主窗口");
			this.chbShowWin.CheckedChanged += new System.EventHandler(this.chbShowWin_CheckedChanged);
			// 
			// FBDlgTestApp
			// 
			this.FBDlgTestApp.Description = "请在下面的列表中选择测试程序的位置:";
			this.FBDlgTestApp.SelectedPath = "C:\\";
			this.FBDlgTestApp.ShowNewFolderButton = false;
			// 
			// FBDlgOfficeApp
			// 
			this.FBDlgOfficeApp.Description = "请在下面的列表中选择Office程序的位置:";
			this.FBDlgOfficeApp.SelectedPath = "C:\\";
			this.FBDlgOfficeApp.ShowNewFolderButton = false;
			// 
			// FBDlgInPath
			// 
			this.FBDlgInPath.Description = "请在下面的列表中选择测试文件的输入路径:";
			this.FBDlgInPath.SelectedPath = "C:\\";
			this.FBDlgInPath.ShowNewFolderButton = false;
			// 
			// FBDlgOutPath
			// 
			this.FBDlgOutPath.Description = "请在下面的列表中选择测试文件的输出路径:";
			this.FBDlgOutPath.SelectedPath = "C:\\";
			// 
			// gbOption
			// 
			this.gbOption.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.gbOption.Controls.Add(this.chbShowWin);
			this.gbOption.Controls.Add(this.btnOutPath);
			this.gbOption.Controls.Add(this.txtOutPath);
			this.gbOption.Controls.Add(this.lbOutPath);
			this.gbOption.Controls.Add(this.btnInPath);
			this.gbOption.Controls.Add(this.txtInPath);
			this.gbOption.Controls.Add(this.lbInPath);
			this.gbOption.Controls.Add(this.cbTestProject);
			this.gbOption.Controls.Add(this.lbTestProject);
			this.gbOption.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.gbOption.Location = new System.Drawing.Point(2, 2);
			this.gbOption.Name = "gbOption";
			this.gbOption.Size = new System.Drawing.Size(470, 82);
			this.gbOption.TabIndex = 102;
			this.gbOption.TabStop = false;
			this.gbOption.Text = "选项设置";
			// 
			// btnOutPath
			// 
			this.btnOutPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnOutPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnOutPath.Location = new System.Drawing.Point(442, 58);
			this.btnOutPath.Name = "btnOutPath";
			this.btnOutPath.Size = new System.Drawing.Size(24, 21);
			this.btnOutPath.TabIndex = 13;
			this.btnOutPath.Text = "...";
			this.btnOutPath.Click += new System.EventHandler(this.btnOutPath_Click);
			// 
			// lbOutPath
			// 
			this.lbOutPath.Location = new System.Drawing.Point(5, 62);
			this.lbOutPath.Name = "lbOutPath";
			this.lbOutPath.Size = new System.Drawing.Size(55, 13);
			this.lbOutPath.TabIndex = 11;
			this.lbOutPath.Text = "输出路径:";
			// 
			// btnInPath
			// 
			this.btnInPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnInPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnInPath.Location = new System.Drawing.Point(442, 36);
			this.btnInPath.Name = "btnInPath";
			this.btnInPath.Size = new System.Drawing.Size(24, 21);
			this.btnInPath.TabIndex = 12;
			this.btnInPath.Text = "...";
			this.btnInPath.Click += new System.EventHandler(this.btnInPath_Click);
			// 
			// lbInPath
			// 
			this.lbInPath.Location = new System.Drawing.Point(5, 40);
			this.lbInPath.Name = "lbInPath";
			this.lbInPath.Size = new System.Drawing.Size(55, 13);
			this.lbInPath.TabIndex = 9;
			this.lbInPath.Text = "输入路径:";
			// 
			// cbTestProject
			// 
			this.cbTestProject.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.cbTestProject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cbTestProject.ItemHeight = 12;
			this.cbTestProject.Items.AddRange(new object[] {
															   "Kingsoft WPS Office 金山文字",
															   "Kingsoft WPS Office 金山演示",
															   "Kingsoft WPS Office 金山表格"});
			this.cbTestProject.Location = new System.Drawing.Point(60, 14);
			this.cbTestProject.Name = "cbTestProject";
			this.cbTestProject.Size = new System.Drawing.Size(290, 20);
			this.cbTestProject.TabIndex = 1;
			this.cbTestProject.SelectedIndexChanged += new System.EventHandler(this.cbTestProject_SelectedIndexChanged);
			// 
			// lbTestProject
			// 
			this.lbTestProject.Location = new System.Drawing.Point(5, 17);
			this.lbTestProject.Name = "lbTestProject";
			this.lbTestProject.Size = new System.Drawing.Size(55, 13);
			this.lbTestProject.TabIndex = 0;
			this.lbTestProject.Text = "测试项目:";
			// 
			// cbFiles
			// 
			this.cbFiles.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.cbFiles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cbFiles.Location = new System.Drawing.Point(62, 264);
			this.cbFiles.Name = "cbFiles";
			this.cbFiles.Size = new System.Drawing.Size(378, 20);
			this.cbFiles.TabIndex = 110;
			// 
			// txtPassword
			// 
			this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.txtPassword.Location = new System.Drawing.Point(62, 286);
			this.txtPassword.Name = "txtPassword";
			this.txtPassword.Size = new System.Drawing.Size(405, 21);
			this.txtPassword.TabIndex = 103;
			this.txtPassword.Text = "";
			// 
			// lbPassword
			// 
			this.lbPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lbPassword.Location = new System.Drawing.Point(5, 290);
			this.lbPassword.Name = "lbPassword";
			this.lbPassword.Size = new System.Drawing.Size(55, 14);
			this.lbPassword.TabIndex = 108;
			this.lbPassword.Text = "密    码:";
			// 
			// btnFileLocation
			// 
			this.btnFileLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnFileLocation.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnFileLocation.Location = new System.Drawing.Point(440, 262);
			this.btnFileLocation.Name = "btnFileLocation";
			this.btnFileLocation.Size = new System.Drawing.Size(26, 21);
			this.btnFileLocation.TabIndex = 104;
			this.btnFileLocation.Text = "...";
			this.btnFileLocation.Click += new System.EventHandler(this.btnFileLocation_Click);
			// 
			// lbFileLocation
			// 
			this.lbFileLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.lbFileLocation.Location = new System.Drawing.Point(5, 264);
			this.lbFileLocation.Name = "lbFileLocation";
			this.lbFileLocation.Size = new System.Drawing.Size(55, 14);
			this.lbFileLocation.TabIndex = 105;
			this.lbFileLocation.Text = "文件位置:";
			// 
			// btnDelete
			// 
			this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnDelete.Location = new System.Drawing.Point(128, 399);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(59, 24);
			this.btnDelete.TabIndex = 107;
			this.btnDelete.Text = "删除";
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// btnAdd
			// 
			this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnAdd.Location = new System.Drawing.Point(67, 399);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(58, 24);
			this.btnAdd.TabIndex = 106;
			this.btnAdd.Text = "添加";
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// lvFileList
			// 
			this.lvFileList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.lvFileList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
																						 this.cHID,
																						 this.cHFileName,
																						 this.cHPassWord});
			this.lvFileList.FullRowSelect = true;
			this.lvFileList.GridLines = true;
			this.lvFileList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
			this.lvFileList.HideSelection = false;
			this.lvFileList.Location = new System.Drawing.Point(3, 14);
			this.lvFileList.MultiSelect = false;
			this.lvFileList.Name = "lvFileList";
			this.lvFileList.Size = new System.Drawing.Size(464, 248);
			this.lvFileList.TabIndex = 109;
			this.lvFileList.View = System.Windows.Forms.View.Details;
			this.lvFileList.SelectedIndexChanged += new System.EventHandler(this.lvFileList_SelectedIndexChanged);
			// 
			// cHID
			// 
			this.cHID.Text = "ID";
			this.cHID.Width = 30;
			// 
			// cHFileName
			// 
			this.cHFileName.Text = "文件位置";
			this.cHFileName.Width = 320;
			// 
			// cHPassWord
			// 
			this.cHPassWord.Text = "密码";
			this.cHPassWord.Width = 90;
			// 
			// gbFileList
			// 
			this.gbFileList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.gbFileList.Controls.Add(this.cbFiles);
			this.gbFileList.Controls.Add(this.txtPassword);
			this.gbFileList.Controls.Add(this.lbPassword);
			this.gbFileList.Controls.Add(this.btnFileLocation);
			this.gbFileList.Controls.Add(this.lbFileLocation);
			this.gbFileList.Controls.Add(this.lvFileList);
			this.gbFileList.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.gbFileList.Location = new System.Drawing.Point(2, 86);

⌨️ 快捷键说明

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