上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 76 下一页
摘要: 1.Install latest Chrome,Selenium.WebDriver, ChromeDriver Selenium.WebDriver 3.141.0; Selenium.WebDriver.ChromeDriver 78.0.3904.7000; Google Chrome Ver 阅读全文
posted @ 2019-10-27 15:43 FredGrit 阅读(259) 评论(0) 推荐(0) 编辑
摘要: static void GetAllFiles() { string path = "filepath"; var allFiles = Directory.GetFiles(path); string fileName = "file.txt"; using (FileStream fStream = File.Create(fileName)) { } using (FileStream fS 阅读全文
posted @ 2019-10-18 15:00 FredGrit 阅读(125) 评论(0) 推荐(0) 编辑
摘要: private void WriteLoginJsonData(object jsonData) { using (FileStream writerFileStream = new FileStream(JsonDataFile, FileMode.OpenOrCreate)) { using... 阅读全文
posted @ 2019-10-12 11:15 FredGrit 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Wpf file embeded resource will compile the file into the assembly and it will be readonly and can not be writable. While you set the file as Copy alwa 阅读全文
posted @ 2019-10-11 16:41 FredGrit 阅读(277) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="DualMonitors.Views.WinLeft" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft. 阅读全文
posted @ 2019-10-08 10:08 FredGrit 阅读(335) 评论(0) 推荐(0) 编辑
摘要: <Image Source="pack://application:,,,/Images/Folder-icon.png"/> <Image Source="pack://application:,,,/Assembly;component/Images/Folder-icon.png"/> <Im 阅读全文
posted @ 2019-10-06 19:04 FredGrit 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 1. install-package barcode -v 4.0.2.2; 2. 阅读全文
posted @ 2019-09-30 16:55 FredGrit 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 1 [Serializable] 2 public class Person:ICloneable 3 { 4 public string Name { get; set; } 5 public int Id { get; set; } 6 public int Age { get; set; } 7 public Department Department { get; set; } 8 9 p 阅读全文
posted @ 2019-09-20 17:20 FredGrit 阅读(309) 评论(0) 推荐(0) 编辑
摘要: <Style TargetType="{x:Type DatePickerTextBox}"> <Setter Property="Control.Template"> <Setter.Value> <ControlTemplate> <TextBox x:Name="PART_TextBox" Text="{Binding Path=SelectedDate, StringFormat='yyy 阅读全文
posted @ 2019-09-20 10:48 FredGrit 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 1 <DataGridTemplateColumn Header="Binding"> 2 <DataGridTemplateColumn.CellTemplate> 3 <DataTemplate> 4 <Image x:Name="BindImg" Height="30" Width="30" Source="{Binding IsBindable,Converter={StaticResou 阅读全文
posted @ 2019-09-19 11:16 FredGrit 阅读(521) 评论(0) 推荐(0) 编辑
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 76 下一页