Beispiel #1
0
 private void btnClaear_cancel_Click(object sender, EventArgs e)
 {
     dbc.Dispose();
     dbc = new InhCheckupDataContext();
     LoadUserdata("");
     Clearbutton();
 }
Beispiel #2
0
 private void CancelAllTab()
 {
     dbc.Dispose();
     dbc = new InhCheckupDataContext();
     Loaddata(0);
     LoadDataEvent();
     LoadRoomEvent(0);
 }
Beispiel #3
0
        /*end Tab 1*/


        //Clear AllTab
        private void CancelAllTab()
        {
            dbc.Dispose();
            dbc = new InhCheckupDataContext();
            //load Tab1
            int siteid = Utility.GetInteger(DDSite_SearchTab1.SelectedValue);

            ShowConfigHeader(siteid);
            //load Tab2
            int mrmid = Utility.GetInteger(DDRoomSearch_tab2.SelectedValue);

            ShowConclusion(mrmid);
            //load Tab3
            ShowPHMSearch("");
        }
Beispiel #4
0
        private void Clearfrm()
        {
            dbc.Dispose();
            dbc = new InhCheckupDataContext();

            CurrentRegis = null;
            Program.CurrentPatient_queue = null;

            //new code//
            subjectiveUC1.Clear();
            objectiveUC1.Clear();
            tabAssessmentAndPlanUC1.Clear();

            panel1.Enabled  = false;
            lbAlertMsg.Text = String.Empty;
        }