Exemple #1
0
        private void barButtonItem1_ItemClick_1(object sender, ItemClickEventArgs e)
        {
            ucPointsCenter pc = new ucPointsCenter();

            pc.Userid = "";
            ShowMdiForm(pc);
        }
Exemple #2
0
        protected override void OnFirstLoad()
        {
            ShowMdiForm(new UCQuestionnaire(TmoComm.login_userInfo));

            ShowMdiForm <UCDeviceDataSync>();

            tmodatashow datashow = new tmodatashow();

            datashow.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(datashow);

            NewReportList nrl = new NewReportList();

            nrl.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(nrl);

            NewReport nr = new NewReport();

            nr.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(nr);

            NewReporttenance nrt = new NewReporttenance();

            nrt.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(nrt);

            ExtendServerNew esn = new ExtendServerNew();

            esn.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(esn);

            UCIntervene inter = new UCIntervene();

            inter.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(inter);

            TmoNewEvaluation ne = new TmoNewEvaluation();

            ne.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(ne);

            ucPointsCenter pc = new ucPointsCenter();

            pc.Userid = TmoComm.login_userInfo.user_id;
            ShowMdiForm(pc);

            mdiForms[typeof(UCQuestionnaire)].Activate();

            CenterToScreen();

            base.OnFirstLoad();
        }