摘要:
using System.Windows; using System.Windows.Media.Imaging; namespace WpfApp { public partial class MainWindow : Window { public MainWindow() { Initiali 阅读全文
摘要:
//工具类 private static Random random = new Random(); public static void Shuffle<T>(this IList<T> arr) { var n = arr.Count(); while (n > 1) { n--; var k 阅读全文
摘要:
压缩XML文档内容 Content = CompressUtility.StringCompress(Content); 解压缩XML文档内容(判断是否需要解压缩) if (Content.IndexOf("XTextDocument") > -1) Content = Content; else 阅读全文
摘要:
转载于:https://www.jb51.net/article/155658.htm #引入这个 from selenium.webdriver.common.keys import Keys driver.find_element_by_css_selector("div.loginForm>i 阅读全文
摘要:
代码如下: public static string GetLocalIp() { string ip = "1.1.1.1" ; try { string HostName = Dns.GetHostName(); //得到主机名 IPHostEntry IpEntry = Dns.GetHost 阅读全文
摘要:
一般的开发的应用运行时,是直接的程序页面打开,想要达到微信那样的效果,还是有些东西要注意的,最近看了一些零零散散的解决方法,我就整合了一下。 鼠标单击打开微信界面,右击微信图标会有如下图的快捷功能操作 ******************************************** 1.让右 阅读全文