Example #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();
        }
Example #2
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();
            }
        }
Example #3
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();
            }
        }
Example #4
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();
            }
        }