예제 #1
0
        private void visualButton1_Click(object sender, EventArgs e)
        {
            if (label2.Text == "测试用户" || label2.Text == "")
            {
                MessageBox.Show("请注册账号登陆!");
                register rg = new register();
                rg.Show();
                return;
            }

            Thread Search_thread = new Thread(new ThreadStart(dianping_run));

            Control.CheckForIllegalCrossThreadCalls = false;
            Search_thread.Start();
        }
예제 #2
0
        private void 注册账号ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            register rg = new register();

            rg.Show();
        }