Esempio n. 1
0
 /// <summary>
 /// Shows profile edit form. Populates form with academician info
 /// </summary>
 /// <param name="id"></param>
 public void ShowProfileEditForm(Academician ac)
 {
     ShowLoading();
     addForm = new ProfileEditForm(ac);
     ActivateChildForm(addForm, false);
     FadeOutLoading();
 }
Esempio n. 2
0
        //private void delay_Tick(object sender, EventArgs e) {
        //    StartFadeOut();
        //    delay.Stop();
        //}

        private void addAcademcian_Click(object sender, EventArgs e)
        {
            ShowLoading();
            addForm = new ProfileEditForm();
            ActivateChildForm(addForm, false); //other forms wont be disposed
            FadeOutLoading();
        }
Esempio n. 3
0
        /// <summary>
        /// This function will be called from LoginForm after admin
        /// succesfully logged in.
        /// </summary>
        public void HideLoginButton()
        {
            ShowLoading();
            isAdminLoggedIn   = true;
            menuLogin.Visible = false;
            menuLogin.Enabled = false;
            menuLogin.Dispose();
            addAcademcian.Visible = true;
            addForm = new ProfileEditForm();

            ActivateChildForm(addForm, false);

            FadeOutLoading();
        }