public FormUpdateCase()
 {
     InitializeComponent();
     FormNewCase.loadCases(Combo_UpdatePersonal);
     FormNewCase.loadCases(Combo_familyUpdate);
     FormNewCase.loadCases(Combo_BankUpdate);
     //FormNewCase.loadCases(Combo_OtherDetailsUpdate);
     FormNewCase.loadCases(Combo_NeedUpdate);
     FormNewCase.loadCases(ComboBox_RemarksTab);
 }
예제 #2
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();
        }
예제 #3
0
        private void ButtonNewCase_Click(object sender, EventArgs e)
        {
            updateCase   = null;
            viewAllCases = null;
            teamImdaad   = null;
            generateList = null;
            messaging    = null;
            donors       = null;
            backup       = null;

            if (newCase == null)
            {
                newCase               = new FormNewCase();
                newCase.MdiParent     = this;
                newCase.StartPosition = FormStartPosition.CenterScreen;
                newCase.Show();
            }
            else
            {
                newCase.Activate();
            }
        }
예제 #4
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();
            }
        }
예제 #5
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();
            }
        }
예제 #6
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();
            }
        }
예제 #7
0
        private void button9_Click(object sender, EventArgs e)
        {
            newCase      = null;
            updateCase   = null;
            viewAllCases = null;
            donors       = null;
            generateList = null;
            teamImdaad   = null;
            backup       = null;
            startScreen  = null;


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