随笔分类 - c#
摘要:StackTrace st = new StackTrace(new StackFrame(true)); StackFrame sf = st.GetFrame(0); //文件位置 Console.WriteLine("AT:{0}文件-{1}方法-{2}行-{3}", sf.GetFileNa
阅读全文
摘要:1.TextBox前加图标。 效果: 2.圆角TextBox。 在第二段代码在Application.Resources中定义了一个名为TXTSTYLE的样式,由Grid、Label、Border、ScrollViewer等元素进行修饰,应用于TextBox时使文本框前面位置出现图标位置,通过设置T
阅读全文

浙公网安备 33010602011771号