IO流写文件,给文件加密,每启动一次,读取文件中数值解密,文件中数字加一,加密,OK了
[quote=引用 18 楼 qq_41646219 的回复:] [quote=引用 15 楼 wanglui1990 的回复:] [quote=引用 10 楼 qq_41646219 的回复:] [quote=引用 7 楼 wanglui1990 的回复:] //button事件里。 int cnt =0; this.button1.Invoke((Action)delegate { this.textbox1.Text = this.textbox1.Text = (++cnt.ToString()); });
//button事件里。 int cnt =0; this.button1.Invoke((Action)delegate { this.textbox1.Text = this.textbox1.Text = (++cnt.ToString()); });
[quote=引用 15 楼 wanglui1990 的回复:] [quote=引用 10 楼 qq_41646219 的回复:] [quote=引用 7 楼 wanglui1990 的回复:] //button事件里。 int cnt =0; this.button1.Invoke((Action)delegate { this.textbox1.Text = this.textbox1.Text = (++cnt.ToString()); });
[quote=引用 16 楼 qq_37753824 的回复:] [quote=引用 12 楼 qq_41646219 的回复:] [quote=引用 6 楼 DOwnstairs 的回复:] 在代码里写 static int count =0; count++; 然后你想输出的话。在想输出时候写一句 Console.WriteLine(count); 这样就好
static int count =0; count++;
[quote=引用 6 楼 DOwnstairs 的回复:] 在代码里写 static int count =0; count++; 然后你想输出的话。在想输出时候写一句 Console.WriteLine(count); 这样就好
[quote=引用 12 楼 qq_41646219 的回复:] [quote=引用 6 楼 DOwnstairs 的回复:] 在代码里写 static int count =0; count++; 然后你想输出的话。在想输出时候写一句 Console.WriteLine(count); 这样就好
[quote=引用 10 楼 qq_41646219 的回复:] [quote=引用 7 楼 wanglui1990 的回复:] //button事件里。 int cnt =0; this.button1.Invoke((Action)delegate { this.textbox1.Text = this.textbox1.Text = (++cnt.ToString()); });
[quote=引用 9 楼 qq_37753824 的回复:] 这你看下书就知道了啊,书都不看就要代码,怎么学啊。
[quote=引用 7 楼 wanglui1990 的回复:] //button事件里。 int cnt =0; this.button1.Invoke((Action)delegate { this.textbox1.Text = this.textbox1.Text = (++cnt.ToString()); });
110,502
社区成员
642,567
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧