static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new Login1()); Login1 login = new Login1(); login.ShowDialog(); if (login.DialogResult==DialogResult.OK) { Application.Run(new Form1(login)); } else { return; } }
public ChanPin(Login1 log) { frmOne = log; InitializeComponent(); }
public SuiGongDanJTXX(Login1 form1) { frmOne = form1; InitializeComponent(); }
public KeHuXX(Login1 loge) { frmOne = loge; InitializeComponent(); }
public GuiGeShu(Login1 loge) { fr = loge; InitializeComponent(); }
public SuiGongDanGX(Login1 loge) { fr = loge; InitializeComponent(); }