Changeset 804 for Scheduling


Ignore:
Timestamp:
Jun 19, 2010, 12:41:06 PM (15 years ago)
Author:
Sam Habiel
Message:

Support for Routing Slip printing.
Version change from 1.1 to 1.2 in preparation for release.
Printing.cs: Addition of PrintRoutingSlip method.
CGView.cs: Handling of printing of routing slip if chosen in DCheckIn.cs
CGView.cs: New context option to re-print routing slip
DCheckIn.cs: toolTip1 to explain that routing slip will print on the default printer.

Location:
Scheduling/trunk/cs/bsdx0200GUISourceCode
Files:
8 edited

Legend:

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

    r789 r804  
    2828// by using the '*' as shown below:
    2929
    30 [assembly: AssemblyVersion("1.1.*")]
     30[assembly: AssemblyVersion("1.2.*")]
    3131
    3232//
     
    5858[assembly: AssemblyKeyFile("")]
    5959[assembly: AssemblyKeyName("")]
    60 [assembly: AssemblyFileVersionAttribute("1.1.0.0")]
     60[assembly: AssemblyFileVersionAttribute("1.2.0.0")]
    6161[assembly: ComVisibleAttribute(false)]
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs

    r802 r804  
    101101                private System.Windows.Forms.MenuItem mnuDisplayWalkIns;
    102102        private System.Windows.Forms.MenuItem mnuRPMSDivision;
     103        private System.Drawing.Printing.PrintDocument printRoutingSlip;
     104        private MenuItem menuItem10;
     105        private MenuItem ctxCalGridReprintRoutingSlip;
    103106        private IContainer components;
    104107
     
    266269            this.lblResource = new System.Windows.Forms.Label();
    267270            this.panelCenter = new System.Windows.Forms.Panel();
    268             this.calendarGrid1 = new IndianHealthService.ClinicalScheduling.CalendarGrid();
    269271            this.ctxCalendarGrid = new System.Windows.Forms.ContextMenu();
    270272            this.ctxCalGridAdd = new System.Windows.Forms.MenuItem();
     
    277279            this.menuItem9 = new System.Windows.Forms.MenuItem();
    278280            this.ctxCalGridWalkin = new System.Windows.Forms.MenuItem();
     281            this.menuItem10 = new System.Windows.Forms.MenuItem();
    279282            this.panelBottom = new System.Windows.Forms.Panel();
    280283            this.statusBar1 = new System.Windows.Forms.StatusBar();
    281284            this.splitter1 = new System.Windows.Forms.Splitter();
    282285            this.splitter2 = new System.Windows.Forms.Splitter();
     286            this.printRoutingSlip = new System.Drawing.Printing.PrintDocument();
     287            this.calendarGrid1 = new IndianHealthService.ClinicalScheduling.CalendarGrid();
     288            this.ctxCalGridReprintRoutingSlip = new System.Windows.Forms.MenuItem();
    283289            this.panelRight.SuspendLayout();
    284290            this.panelClip.SuspendLayout();
     
    643649            this.tvSchedules.Location = new System.Drawing.Point(0, 0);
    644650            this.tvSchedules.Name = "tvSchedules";
    645             this.tvSchedules.Size = new System.Drawing.Size(128, 422);
     651            this.tvSchedules.Size = new System.Drawing.Size(128, 369);
    646652            this.tvSchedules.Sorted = true;
    647653            this.tvSchedules.TabIndex = 1;
     
    691697            this.panelRight.Location = new System.Drawing.Point(807, 0);
    692698            this.panelRight.Name = "panelRight";
    693             this.panelRight.Size = new System.Drawing.Size(128, 422);
     699            this.panelRight.Size = new System.Drawing.Size(128, 369);
    694700            this.panelRight.TabIndex = 3;
    695701            this.panelRight.Visible = false;
     
    787793            this.panelCenter.Location = new System.Drawing.Point(136, 24);
    788794            this.panelCenter.Name = "panelCenter";
    789             this.panelCenter.Size = new System.Drawing.Size(668, 374);
     795            this.panelCenter.Size = new System.Drawing.Size(668, 321);
    790796            this.panelCenter.TabIndex = 7;
     797            //
     798            // ctxCalendarGrid
     799            //
     800            this.ctxCalendarGrid.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     801            this.ctxCalGridAdd,
     802            this.ctxCalGridEdit,
     803            this.ctxCalGridDelete,
     804            this.ctxCalGridCheckIn,
     805            this.menuItem2,
     806            this.ctxCalGridNoShow,
     807            this.ctxCalGridNoShowUndo,
     808            this.menuItem9,
     809            this.ctxCalGridWalkin,
     810            this.menuItem10,
     811            this.ctxCalGridReprintRoutingSlip});
     812            this.ctxCalendarGrid.Popup += new System.EventHandler(this.ctxCalendarGrid_Popup);
     813            //
     814            // ctxCalGridAdd
     815            //
     816            this.ctxCalGridAdd.Index = 0;
     817            this.ctxCalGridAdd.Text = "Add Appointment";
     818            this.ctxCalGridAdd.Click += new System.EventHandler(this.ctxCalGridAdd_Click);
     819            //
     820            // ctxCalGridEdit
     821            //
     822            this.ctxCalGridEdit.Index = 1;
     823            this.ctxCalGridEdit.Text = "Edit Appointment";
     824            this.ctxCalGridEdit.Click += new System.EventHandler(this.ctxCalGridEdit_Click);
     825            //
     826            // ctxCalGridDelete
     827            //
     828            this.ctxCalGridDelete.Index = 2;
     829            this.ctxCalGridDelete.Text = "Cancel Appointment";
     830            this.ctxCalGridDelete.Click += new System.EventHandler(this.ctxCalGridDelete_Click);
     831            //
     832            // ctxCalGridCheckIn
     833            //
     834            this.ctxCalGridCheckIn.Index = 3;
     835            this.ctxCalGridCheckIn.Text = "Check In Patient";
     836            this.ctxCalGridCheckIn.Click += new System.EventHandler(this.ctxCalGridCheckIn_Click);
     837            //
     838            // menuItem2
     839            //
     840            this.menuItem2.Index = 4;
     841            this.menuItem2.Text = "-";
     842            //
     843            // ctxCalGridNoShow
     844            //
     845            this.ctxCalGridNoShow.Index = 5;
     846            this.ctxCalGridNoShow.Text = "Mark as No Show";
     847            this.ctxCalGridNoShow.Click += new System.EventHandler(this.ctxCalGridNoShow_Click);
     848            //
     849            // ctxCalGridNoShowUndo
     850            //
     851            this.ctxCalGridNoShowUndo.Index = 6;
     852            this.ctxCalGridNoShowUndo.Text = "Undo NoShow";
     853            this.ctxCalGridNoShowUndo.Click += new System.EventHandler(this.ctxCalGridNoShowUndo_Click);
     854            //
     855            // menuItem9
     856            //
     857            this.menuItem9.Index = 7;
     858            this.menuItem9.Text = "-";
     859            //
     860            // ctxCalGridWalkin
     861            //
     862            this.ctxCalGridWalkin.Index = 8;
     863            this.ctxCalGridWalkin.Text = "Create Wal&k-In Appointment";
     864            this.ctxCalGridWalkin.Click += new System.EventHandler(this.ctxCalGridWalkin_Click);
     865            //
     866            // menuItem10
     867            //
     868            this.menuItem10.Index = 9;
     869            this.menuItem10.Text = "-";
     870            //
     871            // panelBottom
     872            //
     873            this.panelBottom.Controls.Add(this.statusBar1);
     874            this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     875            this.panelBottom.Location = new System.Drawing.Point(136, 345);
     876            this.panelBottom.Name = "panelBottom";
     877            this.panelBottom.Size = new System.Drawing.Size(668, 24);
     878            this.panelBottom.TabIndex = 8;
     879            //
     880            // statusBar1
     881            //
     882            this.statusBar1.Dock = System.Windows.Forms.DockStyle.Fill;
     883            this.statusBar1.Location = new System.Drawing.Point(0, 0);
     884            this.statusBar1.Name = "statusBar1";
     885            this.statusBar1.Size = new System.Drawing.Size(668, 24);
     886            this.statusBar1.SizingGrip = false;
     887            this.statusBar1.TabIndex = 0;
     888            //
     889            // splitter1
     890            //
     891            this.splitter1.Location = new System.Drawing.Point(128, 24);
     892            this.splitter1.Name = "splitter1";
     893            this.splitter1.Size = new System.Drawing.Size(8, 345);
     894            this.splitter1.TabIndex = 9;
     895            this.splitter1.TabStop = false;
     896            //
     897            // splitter2
     898            //
     899            this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
     900            this.splitter2.Location = new System.Drawing.Point(804, 24);
     901            this.splitter2.Name = "splitter2";
     902            this.splitter2.Size = new System.Drawing.Size(3, 345);
     903            this.splitter2.TabIndex = 10;
     904            this.splitter2.TabStop = false;
     905            //
     906            // printRoutingSlip
     907            //
     908            this.printRoutingSlip.DocumentName = "Routing Slip";
     909            this.printRoutingSlip.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printRoutingSlip_PrintPage);
    791910            //
    792911            // calendarGrid1
     
    809928            this.calendarGrid1.Resources = ((System.Collections.ArrayList)(resources.GetObject("calendarGrid1.Resources")));
    810929            this.calendarGrid1.SelectedAppointment = 0;
    811             this.calendarGrid1.Size = new System.Drawing.Size(668, 374);
     930            this.calendarGrid1.Size = new System.Drawing.Size(668, 321);
    812931            this.calendarGrid1.StartDate = new System.DateTime(2003, 1, 27, 0, 0, 0, 0);
    813932            this.calendarGrid1.TabIndex = 0;
     
    818937            this.calendarGrid1.CGAppointmentAdded += new IndianHealthService.ClinicalScheduling.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentAdded);
    819938            //
    820             // ctxCalendarGrid
    821             //
    822             this.ctxCalendarGrid.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
    823             this.ctxCalGridAdd,
    824             this.ctxCalGridEdit,
    825             this.ctxCalGridDelete,
    826             this.ctxCalGridCheckIn,
    827             this.menuItem2,
    828             this.ctxCalGridNoShow,
    829             this.ctxCalGridNoShowUndo,
    830             this.menuItem9,
    831             this.ctxCalGridWalkin});
    832             this.ctxCalendarGrid.Popup += new System.EventHandler(this.ctxCalendarGrid_Popup);
    833             //
    834             // ctxCalGridAdd
    835             //
    836             this.ctxCalGridAdd.Index = 0;
    837             this.ctxCalGridAdd.Text = "Add Appointment";
    838             this.ctxCalGridAdd.Click += new System.EventHandler(this.ctxCalGridAdd_Click);
    839             //
    840             // ctxCalGridEdit
    841             //
    842             this.ctxCalGridEdit.Index = 1;
    843             this.ctxCalGridEdit.Text = "Edit Appointment";
    844             this.ctxCalGridEdit.Click += new System.EventHandler(this.ctxCalGridEdit_Click);
    845             //
    846             // ctxCalGridDelete
    847             //
    848             this.ctxCalGridDelete.Index = 2;
    849             this.ctxCalGridDelete.Text = "Cancel Appointment";
    850             this.ctxCalGridDelete.Click += new System.EventHandler(this.ctxCalGridDelete_Click);
    851             //
    852             // ctxCalGridCheckIn
    853             //
    854             this.ctxCalGridCheckIn.Index = 3;
    855             this.ctxCalGridCheckIn.Text = "Check In Patient";
    856             this.ctxCalGridCheckIn.Click += new System.EventHandler(this.ctxCalGridCheckIn_Click);
    857             //
    858             // menuItem2
    859             //
    860             this.menuItem2.Index = 4;
    861             this.menuItem2.Text = "-";
    862             //
    863             // ctxCalGridNoShow
    864             //
    865             this.ctxCalGridNoShow.Index = 5;
    866             this.ctxCalGridNoShow.Text = "Mark as No Show";
    867             this.ctxCalGridNoShow.Click += new System.EventHandler(this.ctxCalGridNoShow_Click);
    868             //
    869             // ctxCalGridNoShowUndo
    870             //
    871             this.ctxCalGridNoShowUndo.Index = 6;
    872             this.ctxCalGridNoShowUndo.Text = "Undo NoShow";
    873             this.ctxCalGridNoShowUndo.Click += new System.EventHandler(this.ctxCalGridNoShowUndo_Click);
    874             //
    875             // menuItem9
    876             //
    877             this.menuItem9.Index = 7;
    878             this.menuItem9.Text = "-";
    879             //
    880             // ctxCalGridWalkin
    881             //
    882             this.ctxCalGridWalkin.Index = 8;
    883             this.ctxCalGridWalkin.Text = "Create Wal&k-In Appointment";
    884             this.ctxCalGridWalkin.Click += new System.EventHandler(this.ctxCalGridWalkin_Click);
    885             //
    886             // panelBottom
    887             //
    888             this.panelBottom.Controls.Add(this.statusBar1);
    889             this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
    890             this.panelBottom.Location = new System.Drawing.Point(136, 398);
    891             this.panelBottom.Name = "panelBottom";
    892             this.panelBottom.Size = new System.Drawing.Size(668, 24);
    893             this.panelBottom.TabIndex = 8;
    894             //
    895             // statusBar1
    896             //
    897             this.statusBar1.Dock = System.Windows.Forms.DockStyle.Fill;
    898             this.statusBar1.Location = new System.Drawing.Point(0, 0);
    899             this.statusBar1.Name = "statusBar1";
    900             this.statusBar1.Size = new System.Drawing.Size(668, 24);
    901             this.statusBar1.SizingGrip = false;
    902             this.statusBar1.TabIndex = 0;
    903             //
    904             // splitter1
    905             //
    906             this.splitter1.Location = new System.Drawing.Point(128, 24);
    907             this.splitter1.Name = "splitter1";
    908             this.splitter1.Size = new System.Drawing.Size(8, 398);
    909             this.splitter1.TabIndex = 9;
    910             this.splitter1.TabStop = false;
    911             //
    912             // splitter2
    913             //
    914             this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
    915             this.splitter2.Location = new System.Drawing.Point(804, 24);
    916             this.splitter2.Name = "splitter2";
    917             this.splitter2.Size = new System.Drawing.Size(3, 398);
    918             this.splitter2.TabIndex = 10;
    919             this.splitter2.TabStop = false;
     939            // ctxCalGridReprintRoutingSlip
     940            //
     941            this.ctxCalGridReprintRoutingSlip.Index = 10;
     942            this.ctxCalGridReprintRoutingSlip.Text = "&Reprint Routing Slip";
     943            this.ctxCalGridReprintRoutingSlip.Click += new System.EventHandler(this.ctxCalGridReprintRoutingSlip_Click);
    920944            //
    921945            // CGView
    922946            //
    923947            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    924             this.ClientSize = new System.Drawing.Size(935, 422);
     948            this.ClientSize = new System.Drawing.Size(935, 369);
    925949            this.Controls.Add(this.panelCenter);
    926950            this.Controls.Add(this.panelBottom);
     
    12301254                        ctxCalGridNoShowUndo.Enabled = bEditAppointments;
    12311255                        ctxCalGridWalkin.Enabled = ctxCalGridAdd.Enabled;
    1232                 }
     1256            //smh new code
     1257            ctxCalGridReprintRoutingSlip.Enabled = ctxCalGridEdit.Enabled;
     1258                    //end new code
     1259        }
    12331260
    12341261                private void ctxCalGridAdd_Click(object sender, System.EventArgs e)
     
    12671294                        AppointmentNoShow(false);
    12681295                }
     1296
     1297        //new code smh
     1298        private void ctxCalGridReprintRoutingSlip_Click(object sender, EventArgs e)
     1299        {
     1300            printRoutingSlip.Print();
     1301        }
     1302        //end new code
    12691303
    12701304                #endregion ctxCalGridMenu Handlers
     
    20032037                         dlgCheckin.PCCOutGuide
    20042038                                        );
     2039                //smh new code
     2040                if (dlgCheckin.PrintRouteSlip == "true") //TODO: strange that we use a string for a boolean value??
     2041                    this.printRoutingSlip.Print();
     2042                // end new code
     2043
    20052044                                this.calendarGrid1.Invalidate();
    20062045                        }
     
    30573096        }
    30583097
     3098        private void printRoutingSlip_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
     3099        {
     3100            int nApptID = this.calendarGrid1.SelectedAppointment;
     3101            CGAppointment a = (CGAppointment)this.Appointments.AppointmentTable[nApptID];
     3102            ClinicalScheduling.Printing.PrintRoutingSlip(a, "Routing Slip", e);
     3103        }
     3104
     3105
    30593106        #endregion events
     3107
     3108
    30603109
    30613110
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.resx

    r614 r804  
    136136</value>
    137137  </data>
     138  <metadata name="printRoutingSlip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     139    <value>512, 17</value>
     140  </metadata>
    138141  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    139142    <value>75</value>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.cs

    r802 r804  
    1515    public class DCheckIn : System.Windows.Forms.Form
    1616    {
    17         /// <summary>
    18         /// Required designer variable.
    19         /// </summary>
    20         private System.ComponentModel.Container components = null;
     17        private IContainer components;
    2118
    2219        public DCheckIn()
     
    8279        private string m_sPCCClinicIEN;
    8380        private string m_sPCCFormIEN;
     81        private ToolTip toolTip1;
    8482        private bool m_bPCCOutGuide;
    8583
     
    241239                cboProvider.SelectedIndex = nFind;
    242240            }
     241            //otherwise, just use the default provider table
    243242            else
    244243            {
     
    262261
    263262            //Stop code processing
     263            //TODO: Remove... not in VISTA.
    264264            this.lblStopCode.Visible = false;
    265265            this.cboStopCode.Visible = false;
     
    453453        private void InitializeComponent()
    454454        {
     455            this.components = new System.ComponentModel.Container();
     456            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DCheckIn));
    455457            this.pnlPageBottom = new System.Windows.Forms.Panel();
    456458            this.cmdCancel = new System.Windows.Forms.Button();
     
    475477            this.cboPCCPlusForm = new System.Windows.Forms.ComboBox();
    476478            this.label5 = new System.Windows.Forms.Label();
     479            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
    477480            this.pnlPageBottom.SuspendLayout();
    478481            this.pnlDescription.SuspendLayout();
     
    537540            this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(514, 53);
    538541            this.lblDescriptionResourceGroup.TabIndex = 0;
    539             this.lblDescriptionResourceGroup.Text = "Use this panel to check in an appointment. A PCC visit will automatically be crea" +
    540                 "ted for this patient at the check in date and time if the clinic is set up to cr" +
    541                 "eate a visit at checkin.  A patient may only be checked-in once.";
     542            this.lblDescriptionResourceGroup.Text = resources.GetString("lblDescriptionResourceGroup.Text");
    542543            //
    543544            // label1
     
    562563            // lblAlready
    563564            //
    564             this.lblAlready.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     565            this.lblAlready.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    565566            this.lblAlready.ForeColor = System.Drawing.Color.Green;
    566567            this.lblAlready.Location = new System.Drawing.Point(288, 40);
     
    625626            this.chkRoutingSlip.TabIndex = 14;
    626627            this.chkRoutingSlip.Text = "Print Routing Slip";
     628            this.toolTip1.SetToolTip(this.chkRoutingSlip, "Prints routing slip to the Windows Default Printer");
    627629            //
    628630            // grpPCCPlus
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.resx

    r614 r804  
    44    Microsoft ResX Schema
    55   
    6     Version 1.3
     6    Version 2.0
    77   
    88    The primary goals of this format is to allow a simple XML format
     
    1515    ... ado.net/XML headers & schema ...
    1616    <resheader name="resmimetype">text/microsoft-resx</resheader>
    17     <resheader name="version">1.3</resheader>
     17    <resheader name="version">2.0</resheader>
    1818    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    1919    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    20     <data name="Name1">this is my long string</data>
     20    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    2121    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    2222    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
    23         [base64 mime encoded serialized .NET Framework object]
     23        <value>[base64 mime encoded serialized .NET Framework object]</value>
    2424    </data>
    2525    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    26         [base64 mime encoded string representing a byte array form of the .NET Framework object]
     26        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
     27        <comment>This is a comment</comment>
    2728    </data>
    2829               
     
    3637    mimetype set.
    3738   
    38     The mimetype is used forserialized objects, and tells the
     39    The mimetype is used for serialized objects, and tells the
    3940    ResXResourceReader how to depersist the object. This is currently not
    4041    extensible. For a given mimetype the value must be set accordingly:
     
    4647    mimetype: application/x-microsoft.net.object.binary.base64
    4748    value   : The object must be serialized with
    48             : System.Serialization.Formatters.Binary.BinaryFormatter
     49            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
    4950            : and then encoded with base64 encoding.
    5051   
     
    6061    -->
    6162  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
     63    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    6264    <xsd:element name="root" msdata:IsDataSet="true">
    6365      <xsd:complexType>
    6466        <xsd:choice maxOccurs="unbounded">
     67          <xsd:element name="metadata">
     68            <xsd:complexType>
     69              <xsd:sequence>
     70                <xsd:element name="value" type="xsd:string" minOccurs="0" />
     71              </xsd:sequence>
     72              <xsd:attribute name="name" use="required" type="xsd:string" />
     73              <xsd:attribute name="type" type="xsd:string" />
     74              <xsd:attribute name="mimetype" type="xsd:string" />
     75              <xsd:attribute ref="xml:space" />
     76            </xsd:complexType>
     77          </xsd:element>
     78          <xsd:element name="assembly">
     79            <xsd:complexType>
     80              <xsd:attribute name="alias" type="xsd:string" />
     81              <xsd:attribute name="name" type="xsd:string" />
     82            </xsd:complexType>
     83          </xsd:element>
    6584          <xsd:element name="data">
    6685            <xsd:complexType>
     
    6988                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
    7089              </xsd:sequence>
    71               <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
     90              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
    7291              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
    7392              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
     93              <xsd:attribute ref="xml:space" />
    7494            </xsd:complexType>
    7595          </xsd:element>
     
    90110  </resheader>
    91111  <resheader name="version">
    92     <value>1.3</value>
     112    <value>2.0</value>
    93113  </resheader>
    94114  <resheader name="reader">
    95     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
     115    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
    96116  </resheader>
    97117  <resheader name="writer">
    98     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
     118    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
    99119  </resheader>
    100   <data name="pnlPageBottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    101     <value>False</value>
     120  <data name="lblDescriptionResourceGroup.Text" xml:space="preserve">
     121    <value>Use this panel to check in an appointment. A PCC visit will automatically be created for this patient at the check in date and time if the clinic is set up to create a visit at checkin.  A patient may only be checked-in once.</value>
    102122  </data>
    103   <data name="pnlPageBottom.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    104     <value>True</value>
    105   </data>
    106   <data name="pnlPageBottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    107     <value>Private</value>
    108   </data>
    109   <data name="pnlPageBottom.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    110     <value>8, 8</value>
    111   </data>
    112   <data name="pnlPageBottom.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    113     <value>False</value>
    114   </data>
    115   <data name="pnlPageBottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    116     <value>Private</value>
    117   </data>
    118   <data name="cmdCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    119     <value>False</value>
    120   </data>
    121   <data name="cmdCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    122     <value>Private</value>
    123   </data>
    124   <data name="cmdCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    125     <value>Private</value>
    126   </data>
    127   <data name="cmdOK.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    128     <value>False</value>
    129   </data>
    130   <data name="cmdOK.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    131     <value>Private</value>
    132   </data>
    133   <data name="cmdOK.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    134     <value>Private</value>
    135   </data>
    136   <data name="pnlDescription.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    137     <value>False</value>
    138   </data>
    139   <data name="pnlDescription.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    140     <value>True</value>
    141   </data>
    142   <data name="pnlDescription.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    143     <value>8, 8</value>
    144   </data>
    145   <data name="pnlDescription.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    146     <value>True</value>
    147   </data>
    148   <data name="pnlDescription.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    149     <value>Private</value>
    150   </data>
    151   <data name="pnlDescription.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    152     <value>Private</value>
    153   </data>
    154   <data name="grpDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    155     <value>Private</value>
    156   </data>
    157   <data name="grpDescriptionResourceGroup.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    158     <value>8, 8</value>
    159   </data>
    160   <data name="grpDescriptionResourceGroup.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    161     <value>True</value>
    162   </data>
    163   <data name="grpDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    164     <value>False</value>
    165   </data>
    166   <data name="grpDescriptionResourceGroup.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    167     <value>True</value>
    168   </data>
    169   <data name="grpDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    170     <value>Private</value>
    171   </data>
    172   <data name="lblDescriptionResourceGroup.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    173     <value>False</value>
    174   </data>
    175   <data name="lblDescriptionResourceGroup.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    176     <value>Private</value>
    177   </data>
    178   <data name="lblDescriptionResourceGroup.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    179     <value>Private</value>
    180   </data>
    181   <data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    182     <value>False</value>
    183   </data>
    184   <data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    185     <value>Private</value>
    186   </data>
    187   <data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    188     <value>Private</value>
    189   </data>
    190   <data name="dtpCheckIn.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    191     <value>Private</value>
    192   </data>
    193   <data name="dtpCheckIn.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    194     <value>Private</value>
    195   </data>
    196   <data name="dtpCheckIn.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    197     <value>False</value>
    198   </data>
    199   <data name="lblAlready.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    200     <value>False</value>
    201   </data>
    202   <data name="lblAlready.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    203     <value>Private</value>
    204   </data>
    205   <data name="lblAlready.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    206     <value>Private</value>
    207   </data>
    208   <data name="label3.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    209     <value>False</value>
    210   </data>
    211   <data name="label3.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    212     <value>Private</value>
    213   </data>
    214   <data name="label3.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    215     <value>Private</value>
    216   </data>
    217   <data name="lblPatientName.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    218     <value>False</value>
    219   </data>
    220   <data name="lblPatientName.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    221     <value>Private</value>
    222   </data>
    223   <data name="lblPatientName.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    224     <value>Private</value>
    225   </data>
    226   <data name="cboProvider.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    227     <value>Private</value>
    228   </data>
    229   <data name="cboProvider.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    230     <value>False</value>
    231   </data>
    232   <data name="cboProvider.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    233     <value>Private</value>
    234   </data>
    235   <data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    236     <value>False</value>
    237   </data>
    238   <data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    239     <value>Private</value>
    240   </data>
    241   <data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    242     <value>Private</value>
    243   </data>
    244   <data name="cboStopCode.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    245     <value>Private</value>
    246   </data>
    247   <data name="cboStopCode.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    248     <value>False</value>
    249   </data>
    250   <data name="cboStopCode.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    251     <value>Private</value>
    252   </data>
    253   <data name="lblStopCode.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    254     <value>False</value>
    255   </data>
    256   <data name="lblStopCode.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    257     <value>Private</value>
    258   </data>
    259   <data name="lblStopCode.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    260     <value>Private</value>
    261   </data>
    262   <data name="chkRoutingSlip.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    263     <value>False</value>
    264   </data>
    265   <data name="chkRoutingSlip.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    266     <value>Private</value>
    267   </data>
    268   <data name="chkRoutingSlip.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    269     <value>Private</value>
    270   </data>
    271   <data name="grpPCCPlus.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    272     <value>Private</value>
    273   </data>
    274   <data name="grpPCCPlus.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    275     <value>8, 8</value>
    276   </data>
    277   <data name="grpPCCPlus.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    278     <value>True</value>
    279   </data>
    280   <data name="grpPCCPlus.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    281     <value>False</value>
    282   </data>
    283   <data name="grpPCCPlus.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    284     <value>True</value>
    285   </data>
    286   <data name="grpPCCPlus.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    287     <value>Private</value>
    288   </data>
    289   <data name="chkPCCOutGuide.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    290     <value>False</value>
    291   </data>
    292   <data name="chkPCCOutGuide.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    293     <value>Private</value>
    294   </data>
    295   <data name="chkPCCOutGuide.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    296     <value>Private</value>
    297   </data>
    298   <data name="label4.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    299     <value>False</value>
    300   </data>
    301   <data name="label4.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    302     <value>Private</value>
    303   </data>
    304   <data name="label4.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    305     <value>Private</value>
    306   </data>
    307   <data name="cboPCCPlusClinic.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    308     <value>Private</value>
    309   </data>
    310   <data name="cboPCCPlusClinic.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    311     <value>False</value>
    312   </data>
    313   <data name="cboPCCPlusClinic.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    314     <value>Private</value>
    315   </data>
    316   <data name="cboPCCPlusForm.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    317     <value>Private</value>
    318   </data>
    319   <data name="cboPCCPlusForm.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    320     <value>False</value>
    321   </data>
    322   <data name="cboPCCPlusForm.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    323     <value>Private</value>
    324   </data>
    325   <data name="label5.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    326     <value>False</value>
    327   </data>
    328   <data name="label5.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    329     <value>Private</value>
    330   </data>
    331   <data name="label5.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    332     <value>Private</value>
    333   </data>
    334   <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    335     <value>False</value>
    336   </data>
    337   <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    338     <value>(Default)</value>
    339   </data>
    340   <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    341     <value>False</value>
    342   </data>
    343   <data name="$this.Name">
    344     <value>DCheckIn</value>
    345   </data>
    346   <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    347     <value>False</value>
    348   </data>
    349   <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    350     <value>8, 8</value>
    351   </data>
    352   <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    353     <value>True</value>
    354   </data>
    355   <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    356     <value>80</value>
    357   </data>
    358   <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    359     <value>True</value>
    360   </data>
    361   <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    362     <value>Private</value>
    363   </data>
     123  <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     124    <value>17, 17</value>
     125  </metadata>
    364126</root>
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/Printing.cs

    r789 r804  
    279279        /// <summary>
    280280        /// Print message on a page; typically that there are no appointments to be found.
     281        /// Or just a test message to verify that printing works.
    281282        /// </summary>
    282283        /// <param name="msg">The exact string to print.</param>
     
    287288                Brushes.Black, e.MarginBounds);
    288289        }
    289        
     290
     291        /// <summary>
     292        /// Print Routing Slip
     293        /// </summary>
     294        /// <param name="a">Appointment Data Structure</param>
     295        /// <param name="title">String to print for title</param>
     296        /// <param name="e">etc</param>
     297        public static void PrintRoutingSlip(CGAppointment a, string title, PrintPageEventArgs e)
     298        {
     299            Rectangle printArea = e.MarginBounds;
     300            Graphics g = e.Graphics;
     301            StringFormat sf = new StringFormat();
     302            sf.Alignment = StringAlignment.Center; //for title
     303            Font fTitle = new Font(FontFamily.GenericSerif, 24, FontStyle.Bold); //for title
     304            Font fBody = new Font(FontFamily.GenericSerif, 18);
     305            Font fBodyEm = new Font(FontFamily.GenericSerif, 18, FontStyle.Bold);
     306            g.DrawString(title, fTitle, Brushes.Black, printArea, sf); //title
     307
     308            // move down
     309            int titleHeight = (int)g.MeasureString(title, fTitle, printArea.Width).Height;
     310            printArea.Y += titleHeight;
     311            printArea.Height -= titleHeight;
     312
     313            // draw underline
     314            g.DrawLine(Pens.Black, printArea.Location, new Point(printArea.Right, printArea.Y));
     315            printArea.Y += 15;
     316            printArea.Height -= 15;
     317
     318            //construct what to print
     319            string toprint = "Patient: " + a.PatientName + "\t" + "ID: " + a.PatientID;
     320            toprint += "\n\n";
     321            toprint += "Appointment Time: " + a.StartTime.ToLongDateString() + " " + a.StartTime.ToLongTimeString();
     322            toprint += "\n\n";
     323            toprint += "Notes:\n" + a.Note;
     324
     325            //print
     326            g.DrawString(toprint, fBody, Brushes.Black, printArea);
     327
     328            // Print Date Printed
     329            //sf to move to bottom center
     330            StringFormat sf2 = new StringFormat();
     331            sf2.LineAlignment = StringAlignment.Far;
     332            sf2.Alignment = StringAlignment.Center;
     333
     334            //Print
     335            Font fFooter = new Font(FontFamily.GenericSerif, 8);
     336            g.DrawString("Printed: " + DateTime.Now, fFooter, Brushes.Black, printArea, sf2);
     337
     338        }
    290339    }
    291340}
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.XML

    r802 r804  
    585585            <summary>
    586586            Print message on a page; typically that there are no appointments to be found.
     587            Or just a test message to verify that printing works.
    587588            </summary>
    588589            <param name="msg">The exact string to print.</param>
    589590            <param name="e">Print Page event args</param>
    590591        </member>
     592        <member name="M:IndianHealthService.ClinicalScheduling.Printing.PrintRoutingSlip(IndianHealthService.ClinicalScheduling.CGAppointment,System.String,System.Drawing.Printing.PrintPageEventArgs)">
     593            <summary>
     594            Print Routing Slip
     595            </summary>
     596            <param name="a">Appointment Data Structure</param>
     597            <param name="title">String to print for title</param>
     598            <param name="e">etc</param>
     599        </member>
    591600        <member name="T:IndianHealthService.ClinicalScheduling.DResourceGroupItem">
    592601            <summary>
     
    658667            <summary>
    659668            Summary description for DCheckIn.
    660             </summary>
    661         </member>
    662         <member name="F:IndianHealthService.ClinicalScheduling.DCheckIn.components">
    663             <summary>
    664             Required designer variable.
    665669            </summary>
    666670        </member>
Note: See TracChangeset for help on using the changeset viewer.