摘要:
Console.WriteLine(Path.GetFileName(str)); //获得文件名但是不包含扩展名 Console.WriteLine(Path.GetFileNameWithoutExtension(str)); //获得文件的扩展名 Console.WriteLine(Path. 阅读全文
posted @ 2020-07-27 19:37
客饭
阅读(83)
评论(0)
推荐(0)
摘要:
Console.WriteLine(list.Count); //count 表示这个集合中实际包含的元素的个数Console.WriteLine(list.Capacity);//capcity 表示这个集合中可以包含的元素的个数 阅读全文
posted @ 2020-07-27 19:31
客饭
阅读(80)
评论(0)
推荐(0)
摘要:
string[] path = Directory.GetFiles(@path,"*.jpg");// 获取目录下的所有jpg文件 播放音乐 1 // 2 // 摘要: 3 // 控制 .wav 文件中的声音播放。 4 [ToolboxItem(false)] 5 public class Sou 阅读全文
posted @ 2020-07-27 18:48
客饭
阅读(118)
评论(0)
推荐(0)
摘要:
1 #region 程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2 // C:\Program Files (x86)\Reference Assemblies\Micro 阅读全文
posted @ 2020-07-27 18:43
客饭
阅读(223)
评论(0)
推荐(0)
摘要:
1. 窗体排列 #region 程序集 System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // C:\Program Files (x86)\Reference Assemb 阅读全文
posted @ 2020-07-27 18:26
客饭
阅读(138)
评论(0)
推荐(0)
摘要:
C#中Intptr: https://blog.csdn.net/ABC13222880223/article/details/100192245 阅读全文
posted @ 2020-07-27 17:36
客饭
阅读(104)
评论(0)
推荐(0)
摘要:
??? 阅读全文
posted @ 2020-07-27 17:31
客饭
阅读(38)
评论(0)
推荐(0)
摘要:
参见:https://www.cnblogs.com/bdqczhl/p/7284499.html 阅读全文
posted @ 2020-07-27 17:25
客饭
阅读(114)
评论(0)
推荐(0)
摘要:
1.TextBox 1 namespace System.Windows.Forms 2 { 3 // 4 // 摘要: 5 // 表示 Windows 文本框控件。 6 [ClassInterface(ClassInterfaceType.AutoDispatch)] 7 [ComVisible( 阅读全文
posted @ 2020-07-27 16:42
客饭
阅读(267)
评论(0)
推荐(0)
摘要:
1.鼠标等相关事件 onmousedown 当用户用任何鼠标按钮单击对象时触发。 onmouseenter 当用户将鼠标指针移动到对象内时触发。 onmouseleave 当用户将鼠标指针移出对象边界时触发。 onmousemove 当用户将鼠标划过对象时触发。 onmouseout 当用户将鼠标指 阅读全文
posted @ 2020-07-27 16:02
客饭
阅读(210)
评论(0)
推荐(0)
摘要:
1.访问修饰符 public int _age;private char _gender;internal int _chinese;protected internal int _math; 2.自动属性 // 初始属性值为0。 public int Age { get; set; } 3.接口: 阅读全文
posted @ 2020-07-27 15:32
客饭
阅读(77)
评论(0)
推荐(0)

浙公网安备 33010602011771号