Ignore:
Timestamp:
Dec 4, 2009, 3:04:47 AM (14 years ago)
Author:
Sam Habiel
Message:

Removed user-interface references to RPMS.

File:
1 edited

Legend:

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

    r614 r627  
    1717        /// </summary>
    1818        public class DCopyAppts : System.Windows.Forms.Form
    19         {
    20                 private System.Windows.Forms.Button cmdCancel;
     19    {
    2120                private System.Windows.Forms.Button cmdOK;
    22                 private System.Windows.Forms.Panel pnlOKCancel;
    23                 private System.Windows.Forms.Panel pnlDescription;
    24                 private System.Windows.Forms.GroupBox grpDescription;
    25                 private System.Windows.Forms.Label lblDescription;
     21        private System.Windows.Forms.Panel pnlOKCancel;
    2622                private System.Windows.Forms.Label lblSummary;
    2723                private System.Windows.Forms.Label lblProgress;
     
    7470                private void InitializeComponent()
    7571                {
    76                         this.components = new System.ComponentModel.Container();
    77                         this.pnlOKCancel = new System.Windows.Forms.Panel();
    78                         this.cmdCancel = new System.Windows.Forms.Button();
    79                         this.cmdOK = new System.Windows.Forms.Button();
    80                         this.pnlDescription = new System.Windows.Forms.Panel();
    81                         this.grpDescription = new System.Windows.Forms.GroupBox();
    82                         this.lblDescription = new System.Windows.Forms.Label();
    83                         this.lblSummary = new System.Windows.Forms.Label();
    84                         this.lblProgress = new System.Windows.Forms.Label();
    85                         this.timerPoll = new System.Windows.Forms.Timer(this.components);
    86                         this.label1 = new System.Windows.Forms.Label();
    87                         this.label2 = new System.Windows.Forms.Label();
    88                         this.pnlOKCancel.SuspendLayout();
    89                         this.pnlDescription.SuspendLayout();
    90                         this.grpDescription.SuspendLayout();
    91                         this.SuspendLayout();
    92                         //
    93                         // pnlOKCancel
    94                         //
    95                         this.pnlOKCancel.Controls.Add(this.cmdCancel);
    96                         this.pnlOKCancel.Controls.Add(this.cmdOK);
    97                         this.pnlOKCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
    98                         this.pnlOKCancel.Location = new System.Drawing.Point(0, 286);
    99                         this.pnlOKCancel.Name = "pnlOKCancel";
    100                         this.pnlOKCancel.Size = new System.Drawing.Size(376, 40);
    101                         this.pnlOKCancel.TabIndex = 4;
    102                         //
    103                         // cmdCancel
    104                         //
    105                         this.cmdCancel.Location = new System.Drawing.Point(288, 8);
    106                         this.cmdCancel.Name = "cmdCancel";
    107                         this.cmdCancel.Size = new System.Drawing.Size(64, 24);
    108                         this.cmdCancel.TabIndex = 1;
    109                         this.cmdCancel.Text = "Cancel";
    110                         this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
    111                         //
    112                         // cmdOK
    113                         //
    114                         this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
    115                         this.cmdOK.Location = new System.Drawing.Point(208, 8);
    116                         this.cmdOK.Name = "cmdOK";
    117                         this.cmdOK.Size = new System.Drawing.Size(64, 24);
    118                         this.cmdOK.TabIndex = 0;
    119                         this.cmdOK.Text = "OK";
    120                         //
    121                         // pnlDescription
    122                         //
    123                         this.pnlDescription.Controls.Add(this.grpDescription);
    124                         this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
    125                         this.pnlDescription.Location = new System.Drawing.Point(0, 222);
    126                         this.pnlDescription.Name = "pnlDescription";
    127                         this.pnlDescription.Size = new System.Drawing.Size(376, 64);
    128                         this.pnlDescription.TabIndex = 47;
    129                         //
    130                         // grpDescription
    131                         //
    132                         this.grpDescription.Controls.Add(this.lblDescription);
    133                         this.grpDescription.Dock = System.Windows.Forms.DockStyle.Fill;
    134                         this.grpDescription.Location = new System.Drawing.Point(0, 0);
    135                         this.grpDescription.Name = "grpDescription";
    136                         this.grpDescription.Size = new System.Drawing.Size(376, 64);
    137                         this.grpDescription.TabIndex = 0;
    138                         this.grpDescription.TabStop = false;
    139                         this.grpDescription.Text = "Description";
    140                         //
    141                         // lblDescription
    142                         //
    143                         this.lblDescription.Dock = System.Windows.Forms.DockStyle.Fill;
    144                         this.lblDescription.Location = new System.Drawing.Point(3, 16);
    145                         this.lblDescription.Name = "lblDescription";
    146                         this.lblDescription.Size = new System.Drawing.Size(370, 45);
    147                         this.lblDescription.TabIndex = 1;
    148                         this.lblDescription.Text = "This panel displays the progress of the appointment copy process.  Press the \'Can" +
    149                                 "cel\' button to stop copying appointments.";
    150                         //
    151                         // lblSummary
    152                         //
    153                         this.lblSummary.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
    154                         this.lblSummary.Location = new System.Drawing.Point(32, 32);
    155                         this.lblSummary.Name = "lblSummary";
    156                         this.lblSummary.Size = new System.Drawing.Size(312, 64);
    157                         this.lblSummary.TabIndex = 48;
    158                         this.lblSummary.Text = "lblSummary";
    159                         //
    160                         // lblProgress
    161                         //
    162                         this.lblProgress.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
    163                         this.lblProgress.Location = new System.Drawing.Point(32, 128);
    164                         this.lblProgress.Name = "lblProgress";
    165                         this.lblProgress.Size = new System.Drawing.Size(312, 72);
    166                         this.lblProgress.TabIndex = 49;
    167                         this.lblProgress.Text = "lblProgress";
    168                         //
    169                         // timerPoll
    170                         //
    171                         this.timerPoll.Tick += new System.EventHandler(this.timerPoll_Tick);
    172                         //
    173                         // label1
    174                         //
    175                         this.label1.Location = new System.Drawing.Point(32, 112);
    176                         this.label1.Name = "label1";
    177                         this.label1.Size = new System.Drawing.Size(144, 16);
    178                         this.label1.TabIndex = 50;
    179                         this.label1.Text = "Status:";
    180                         //
    181                         // label2
    182                         //
    183                         this.label2.Location = new System.Drawing.Point(32, 16);
    184                         this.label2.Name = "label2";
    185                         this.label2.Size = new System.Drawing.Size(144, 16);
    186                         this.label2.TabIndex = 51;
    187                         this.label2.Text = "Job Summary:";
    188                         //
    189                         // DCopyAppts
    190                         //
    191                         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    192                         this.ClientSize = new System.Drawing.Size(376, 326);
    193                         this.Controls.Add(this.label2);
    194                         this.Controls.Add(this.label1);
    195                         this.Controls.Add(this.lblProgress);
    196                         this.Controls.Add(this.lblSummary);
    197                         this.Controls.Add(this.pnlDescription);
    198                         this.Controls.Add(this.pnlOKCancel);
    199                         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
    200                         this.MaximizeBox = false;
    201                         this.Name = "DCopyAppts";
    202                         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
    203                         this.Text = "Copy Appointments";
    204                         this.Closing += new System.ComponentModel.CancelEventHandler(this.DCopyAppts_Closing);
    205                         this.Load += new System.EventHandler(this.DCopyAppts_Load);
    206                         this.pnlOKCancel.ResumeLayout(false);
    207                         this.pnlDescription.ResumeLayout(false);
    208                         this.grpDescription.ResumeLayout(false);
    209                         this.ResumeLayout(false);
     72            this.components = new System.ComponentModel.Container();
     73            this.pnlOKCancel = new System.Windows.Forms.Panel();
     74            this.cmdOK = new System.Windows.Forms.Button();
     75            this.lblSummary = new System.Windows.Forms.Label();
     76            this.lblProgress = new System.Windows.Forms.Label();
     77            this.timerPoll = new System.Windows.Forms.Timer(this.components);
     78            this.label1 = new System.Windows.Forms.Label();
     79            this.label2 = new System.Windows.Forms.Label();
     80            this.pnlOKCancel.SuspendLayout();
     81            this.SuspendLayout();
     82            //
     83            // pnlOKCancel
     84            //
     85            this.pnlOKCancel.Controls.Add(this.cmdOK);
     86            this.pnlOKCancel.Dock = System.Windows.Forms.DockStyle.Bottom;
     87            this.pnlOKCancel.Location = new System.Drawing.Point(0, 211);
     88            this.pnlOKCancel.Name = "pnlOKCancel";
     89            this.pnlOKCancel.Size = new System.Drawing.Size(376, 40);
     90            this.pnlOKCancel.TabIndex = 4;
     91            //
     92            // cmdOK
     93            //
     94            this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     95            this.cmdOK.Location = new System.Drawing.Point(208, 8);
     96            this.cmdOK.Name = "cmdOK";
     97            this.cmdOK.Size = new System.Drawing.Size(136, 24);
     98            this.cmdOK.TabIndex = 0;
     99            this.cmdOK.Text = "OK";
     100            //
     101            // lblSummary
     102            //
     103            this.lblSummary.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     104            this.lblSummary.Location = new System.Drawing.Point(32, 32);
     105            this.lblSummary.Name = "lblSummary";
     106            this.lblSummary.Size = new System.Drawing.Size(312, 64);
     107            this.lblSummary.TabIndex = 48;
     108            this.lblSummary.Text = "lblSummary";
     109            //
     110            // lblProgress
     111            //
     112            this.lblProgress.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     113            this.lblProgress.Location = new System.Drawing.Point(32, 128);
     114            this.lblProgress.Name = "lblProgress";
     115            this.lblProgress.Size = new System.Drawing.Size(312, 72);
     116            this.lblProgress.TabIndex = 49;
     117            this.lblProgress.Text = "lblProgress";
     118            //
     119            // timerPoll
     120            //
     121            this.timerPoll.Tick += new System.EventHandler(this.timerPoll_Tick);
     122            //
     123            // label1
     124            //
     125            this.label1.Location = new System.Drawing.Point(32, 112);
     126            this.label1.Name = "label1";
     127            this.label1.Size = new System.Drawing.Size(144, 16);
     128            this.label1.TabIndex = 50;
     129            this.label1.Text = "Status:";
     130            //
     131            // label2
     132            //
     133            this.label2.Location = new System.Drawing.Point(32, 16);
     134            this.label2.Name = "label2";
     135            this.label2.Size = new System.Drawing.Size(144, 16);
     136            this.label2.TabIndex = 51;
     137            this.label2.Text = "Job Summary:";
     138            //
     139            // DCopyAppts
     140            //
     141            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     142            this.ClientSize = new System.Drawing.Size(376, 251);
     143            this.Controls.Add(this.label2);
     144            this.Controls.Add(this.label1);
     145            this.Controls.Add(this.lblProgress);
     146            this.Controls.Add(this.lblSummary);
     147            this.Controls.Add(this.pnlOKCancel);
     148            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     149            this.MaximizeBox = false;
     150            this.Name = "DCopyAppts";
     151            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     152            this.Text = "Copy Appointments";
     153            this.Load += new System.EventHandler(this.DCopyAppts_Load);
     154            this.Closing += new System.ComponentModel.CancelEventHandler(this.DCopyAppts_Closing);
     155            this.pnlOKCancel.ResumeLayout(false);
     156            this.ResumeLayout(false);
    210157
    211158                }
     
    237184                        {
    238185                                //Start M copy job and get the ZTSK number
    239                                 this.timerPoll.Stop();
    240                                 lblProgress.Text = "Starting Process";
     186                                //this.timerPoll.Stop();
     187                                lblProgress.Text = "Starting Process... \r\n";
    241188
    242189                                string sSql = "BSDX COPY APPOINTMENTS^" + m_ResourceID + "^" + m_HospLocationID + "^" + m_dtBegin.ToShortDateString() + "^" + m_dtEnd.ToShortDateString();
     
    254201                                if (sError != "OK")
    255202                                {
    256                                         timerPoll.Stop();
     203                                        //timerPoll.Stop();
    257204                                        lblProgress.Text = sError;
    258205                                        cmdOK.Enabled = true;
    259                                         cmdCancel.Enabled = false;
    260206                                }
    261207                                else
    262208                                {
    263                                         lblProgress.Text = "RPMS Job queued as Task #" + m_sTask;
    264                                         ;//this.timerPoll.Start();
    265                                         cmdOK.Enabled = false;
    266                                         cmdCancel.Enabled = true;
     209                                        lblProgress.Text += "VistA Job queued as Task #" + m_sTask;
     210                                        //this.timerPoll.Start();
     211                                        cmdOK.Enabled = true;   
    267212                                }
    268213
Note: See TracChangeset for help on using the changeset viewer.