예제 #1
0
        public FormMainProfile()
        {
            InitializeComponent();
            this.FormBorderStyle = FormBorderStyle.None;
            Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 15, 15));

            startScreen               = new FormStartScreenInfo();
            startScreen.MdiParent     = this;
            startScreen.StartPosition = FormStartPosition.CenterScreen;
            startScreen.Show();
        }
예제 #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 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();
            }
        }
예제 #4
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();
            }
        }
예제 #5
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();
            }
        }
예제 #6
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();
            }
        }