Loading

摘要: 写在前面: 本系列随笔将作为我对于winform控件开发的心得总结,方便对一些读者在GDI+、winform等技术方面进行一个入门级的讲解,抛砖引玉。 别问为什么不用WPF,为什么不用QT。问就是懒,不想学。 本项目所有代码均开源在https://github.com/muxiang/PowerLi 阅读全文
posted @ 2021-02-05 17:36 __Meow 阅读(3918) 评论(12) 推荐(13) 编辑
摘要: 写在前面: 本文将作为一个入门级的、结合源码的文章,旨在为刚刚接触GDI+编程或对相关知识感兴趣的读者做一个入门讲解。游戏尚且未完善,但基本功能都有,完整源码在文章结尾的附件中。 整体思路: 扫雷的游戏界面让我从一开始就想到了二维数组,事实上用二维数组来定义游戏数据确实是最符合人类思维的方式。(Sq 阅读全文
posted @ 2016-09-12 15:38 __Meow 阅读(6083) 评论(33) 推荐(25) 编辑
摘要: 非常喜欢Metro风格的界面,所以想模仿一下一些UI效果的实现,网上找到了很多,但都是CSS3,WPF等实现,对于XAML和CSS3一窍不通,无奈下只有自己开始写。下面是源码: 1 using System; 2 using System.ComponentModel; 3 using Sys... 阅读全文
posted @ 2014-06-17 15:30 __Meow 阅读(1194) 评论(3) 推荐(2) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace HeapSort 7 { 8 public static... 阅读全文
posted @ 2013-01-26 14:53 __Meow 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 1 //C# Code 2 3 using System; 4 using System.Collections.Generic; 5 using System.Linq; 6 using System.Text; 7 using System.Timers; 8 9 10 11 namespace QuickSort 12 { 13 class Program 14 { 15 private static int UsedTime = 0; 16 private static Random Seed = new R... 阅读全文
posted @ 2012-07-26 17:52 __Meow 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace PasswordTest 7 { 8 class Program 9 ... 阅读全文
posted @ 2013-01-22 21:55 __Meow 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.*; 2 3 4 5 public class CalcDate { 6 int year; 7 int month; 8 int day; 9 10 public void Input(){//输入方法 11 12 Scanner input = new Scanner(System.in); 13 boolean flag = true;//控制检查日期格式输入是否正确的循环 14 String date = "";//日期 15 16 while(fla... 阅读全文
posted @ 2012-07-26 18:09 __Meow 阅读(472) 评论(6) 推荐(0) 编辑
摘要: //欢迎转载,请注明原创,感谢 阅读全文
posted @ 2012-07-26 18:05 __Meow 阅读(301) 评论(0) 推荐(0) 编辑