09 2019 档案

摘要:1. install-package barcode -v 4.0.2.2; 2. 阅读全文
posted @ 2019-09-30 16:55 FredGrit 阅读(475) 评论(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 阅读(312) 评论(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 阅读(646) 评论(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 阅读(526) 评论(0) 推荐(0) 编辑
摘要:<Style x:Key="workButtonStyle" TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="False"> <Setter Property="FontSize" Value="20"/> </Trigger> <Trigger Property="IsMo 阅读全文
posted @ 2019-09-18 17:20 FredGrit 阅读(994) 评论(0) 推荐(0) 编辑
摘要:<Window x:Class="WpfApp53.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/exp 阅读全文
posted @ 2019-09-15 17:08 FredGrit 阅读(591) 评论(0) 推荐(0) 编辑
摘要:static void Main(string[] args) { int i = 0; Parallel.For(0, 100, (x) => { Console.WriteLine(i); i++; }); Console.WriteLine($"i is {i}"); Console.Read 阅读全文
posted @ 2019-09-15 12:24 FredGrit 阅读(264) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><packages> <package id="Prism" version="5.0.0" targetFramework="net452" /> <package id="Prism.Composition" versi 阅读全文
posted @ 2019-09-11 17:36 FredGrit 阅读(445) 评论(0) 推荐(0) 编辑
摘要:Prism.Unity 中UnityBootStrapper已经不用了,可以继承PrismApplication 1.Install-package Prism.Unity -v 7.2.0.1367 2. 3. 阅读全文
posted @ 2019-09-09 17:59 FredGrit 阅读(861) 评论(0) 推荐(1) 编辑
摘要:DictionaryDictionary is generic type Dictionary<TKey,TValue>Dictionary class is a strong type < TKey,TValue > Hence, you must specify the data types f 阅读全文
posted @ 2019-09-08 18:01 FredGrit 阅读(312) 评论(0) 推荐(0) 编辑
摘要:1.query all the store procedures in the specfied db; 2.create proc with while loop 阅读全文
posted @ 2019-09-08 15:31 FredGrit 阅读(196) 评论(0) 推荐(0) 编辑
摘要:SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[YearSalary]( [year] [int] NULL, [salary] [money] NULL ) ON [PRIMARY] GO select * from yearsalary; select 'year' as WorkYear,[2011], 阅读全文
posted @ 2019-09-08 15:16 FredGrit 阅读(320) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Text.RegularExpressions; namespace ConsoleApp375 { class Program { static void Main(string[] args) { RegularExpressionDemo(); ... 阅读全文
posted @ 2019-09-08 13:32 FredGrit 阅读(289) 评论(0) 推荐(0) 编辑
摘要:1.Connect to redis. 2.StackExchange.Redis.RedisCommandException: 'This operation is not available unless admin mode is enabled: FLUSHDB' ConnectionMul 阅读全文
posted @ 2019-09-01 19:57 FredGrit 阅读(239) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示