Ignore:
Timestamp:
May 21, 2010, 9:03:45 PM (14 years ago)
Author:
Sam Habiel
Message:

Removal of Crystal Reports
Partial Rework of Clinic Patient List report
Other reports that used Crystal don't work yet.
Fixes for Strongly typed DataTables (change the RESOURCEID from uint to int) to support table merge from untyped table.
Support for command line arguments: /s= for server /p= for port /a= for access code /v= for verify code
Only the following combinations work: none; /s and /p; /s, /p, /a, /v

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs

    r627 r772  
    376376            //
    377377            this.mnuPrintClinicSchedules.Index = 9;
     378            this.mnuPrintClinicSchedules.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
    378379            this.mnuPrintClinicSchedules.Text = "&Print Clinic Schedules";
    379380            this.mnuPrintClinicSchedules.Click += new System.EventHandler(this.mnuPrintClinicSchedules_Click);
     
    23712372        }
    23722373
    2373         private void PrintPatientLetter()
    2374         {
    2375             //Prompt for patient and
    2376             //Print letter for individual patient
    2377             try
    2378             {
    2379                 //Display a dialog to collect Patient Name
    2380                 DPatientLookup dPat = new DPatientLookup();
    2381                 dPat.DocManager = m_DocManager;
    2382                 if (dPat.ShowDialog(this) == DialogResult.Cancel)
    2383                 {
    2384                     return;
    2385                 }
    2386 
    2387                 Debug.Assert(dPat.PatientIEN != "");
    2388                 int nPatientID = Convert.ToInt32(dPat.PatientIEN);
    2389                 PrintPatientLetter(nPatientID);
    2390 
    2391             }
    2392             catch (Exception ex)
    2393             {
    2394                 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
    2395             }
    2396         }
    2397 
    2398         private void PrintPatientLetter(int PatientID)
    2399         {
    2400             //Print letter for individual patient
    2401             try
    2402             {
    2403                 DPatientLetter dPa = new DPatientLetter();
    2404                 dPa.InitializeForm(DocManager, PatientID);
    2405 
    2406                 if (dPa.ShowDialog(this) != DialogResult.Cancel)
    2407                 {
    2408                     return;
    2409                 }
    2410             }
    2411             catch (Exception ex)
    2412             {
    2413                 throw ex;
    2414             }
    2415         }
    2416 
    24172374        #endregion Methods
    24182375
     
    30202977                private void mnuPrintPatientLetter_Click(object sender, System.EventArgs e)
    30212978                {
    3022                         PrintPatientLetter();
     2979                        ViewPatientAppointments();
    30232980                }
    30242981
Note: See TracChangeset for help on using the changeset viewer.