摘要:
DrawingVisual drawingVisual = new DrawingVisual(); DrawingContext dc = drawingVisual.RenderOpen(); dc.DrawLine(new Pen(Brushes.Red,2),new Point(0,0),n 阅读全文
posted @ 2020-04-17 18:04
灰主流
阅读(343)
评论(0)
推荐(0)
摘要:
<Window x:Class="_temple.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x 阅读全文
posted @ 2020-04-17 18:00
灰主流
阅读(988)
评论(0)
推荐(0)
摘要:
using System.Collections.Generic; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Input; namespace WpfApp25 { /// 阅读全文
posted @ 2020-04-17 17:57
灰主流
阅读(1439)
评论(0)
推荐(0)
摘要:
using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System. 阅读全文
posted @ 2020-04-17 17:42
灰主流
阅读(458)
评论(0)
推荐(0)
摘要:
1. none <div style="background: url(2.jpg) 50% 50%/ auto auto no-repeat ; width: 1000px; height: 800px; border:1px solid blue;"/> 2. tile 填充 <div styl 阅读全文
posted @ 2020-04-17 17:37
灰主流
阅读(713)
评论(0)
推荐(0)
摘要:
默认windows并发数是2,所以可以设置此数大一点 ServicePointManager.DefaultConnectionLimit = 20; 也可以使用abort释放http连接 using System; using System.Collections.Generic; using S 阅读全文
posted @ 2020-04-17 16:20
灰主流
阅读(2793)
评论(0)
推荐(0)
摘要:
public class LogHelper { private static readonly ReaderWriterLockSlim LogWriteLock = new ReaderWriterLockSlim(); private static readonly string LogFil 阅读全文
posted @ 2020-04-17 15:01
灰主流
阅读(213)
评论(0)
推荐(0)
浙公网安备 33010602011771号