Exemple #1
0
        private void PicButton_Home_Click(object sender, EventArgs e)
        {
            newCase      = null;
            updateCase   = null;
            viewAllCases = null;
            teamImdaad   = null;
            donors       = null;
            teamImdaad   = null;
            messaging    = null;
            backup       = null;


            startScreen               = new FormStartScreenInfo();
            startScreen.MdiParent     = this;
            startScreen.StartPosition = FormStartPosition.CenterScreen;
            startScreen.Show();
        }
Exemple #2
0
        private void Button_BackupMainProfile_Click(object sender, EventArgs e)
        {
            startScreen  = null;
            newCase      = null;
            updateCase   = null;
            viewAllCases = null;
            donors       = null;
            generateList = null;
            teamImdaad   = null;
            messaging    = null;

            if (backup == null)
            {
                backup               = new FormBackup();
                backup.MdiParent     = this;
                backup.StartPosition = FormStartPosition.CenterScreen;
                backup.Show();
            }
            else
            {
                backup.Activate();
            }
        }
Exemple #3
0
        private void button5_Click(object sender, EventArgs e)
        {
            startScreen  = null;
            newCase      = null;
            updateCase   = null;
            viewAllCases = null;
            teamImdaad   = null;
            generateList = null;
            messaging    = null;
            backup       = null;

            if (donors == null)
            {
                donors               = new FormDonors();
                donors.MdiParent     = this;
                donors.StartPosition = FormStartPosition.CenterScreen;
                donors.Show();
            }
            else
            {
                donors.Activate();
            }
        }