Ignore:
Timestamp:
Nov 18, 2010, 7:47:04 AM (14 years ago)
Author:
Sam Habiel
Message:

UCPatientAppts: Fixes printing empty table bug reported by EHS.
DAccessTemplate: Various usability improvements.
CGDocumentManager: Fixed Delegate code so that it can operate asynchronously
CGAVView: Some temporary fixes (not totally usable): Added non-functional Delete Slots menu option; Added Background worker for saving acccess slots
In the future, Delete Slots will work; and will use ADO.net Updatable datatable for saving access slots.
calendarGrid: just some comments for now
AssemblyInfo: bumped version up to v1.4.2

File:
1 edited

Legend:

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

    r824 r1011  
    119119        private void btnPrint_Click(object sender, EventArgs e)
    120120        {
     121            //Fixes bug reported by EHS. Don't print if there are no appointments as this causes null ref
     122            if (dtAppt.Rows.Count == 0)
     123            {
     124                MessageBox.Show("No Appointments to Print", "Nothing to Print");
     125                return;
     126            }
     127
    121128            rowToPrint = 0; //reset row to print
    122129            DialogResult res = printDialog1.ShowDialog();
     
    124131        }
    125132
     133        /// <summary>
     134        /// Sets default page orientation to landscape.
     135        /// </summary>
    126136        private void PrintPtAppts_QueryPageSettings(object sender, System.Drawing.Printing.QueryPageSettingsEventArgs e)
    127137        {
Note: See TracChangeset for help on using the changeset viewer.