- Timestamp:
- Nov 18, 2010, 7:47:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DAccessTemplate.cs
r915 r1011 36 36 37 37 UpdateDialogData(true); 38 38 //this.cmdSelectTemplate.Focus(); // Focus on first button on form 39 39 } 40 40 … … 113 113 m_bSelectedFile = false; 114 114 OpenFileDialog openFileDialog1 = new OpenFileDialog(); 115 string sPath = "";116 sPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);117 118 openFileDialog1.InitialDirectory = @"c:\" ;119 openFileDialog1.InitialDirectory = sPath ;120 115 openFileDialog1.Filter = "Schedule Template Files (*.bsdxa)|*.bsdxa|All files (*.*)|*.*" ; 121 116 openFileDialog1.FilterIndex = 0 ; … … 185 180 this.cmdCancel.Name = "cmdCancel"; 186 181 this.cmdCancel.Size = new System.Drawing.Size(56, 24); 187 this.cmdCancel.TabIndex = 2;182 this.cmdCancel.TabIndex = 5; 188 183 this.cmdCancel.Text = "Cancel"; 189 184 // … … 194 189 this.cmdOK.Name = "cmdOK"; 195 190 this.cmdOK.Size = new System.Drawing.Size(64, 24); 196 this.cmdOK.TabIndex = 1;191 this.cmdOK.TabIndex = 4; 197 192 this.cmdOK.Text = "OK"; 198 193 this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); … … 234 229 this.cmdSelectTemplate.Name = "cmdSelectTemplate"; 235 230 this.cmdSelectTemplate.Size = new System.Drawing.Size(136, 32); 236 this.cmdSelectTemplate.TabIndex = 9;231 this.cmdSelectTemplate.TabIndex = 1; 237 232 this.cmdSelectTemplate.Text = "Select Access Template"; 238 233 this.cmdSelectTemplate.Click += new System.EventHandler(this.cmdSelectTemplate_Click); … … 254 249 this.dtpStartDate.Name = "dtpStartDate"; 255 250 this.dtpStartDate.Size = new System.Drawing.Size(184, 20); 256 this.dtpStartDate.TabIndex = 11;251 this.dtpStartDate.TabIndex = 2; 257 252 // 258 253 // udWeeksToApply … … 271 266 this.udWeeksToApply.Name = "udWeeksToApply"; 272 267 this.udWeeksToApply.Size = new System.Drawing.Size(96, 20); 273 this.udWeeksToApply.TabIndex = 12;268 this.udWeeksToApply.TabIndex = 3; 274 269 this.udWeeksToApply.Value = new decimal(new int[] { 275 270 1,
Note:
See TracChangeset
for help on using the changeset viewer.