虽然解决了很多要求,但是通过看MSDN又有了很多新的疑问:1.窗体之间不能直接控制,如果要控制,有多少种方法,是哪些 2.timer有2种,但是都有问题 .而且还把异步调用与多线程都看了一遍(当然,还是很多不懂)
Sourcode:
主窗体的
namespace tmp2
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : System.Windows.Forms.Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent(); dosomething();
// TODO: Add constructor code after the InitializeComponent() call.
// TODO: Add Code to call testing functions - for example:
// Automation.Start()