摘要:
创建窗体创建一个名为BaseFormLibriary的Windows应用程序,窗体Form1上添加一个Button1属性设置如下: Text:Say Hello (name):btnProtected Modifier:Protected再添加一个Button,属性设置如下: Text:Say Goodbye (name):btnPrivate Modifier... 阅读全文
摘要:
创建窗体创建一个名为BaseFormLibriary的Windows应用程序,窗体Form1上添加一个Button1属性设置如下: Text:Say Hello (name):btnProtected Modifier:Protected再添加一个Button,属性设置如下: Text:Say Goodbye (name):btnPrivate Modifier... 阅读全文
摘要:
创建项目和窗体 从“工具箱”拖放一个CheckBox和一个RadioBox到窗体上,然后拖放一个contextMenu到窗体上。 设置CheckBox和RadioBox的ContextMenu属性都为contextMenu。 设置CheckBox的ThreeState属性为True。 添加代码 双击contextMenu1为contextMenu1_Popup... 阅读全文
摘要:
创建项目和windows窗体创建和配置数据适配器 从工具箱的数据中拖一个OleDbDataAdapter到窗体 弹出配置数据适配器窗口,单击下一步。 新建到数据库pubs的链接,单击下一步,选择sql语句,下一步。 添加sql语句SELECT pub_id,pub_name FROM publishers。 单击“完成”按钮。获得一个数据库链接 oleDb... 阅读全文
摘要:
创建 Windows 窗体 启动 Visual Studio。 创建名为 HelloWorld 的 Windows 应用程序。 将一个 Button 控件从“工具箱”中拖动到窗体上。 单击按钮将其选定。在“属性”窗口中,将 Text 属性设置为“Say Hello”。 编写应用程序的代码 双击该按钮,为 Button... 阅读全文
摘要:
共享一些编程实例(vb version)供大家下载:101 Samples for visual studio 2003 下载101 Samples for Visual Studio 2005The Base Class Library samples The Data Access samples The Web Development samples The Windows Forms s... 阅读全文
|