ClientWebSocket

作者:追风剑情 发布于:2019-11-13 14:34 分类:C#

参考 https://www.cnblogs.com/Jason-c/p/11117002.html https://segmentfault.com/a/1190000014582485?utm_source=tag-newest 微软官方文档 ClientWebSocket类 WebSocket客户端,用来发送或接收WebSocket消息。如果你的服务所在的域是...

阅读全文>>

标签: C#

评论(0) 浏览(4331)

IPAddress、IPHostEntry、IPEndPoint、DNS

作者:追风剑情 发布于:2019-11-12 20:43 分类:C#

示例: using System; using System.Net; using System.Net.NetworkInformation; using System.Text; namespace ConsoleApp6 { class Program { static void Main(string[] args) ...

阅读全文>>

标签: C#

评论(0) 浏览(3323)

Ping及相关类

作者:追风剑情 发布于:2019-11-12 19:41 分类:C#

示例 using System; using System.Net; using System.Net.NetworkInformation; using System.Text; namespace ConsoleApp6 { class Program { static void Main(string[] args) ...

阅读全文>>

标签: C#

评论(0) 浏览(2343)

枚举(Enum)

作者:追风剑情 发布于:2019-11-1 15:56 分类:C#

示例一:定义枚举类型 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp2 { class Program { s...

阅读全文>>

标签: C#

评论(0) 浏览(2196)

System.Object

作者:追风剑情 发布于:2019-10-10 18:10 分类:C#

官方文档 https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=net-5.0 示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thre...

阅读全文>>

标签: C#

评论(0) 浏览(2689)

一个简易聊天室

作者:追风剑情 发布于:2019-9-16 15:39 分类:C#

一、工程结构 配置条件编译: [生成]->[配置管理器] 二、代码 UniNetwork.cs using System; using System.Collections.Generic; using System.Net.Sockets; using System.IO; /// <...

阅读全文>>

标签: C#

评论(0) 浏览(3932)

离线安装Visual Studio 2017

作者:追风剑情 发布于:2019-9-9 11:15 分类:C#

参考 https://blog.csdn.net/hellkyle/article/details/80759961 以社区版为例: 1、下载vs_Community.exe (官方下载) 2、下载VS2017离线安装包 (西西软件下载),文件比较大,推荐使用PanDownload工具下载 3、依次安装证书(一直点下一步即可) ...

阅读全文>>

标签: C#

评论(0) 浏览(2683)

WPF—DataTemplate

作者:追风剑情 发布于:2019-9-2 16:48 分类:C#

示例 MainWindow.xaml <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas...

阅读全文>>

标签: C#

评论(0) 浏览(2420)

WPF—Style实现继承

作者:追风剑情 发布于:2019-8-27 16:14 分类:C#

示例 <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/express...

阅读全文>>

标签: C#

评论(0) 浏览(2414)

WPF—ControlTemplate

作者:追风剑情 发布于:2019-8-27 14:19 分类:C#

示例 <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/express...

阅读全文>>

标签: C#

评论(0) 浏览(3201)

WPF—模板Template

作者:追风剑情 发布于:2019-8-27 12:16 分类:C#

示例:渐变按钮 <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/ex...

阅读全文>>

标签: C#

评论(0) 浏览(2892)

WPF—定义Style

作者:追风剑情 发布于:2019-8-27 10:41 分类:C#

MainWindow.xaml <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sche...

阅读全文>>

标签: C#

评论(0) 浏览(2728)

TCP解包与封包

作者:追风剑情 发布于:2019-8-26 16:32 分类:C#

示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestConsole { class Program { static void Main(strin...

阅读全文>>

标签: C#

评论(0) 浏览(3463)

TcpClient

作者:追风剑情 发布于:2019-8-26 11:57 分类:C#

示例:聊天室 服务端代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Net; using System.Net.So...

阅读全文>>

标签: C#

评论(0) 浏览(3193)

WPF—数据双向绑定

作者:追风剑情 发布于:2019-8-23 18:29 分类:C#

MainWindow.xaml <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schema...

阅读全文>>

标签: C#

评论(0) 浏览(4165)

WPF—DispatcherTimer

作者:追风剑情 发布于:2019-8-20 21:55 分类:C#

示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Window...

阅读全文>>

标签: C#

评论(0) 浏览(2356)

WPF—截屏

作者:追风剑情 发布于:2019-8-20 17:01 分类:C#

示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Window...

阅读全文>>

标签: C#

评论(0) 浏览(3055)

Task.Delay()

作者:追风剑情 发布于:2019-8-20 11:00 分类:C#

示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Window...

阅读全文>>

标签: C#

评论(0) 浏览(2084)

WPF—延迟执行

作者:追风剑情 发布于:2019-8-19 22:43 分类:C#

示例: 参考https://www.cnblogs.com/qldsrx/archive/2013/02/22/2922682.html using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System....

阅读全文>>

标签: C#

评论(0) 浏览(3282)

WPF—ComboBox

作者:追风剑情 发布于:2019-8-19 12:05 分类:C#

示例 MainWindow.xaml <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="ht...

阅读全文>>

标签: C#

评论(0) 浏览(2040)

WPF—ResourceDictionary

作者:追风剑情 发布于:2019-8-16 17:40 分类:C#

一、新建资源字典文件 Dictionary1.xaml <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x...

阅读全文>>

标签: C#

评论(0) 浏览(2753)

WPF—INotifyPropertyChanged

作者:追风剑情 发布于:2019-8-16 14:45 分类:C#

示例 XAML <Window x:Class="WpfTest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xm...

阅读全文>>

标签: C#

评论(0) 浏览(2509)

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号