摘要:
public partial class MainWindow : Window { private List<int> ShortTicks; private List<int> MiddleTicks; private List<int> LongTicks; private List<stri 阅读全文
摘要:
<UserControl x:Class="wpf刻度线.TickBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
摘要:
if (File.Exists(fileName)) { File.Delete(fileName); using (FileStream fs = new FileStream(fileName, FileMode.Create)) { StreamResourceInfo resource = 阅读全文
摘要:
using System; using System.Data; using Excel= Microsoft.Office.Interop.Excel; namespace 读写excel { /// <summary> /// MainWindow.xaml 的交互逻辑 /// </summar 阅读全文
摘要:
当wpf里设置边框的时候,如果是dynamicResource的话,有时候会不显示。 1.window里定义颜色,这时候不显示 <Window.Resources> <Color x:Key="red" R="255" G="0" B="0" A="255" /> <Color x:Key="blu 阅读全文
摘要:
https://files.cnblogs.com/files/chlm/wpf%E5%BC%82%E6%AD%A5%E5%8A%A0%E8%BD%BD5w%E6%8E%A7%E4%BB%B6.rar 阅读全文
摘要:
/// <summary> /// 由结构体转换为byte数组 /// </summary> public static byte[] StructureToByte<T>(T structure) { int size = Marshal.SizeOf(typeof(T)); byte[] buf 阅读全文