111,120
社区成员
发帖
与我相关
我的任务
分享 static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
LeftFrameTest frm = new LeftFrameTest();
frm.ShowDialog();
if (frm.bSign)
Application.Run(new Form1());
else
Application.Exit();
}
}//======================================================================
//
// Copyright : SHANGHAI HOMEN INTELLIGENT SYSTEM Co.,LTD.
// All rights reserved
//
// Filename : LeftFrameTest
// Description :
//
// created by 邱在辉 at 2009-12-1 14:17:01
//
//======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class LeftFrameTest : Form
{
public bool bSign = false;
public LeftFrameTest()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
this.bSign = true;
this.Close();
}
}
}