Exemple #1
0
        public void launchLoginFormTimerTick(object sender, EventArgs e)
        {
            launchingLoginFormTimer.Dispose();
            launchingLoginFormTimer.Enabled = false;

            Forms.SysLoginForm sysLoginForm = new Forms.SysLoginForm();
            sysLoginForm.Show();

            Hide();
        }
Exemple #2
0
        private void btnLogout_Click(object sender, EventArgs e)
        {
            if (isSalesIntegrationStarted)
            {
                MessageBox.Show("Please stop the sales integration first.", "EasyFIS Integration", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else if (isManualSalesIntegrationStarted)
            {
                MessageBox.Show("Please stop the manual sales integration first.", "EasyFIS Integration", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else if (isFolderMonitoringIntegrationStarted)
            {
                MessageBox.Show("Please stop the folder monitoring integration first.", "EasyFIS Integration", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else
            {
                Hide();

                SysLoginForm sysLoginForm = new SysLoginForm();
                sysLoginForm.Show();
            }
        }
Exemple #3
0
 public void getLoginDetails(SysLoginForm form)
 {
     sysLoginForm = form;
     //lblCurrentUser.Text = sysLoginForm.currentUser;
 }