您目前尚未登陆,请选择【登陆】或【注册
首页->功能源码->字符串操作大全(SHAI、MD5加解密等)>>Index.aspx.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:字符串操作大全(SHAI、MD5加解密等)
当前文件:文件类型 N21DTONEBKFW21/Index.aspx.cs打开代码结构图
普通视图
		            
1using System; 2using System.Collections; 3using System.ComponentModel; 4using System.Data; 5using System.Drawing; 6using System.Web; 7using System.Web.SessionState; 8using System.Web.UI; 9using System.Web.UI.WebControls; 10using System.Web.UI.HtmlControls; 11 12namespace StringOperation 13{ 14 /// <summary> 15 /// Index 的摘要说明。 16 /// </summary> 17 public class Index : System.Web.UI.Page 18 { 19 protected System.Web.UI.WebControls.TextBox TextBox1; 20 protected System.Web.UI.WebControls.Button Button2; 21 protected System.Web.UI.WebControls.Button Button3; 22 protected System.Web.UI.WebControls.Button Button4; 23 protected System.Web.UI.WebControls.Button Button5; 24 protected System.Web.UI.WebControls.Button Button6; 25 protected System.Web.UI.WebControls.Button Button7; 26 protected System.Web.UI.WebControls.Button Button8; 27 protected System.Web.UI.WebControls.Button Button10; 28 protected System.Web.UI.WebControls.Button Button11; 29 protected System.Web.UI.WebControls.Button Button13; 30 protected System.Web.UI.WebControls.Button Button14; 31 protected System.Web.UI.WebControls.Button Button15; 32 protected System.Web.UI.WebControls.Button Button16; 33 protected System.Web.UI.WebControls.Button Button17; 34 protected System.Web.UI.WebControls.Button Button18; 35 protected System.Web.UI.WebControls.Button Button12; 36 protected System.Web.UI.WebControls.Button Button1; 37 38 //protected StringOperation so = new StringOperation(); 39 40 private void Page_Load(object sender, System.EventArgs e) 41 { 42 // 在此处放置用户代码以初始化页面 43 } 44 45 Web 窗体设计器生成的代码 76 77 private void Button1_Click(object sender, System.EventArgs e) 78 { 79 TextBox1.Text = StringOperation.Encode(TextBox1.Text); 80 } 81 82 private void Button2_Click(object sender, System.EventArgs e) 83 { 84 TextBox1.Text = StringOperation.Decode(TextBox1.Text); 85 } 86 87 private void Button3_Click(object sender, System.EventArgs e) 88 { 89 TextBox1.Text = StringOperation.Encrypt(TextBox1.Text); 90 } 91 92 private void Button4_Click(object sender, System.EventArgs e) 93 { 94 TextBox1.Text = StringOperation.Encrypt(TextBox1.Text,0); 95 } 96 97 private void Button5_Click(object sender, System.EventArgs e) 98 { 99 TextBox1.Text = StringOperation.Encrypt(TextBox1.Text,1); 100 } 101 102 private void Button6_Click(object sender, System.EventArgs e) 103 { 104 TextBox1.Text = StringOperation.Decrypt(TextBox1.Text); 105 } 106 107 private void Button7_Click(object sender, System.EventArgs e) 108 { 109 TextBox1.Text = StringOperation.DeTransform1(TextBox1.Text); 110 } 111 112 private void Button8_Click(object sender, System.EventArgs e) 113 { 114 TextBox1.Text = StringOperation.Transform1(TextBox1.Text); 115 } 116 117 private void Button10_Click(object sender, System.EventArgs e) 118 { 119 TextBox1.Text = StringOperation.DeTransform3(TextBox1.Text); 120 } 121 122 private void Button11_Click(object sender, System.EventArgs e) 123 { 124 TextBox1.Text = StringOperation.Transform3(TextBox1.Text); 125 } 126 127 private void Button12_Click(object sender, System.EventArgs e) 128 { 129 TextBox1.Text = StringOperation.Reverse(TextBox1.Text); 130 } 131 } 132} 133
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:字符串操作大全(SHAI、MD5加解密等)
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号