Exemple #1
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();
            }
        }
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 button4_Click(object sender, EventArgs e)
        {
            startScreen  = null;
            newCase      = null;
            updateCase   = null;
            viewAllCases = null;
            donors       = null;
            teamImdaad   = null;
            messaging    = null;
            backup       = null;

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