示例#1
0
 private void btnLogout_Click(object sender, EventArgs e)
 {
     if (myLoginFrm.ShowDialog(this) == DialogResult.Yes)
     {
         playerDbConn = myLoginFrm.DbConnector;
     }
 }
示例#2
0
 private void btnLogout_Click(object sender, EventArgs e)
 {
     if (myLoginFrm.ShowDialog(this) == DialogResult.Yes)
     {
         playerDbConn = myLoginFrm.DbConnector;
     }
 }
示例#3
0
        public PocketWorld()
        {
            InitializeComponent();

            myLoginFrm = new LoginForm();

            if( myLoginFrm.ShowDialog(this) == DialogResult.Yes)
            {
                playerDbConn = myLoginFrm.DbConnector;
            }

            InitScreen();
        }
示例#4
0
        public PocketWorld()
        {
            InitializeComponent();

            myLoginFrm = new LoginForm();

            if (myLoginFrm.ShowDialog(this) == DialogResult.Yes)
            {
                playerDbConn = myLoginFrm.DbConnector;
            }

            InitScreen();
        }
示例#5
0
 public LoginForm()
 {
     InitializeComponent();
     dbConnector = new PlayerDBConnectManager();
 }