05 2015 档案
摘要:the page title name sthalign设置位置预先格式化文本换行一条直线设置字体为斜体设置字体有下划线设置字体加粗设置字体有删除线幂的次方脚注列表 list 1 list 2
阅读全文
摘要:Form1 frm = new Form();frm.ShowDialogResult;if(this.DialogResult == DialogResult.OK){ Application.Run(new main());}this.DialogResult = DialogResult.O...
阅读全文
摘要:using System.Windows.Forms;using System.IO;public static void CreateLog(Exception ex) { string path = Application.StartupPath +"\\Lo...
阅读全文
摘要:此时需要增加C#控件(notifyIcon),为notifyIcon1增加图标private void Form1_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true;//取消窗...
阅读全文
摘要:private void Form1_FormClosing(object sender, FormClosingEventArgs e) { if (DialogResult.Yes == MessageBox.Show("Exit or Not ?", "T...
阅读全文
摘要:通过点击Form1中的Btn打开Form2Form1private static Form1 frmpublic static Void OPenWin(){ if (frm == null || frm.IsDisposed) { ...
阅读全文
摘要:通过DataTable或DataSet转出//DataTable --> Csv此处可以转出例如(*.CVS,*.TXT,*.DOC) A 等文件,但是由于excel的格式问题,所以无法转换。转换过程中只需要增加保存文件的过滤格式即可。this.xxx.Filter = "A 文件|A";-----...
阅读全文

浙公网安备 33010602011771号