Exemplo n.º 1
0
        private void tileUsers_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            frmUsers usersForm = new frmUsers();

            usersForm.ShowDialog();
            this.Cursor = Cursors.Default;
        }
Exemplo n.º 2
0
        private void handleDefaultLogin()
        {
            this.Cursor = Cursors.WaitCursor;
            Log.Info("Login successfully with defaulth account.");
            txtPass.BackColor = Color.Green;
            frmMain mainForm = new frmMain();

            mainForm.Show();
            frmUsers frmUsers = new frmUsers();

            frmUsers.Show();
            frmIntrdctnLogin frmIntrd = new frmIntrdctnLogin();

            frmIntrd.ShowDialog();
            this.Hide();
            tmrAnimate.Enabled   = false;
            tmrFalsePass.Enabled = false;
        }