Ignore:
Timestamp:
Aug 8, 2010, 6:58:05 AM (14 years ago)
Author:
Sam Habiel
Message:
  1. Make combo boxes in DManagement searchable (in MS Lingo AutoComplete).
  2. Make sure that all DManagement lists and combo boxes are sorted.
File:
1 edited

Legend:

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

    r627 r899  
    6565                private void InitializeComponent()
    6666                {
    67                         this.cboScheduleUser = new System.Windows.Forms.ComboBox();
    68                         this.label1 = new System.Windows.Forms.Label();
    69                         this.pnlPageBottom = new System.Windows.Forms.Panel();
    70                         this.cmdCancel = new System.Windows.Forms.Button();
    71                         this.cmdOK = new System.Windows.Forms.Button();
    72                         this.pnlDescription = new System.Windows.Forms.Panel();
    73                         this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
    74                         this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
    75                         this.chkModifySchedule = new System.Windows.Forms.CheckBox();
    76                         this.chkOverbook = new System.Windows.Forms.CheckBox();
    77                         this.chkAppointments = new System.Windows.Forms.CheckBox();
    78                         this.pnlPageBottom.SuspendLayout();
    79                         this.pnlDescription.SuspendLayout();
    80                         this.grpDescriptionResourceGroup.SuspendLayout();
    81                         this.SuspendLayout();
    82                         //
    83                         // cboScheduleUser
    84                         //
    85                         this.cboScheduleUser.Location = new System.Drawing.Point(144, 32);
    86                         this.cboScheduleUser.Name = "cboScheduleUser";
    87                         this.cboScheduleUser.Size = new System.Drawing.Size(248, 21);
    88                         this.cboScheduleUser.TabIndex = 0;
    89                         this.cboScheduleUser.Text = "cboScheduleUser";
    90                         this.cboScheduleUser.SelectedIndexChanged += new System.EventHandler(this.cboScheduleUser_SelectedIndexChanged);
    91                         //
    92                         // label1
    93                         //
    94                         this.label1.Location = new System.Drawing.Point(16, 32);
    95                         this.label1.Name = "label1";
    96                         this.label1.Size = new System.Drawing.Size(120, 16);
    97                         this.label1.TabIndex = 1;
    98                         this.label1.Text = "Select Resource User:";
    99                         this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
    100                         //
    101                         // pnlPageBottom
    102                         //
    103                         this.pnlPageBottom.Controls.Add(this.cmdCancel);
    104                         this.pnlPageBottom.Controls.Add(this.cmdOK);
    105                         this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
    106                         this.pnlPageBottom.Location = new System.Drawing.Point(0, 254);
    107                         this.pnlPageBottom.Name = "pnlPageBottom";
    108                         this.pnlPageBottom.Size = new System.Drawing.Size(448, 40);
    109                         this.pnlPageBottom.TabIndex = 4;
    110                         //
    111                         // cmdCancel
    112                         //
    113                         this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    114                         this.cmdCancel.Location = new System.Drawing.Point(376, 8);
    115                         this.cmdCancel.Name = "cmdCancel";
    116                         this.cmdCancel.Size = new System.Drawing.Size(56, 24);
    117                         this.cmdCancel.TabIndex = 2;
    118                         this.cmdCancel.Text = "Cancel";
    119                         //
    120                         // cmdOK
    121                         //
    122                         this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
    123                         this.cmdOK.Location = new System.Drawing.Point(296, 8);
    124                         this.cmdOK.Name = "cmdOK";
    125                         this.cmdOK.Size = new System.Drawing.Size(64, 24);
    126                         this.cmdOK.TabIndex = 1;
    127                         this.cmdOK.Text = "OK";
    128                         this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
    129                         //
    130                         // pnlDescription
    131                         //
    132                         this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
    133                         this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
    134                         this.pnlDescription.Location = new System.Drawing.Point(0, 182);
    135                         this.pnlDescription.Name = "pnlDescription";
    136                         this.pnlDescription.Size = new System.Drawing.Size(448, 72);
    137                         this.pnlDescription.TabIndex = 5;
    138                         //
    139                         // grpDescriptionResourceGroup
    140                         //
    141                         this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
    142                         this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
    143                         this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
    144                         this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
    145                         this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(448, 72);
    146                         this.grpDescriptionResourceGroup.TabIndex = 1;
    147                         this.grpDescriptionResourceGroup.TabStop = false;
    148                         this.grpDescriptionResourceGroup.Text = "Description";
    149                         //
    150                         // lblDescriptionResourceGroup
    151                         //
    152                         this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
    153                         this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
    154                         this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
    155                         this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(442, 53);
    156                         this.lblDescriptionResourceGroup.TabIndex = 0;
    157                         this.lblDescriptionResourceGroup.Text = "Use this panel to assign user access to Resources.  Only users who have the BSDXZ" +
    158                                 "MENU key in VistA will appear in the selection list.  If Modify Schedule is check" +
    159                                 "ed, then the user will be able to add and edit the resource\'s availability.";
    160                         //
    161                         // chkModifySchedule
    162                         //
    163                         this.chkModifySchedule.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
    164                         this.chkModifySchedule.Location = new System.Drawing.Point(96, 136);
    165                         this.chkModifySchedule.Name = "chkModifySchedule";
    166                         this.chkModifySchedule.Size = new System.Drawing.Size(152, 16);
    167                         this.chkModifySchedule.TabIndex = 7;
    168                         this.chkModifySchedule.Text = "Modify Clinic Availability:";
    169                         this.chkModifySchedule.CheckedChanged += new System.EventHandler(this.chkModifySchedule_CheckedChanged);
    170                         //
    171                         // chkOverbook
    172                         //
    173                         this.chkOverbook.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
    174                         this.chkOverbook.Location = new System.Drawing.Point(160, 104);
    175                         this.chkOverbook.Name = "chkOverbook";
    176                         this.chkOverbook.Size = new System.Drawing.Size(88, 16);
    177                         this.chkOverbook.TabIndex = 8;
    178                         this.chkOverbook.Text = "Overbook:";
    179                         this.chkOverbook.CheckedChanged += new System.EventHandler(this.chkOverbook_CheckedChanged);
    180                         //
    181                         // chkAppointments
    182                         //
    183                         this.chkAppointments.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
    184                         this.chkAppointments.Location = new System.Drawing.Point(40, 72);
    185                         this.chkAppointments.Name = "chkAppointments";
    186                         this.chkAppointments.Size = new System.Drawing.Size(208, 16);
    187                         this.chkAppointments.TabIndex = 9;
    188                         this.chkAppointments.Text = "Add, Edit and Delete appointments:";
    189                         this.chkAppointments.CheckedChanged += new System.EventHandler(this.chkAppointments_CheckedChanged);
    190                         //
    191                         // DResourceUser
    192                         //
    193                         this.AcceptButton = this.cmdOK;
    194                         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    195                         this.CancelButton = this.cmdCancel;
    196                         this.ClientSize = new System.Drawing.Size(448, 294);
    197                         this.Controls.Add(this.chkAppointments);
    198                         this.Controls.Add(this.chkOverbook);
    199                         this.Controls.Add(this.chkModifySchedule);
    200                         this.Controls.Add(this.pnlDescription);
    201                         this.Controls.Add(this.pnlPageBottom);
    202                         this.Controls.Add(this.label1);
    203                         this.Controls.Add(this.cboScheduleUser);
    204                         this.Name = "DResourceUser";
    205                         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
    206                         this.Text = "DResourceUser";
    207                         this.pnlPageBottom.ResumeLayout(false);
    208                         this.pnlDescription.ResumeLayout(false);
    209                         this.grpDescriptionResourceGroup.ResumeLayout(false);
    210                         this.ResumeLayout(false);
     67            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DResourceUser));
     68            this.cboScheduleUser = new System.Windows.Forms.ComboBox();
     69            this.label1 = new System.Windows.Forms.Label();
     70            this.pnlPageBottom = new System.Windows.Forms.Panel();
     71            this.cmdCancel = new System.Windows.Forms.Button();
     72            this.cmdOK = new System.Windows.Forms.Button();
     73            this.pnlDescription = new System.Windows.Forms.Panel();
     74            this.grpDescriptionResourceGroup = new System.Windows.Forms.GroupBox();
     75            this.lblDescriptionResourceGroup = new System.Windows.Forms.Label();
     76            this.chkModifySchedule = new System.Windows.Forms.CheckBox();
     77            this.chkOverbook = new System.Windows.Forms.CheckBox();
     78            this.chkAppointments = new System.Windows.Forms.CheckBox();
     79            this.pnlPageBottom.SuspendLayout();
     80            this.pnlDescription.SuspendLayout();
     81            this.grpDescriptionResourceGroup.SuspendLayout();
     82            this.SuspendLayout();
     83            //
     84            // cboScheduleUser
     85            //
     86            this.cboScheduleUser.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     87            this.cboScheduleUser.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     88            this.cboScheduleUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     89            this.cboScheduleUser.Location = new System.Drawing.Point(144, 32);
     90            this.cboScheduleUser.Name = "cboScheduleUser";
     91            this.cboScheduleUser.Size = new System.Drawing.Size(248, 21);
     92            this.cboScheduleUser.TabIndex = 0;
     93            this.cboScheduleUser.SelectedIndexChanged += new System.EventHandler(this.cboScheduleUser_SelectedIndexChanged);
     94            //
     95            // label1
     96            //
     97            this.label1.Location = new System.Drawing.Point(16, 32);
     98            this.label1.Name = "label1";
     99            this.label1.Size = new System.Drawing.Size(120, 16);
     100            this.label1.TabIndex = 1;
     101            this.label1.Text = "Select Resource User:";
     102            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     103            //
     104            // pnlPageBottom
     105            //
     106            this.pnlPageBottom.Controls.Add(this.cmdCancel);
     107            this.pnlPageBottom.Controls.Add(this.cmdOK);
     108            this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     109            this.pnlPageBottom.Location = new System.Drawing.Point(0, 254);
     110            this.pnlPageBottom.Name = "pnlPageBottom";
     111            this.pnlPageBottom.Size = new System.Drawing.Size(448, 40);
     112            this.pnlPageBottom.TabIndex = 4;
     113            //
     114            // cmdCancel
     115            //
     116            this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     117            this.cmdCancel.Location = new System.Drawing.Point(376, 8);
     118            this.cmdCancel.Name = "cmdCancel";
     119            this.cmdCancel.Size = new System.Drawing.Size(56, 24);
     120            this.cmdCancel.TabIndex = 6;
     121            this.cmdCancel.Text = "Cancel";
     122            //
     123            // cmdOK
     124            //
     125            this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     126            this.cmdOK.Location = new System.Drawing.Point(296, 8);
     127            this.cmdOK.Name = "cmdOK";
     128            this.cmdOK.Size = new System.Drawing.Size(64, 24);
     129            this.cmdOK.TabIndex = 5;
     130            this.cmdOK.Text = "OK";
     131            this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
     132            //
     133            // pnlDescription
     134            //
     135            this.pnlDescription.Controls.Add(this.grpDescriptionResourceGroup);
     136            this.pnlDescription.Dock = System.Windows.Forms.DockStyle.Bottom;
     137            this.pnlDescription.Location = new System.Drawing.Point(0, 182);
     138            this.pnlDescription.Name = "pnlDescription";
     139            this.pnlDescription.Size = new System.Drawing.Size(448, 72);
     140            this.pnlDescription.TabIndex = 5;
     141            //
     142            // grpDescriptionResourceGroup
     143            //
     144            this.grpDescriptionResourceGroup.Controls.Add(this.lblDescriptionResourceGroup);
     145            this.grpDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
     146            this.grpDescriptionResourceGroup.Location = new System.Drawing.Point(0, 0);
     147            this.grpDescriptionResourceGroup.Name = "grpDescriptionResourceGroup";
     148            this.grpDescriptionResourceGroup.Size = new System.Drawing.Size(448, 72);
     149            this.grpDescriptionResourceGroup.TabIndex = 1;
     150            this.grpDescriptionResourceGroup.TabStop = false;
     151            this.grpDescriptionResourceGroup.Text = "Description";
     152            //
     153            // lblDescriptionResourceGroup
     154            //
     155            this.lblDescriptionResourceGroup.Dock = System.Windows.Forms.DockStyle.Fill;
     156            this.lblDescriptionResourceGroup.Location = new System.Drawing.Point(3, 16);
     157            this.lblDescriptionResourceGroup.Name = "lblDescriptionResourceGroup";
     158            this.lblDescriptionResourceGroup.Size = new System.Drawing.Size(442, 53);
     159            this.lblDescriptionResourceGroup.TabIndex = 0;
     160            this.lblDescriptionResourceGroup.Text = resources.GetString("lblDescriptionResourceGroup.Text");
     161            //
     162            // chkModifySchedule
     163            //
     164            this.chkModifySchedule.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     165            this.chkModifySchedule.Location = new System.Drawing.Point(96, 136);
     166            this.chkModifySchedule.Name = "chkModifySchedule";
     167            this.chkModifySchedule.Size = new System.Drawing.Size(152, 16);
     168            this.chkModifySchedule.TabIndex = 4;
     169            this.chkModifySchedule.Text = "Modify Clinic Availability:";
     170            this.chkModifySchedule.CheckedChanged += new System.EventHandler(this.chkModifySchedule_CheckedChanged);
     171            //
     172            // chkOverbook
     173            //
     174            this.chkOverbook.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     175            this.chkOverbook.Location = new System.Drawing.Point(160, 104);
     176            this.chkOverbook.Name = "chkOverbook";
     177            this.chkOverbook.Size = new System.Drawing.Size(88, 16);
     178            this.chkOverbook.TabIndex = 3;
     179            this.chkOverbook.Text = "Overbook:";
     180            this.chkOverbook.CheckedChanged += new System.EventHandler(this.chkOverbook_CheckedChanged);
     181            //
     182            // chkAppointments
     183            //
     184            this.chkAppointments.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     185            this.chkAppointments.Location = new System.Drawing.Point(40, 72);
     186            this.chkAppointments.Name = "chkAppointments";
     187            this.chkAppointments.Size = new System.Drawing.Size(208, 16);
     188            this.chkAppointments.TabIndex = 2;
     189            this.chkAppointments.Text = "Add, Edit and Delete appointments:";
     190            this.chkAppointments.CheckedChanged += new System.EventHandler(this.chkAppointments_CheckedChanged);
     191            //
     192            // DResourceUser
     193            //
     194            this.AcceptButton = this.cmdOK;
     195            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     196            this.CancelButton = this.cmdCancel;
     197            this.ClientSize = new System.Drawing.Size(448, 294);
     198            this.Controls.Add(this.chkAppointments);
     199            this.Controls.Add(this.chkOverbook);
     200            this.Controls.Add(this.chkModifySchedule);
     201            this.Controls.Add(this.pnlDescription);
     202            this.Controls.Add(this.pnlPageBottom);
     203            this.Controls.Add(this.label1);
     204            this.Controls.Add(this.cboScheduleUser);
     205            this.Name = "DResourceUser";
     206            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     207            this.Text = "DResourceUser";
     208            this.pnlPageBottom.ResumeLayout(false);
     209            this.pnlDescription.ResumeLayout(false);
     210            this.grpDescriptionResourceGroup.ResumeLayout(false);
     211            this.ResumeLayout(false);
    211212
    212213                }
Note: See TracChangeset for help on using the changeset viewer.