打开窗口的方法,设定对象的颜色,程序退出,按钮或其它对象加超链接

打开窗口的方法:在工具箱中找到openFileDialog加入FORM,然后加入一个按钮,双击按钮增加事件openFileDialog1.ShowDialog();
加其它的Dialog,方法类似.

设定对象的颜色:如button1.BackColor = Color.Red;

程序退出:Close()或Application.Exit();

按钮或其它对象加超链接:System.Diagnostics.Process.Start("IEXPLORE.EXE","www.xxxx.com.cn");

posted @ 2005-10-18 15:21  梁小鱼  阅读(273)  评论(0编辑  收藏  举报