代码改变世界

随笔分类 -  [05] WinForms & WPF

常用的 WinForm 程序

2011-11-25 20:49 by 音乐让我说, 305 阅读, 收藏, 编辑
摘要: 1. 利用 Windows Forms 创建自动登录程序 1. 新建一个 Windows Forms 应用程序。 2. 拖一个 Panel,再向该 Panel 中拖一个 Label、TextBox、Button。设置 Panel 的 Dock 属性为 Top,其中 Top 就是固定在窗口的头部。设置 阅读全文

在 Windows Forms 中使用 saveFileDialog、openFileDialog、folderBrowserDialog 的简单示例

2011-11-23 22:02 by 音乐让我说, 955 阅读, 收藏, 编辑
摘要: 1. 界面如下:2. Partial 的代码如下:partial class FileSelected{ /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. p... 阅读全文
点击右上角即可分享
微信分享提示