Changeset 1876 for trunk/sources/HeuristicLab.Visualization/3.2/Options
- Timestamp:
- 05/23/09 08:28:50 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization/3.2/Options
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/Options/Options.Designer.cs
r1839 r1876 53 53 this.flpShowYAxis = new System.Windows.Forms.FlowLayoutPanel(); 54 54 this.fdFont = new System.Windows.Forms.FontDialog(); 55 this.chkShowXAxisGrid = new System.Windows.Forms.CheckBox(); 55 56 this.Optionstabs.SuspendLayout(); 56 57 this.tabPage1.SuspendLayout(); … … 286 287 // tpXAxis 287 288 // 289 this.tpXAxis.Controls.Add(this.chkShowXAxisGrid); 288 290 this.tpXAxis.Controls.Add(this.btnChangeXAxisFont); 289 291 this.tpXAxis.Location = new System.Drawing.Point(4, 22); … … 357 359 this.flpShowYAxis.Size = new System.Drawing.Size(275, 57); 358 360 this.flpShowYAxis.TabIndex = 0; 361 // 362 // chkShowXAxisGrid 363 // 364 this.chkShowXAxisGrid.AutoSize = true; 365 this.chkShowXAxisGrid.Location = new System.Drawing.Point(3, 32); 366 this.chkShowXAxisGrid.Name = "chkShowXAxisGrid"; 367 this.chkShowXAxisGrid.Size = new System.Drawing.Size(107, 17); 368 this.chkShowXAxisGrid.TabIndex = 3; 369 this.chkShowXAxisGrid.Text = "Show X-Axis Grid"; 370 this.chkShowXAxisGrid.UseVisualStyleBackColor = true; 371 this.chkShowXAxisGrid.CheckedChanged += new System.EventHandler(this.chkShowXAxisGrid_CheckedChanged); 359 372 // 360 373 // Options … … 376 389 this.tpTitle.PerformLayout(); 377 390 this.tpXAxis.ResumeLayout(false); 391 this.tpXAxis.PerformLayout(); 378 392 this.tpYAxes.ResumeLayout(false); 379 393 this.tpYAxes.PerformLayout(); … … 415 429 private System.Windows.Forms.FlowLayoutPanel flpShowYAxis; 416 430 private System.Windows.Forms.FontDialog fdFont; 431 private System.Windows.Forms.CheckBox chkShowXAxisGrid; 417 432 private System.Windows.Forms.TextBox tbxTitle; 418 433 private System.Windows.Forms.Label label5; -
trunk/sources/HeuristicLab.Visualization/3.2/Options/Options.cs
r1839 r1876 13 13 private string oldTitle; 14 14 private Dictionary<CheckBox, bool> ShowYAxisBoxes; 15 private bool oldShowXAxisGrid; 15 16 private Dictionary<CheckBox, bool> yAxisClipChangeableBoxes; 16 17 … … 65 66 66 67 public void ResetSettings() { 68 model.ShowXAxisGrid = oldShowXAxisGrid; 69 67 70 foreach (var param in oldLineParams) { 68 71 param.applySettings(); … … 150 153 151 154 private void Options_Load(object sender, EventArgs e) { 155 oldShowXAxisGrid = model.ShowXAxisGrid; 156 chkShowXAxisGrid.Checked = model.ShowXAxisGrid; 157 152 158 InitTabPageLines(); 153 159 InitTabPageYAxes(); … … 238 244 } 239 245 246 private void chkShowXAxisGrid_CheckedChanged(object sender, EventArgs e) { 247 model.ShowXAxisGrid = chkShowXAxisGrid.Checked; 248 } 249 240 250 private void tbxTitle_TextChanged(object sender, EventArgs e) { 241 251 model.Title = tbxTitle.Text;
Note: See TracChangeset
for help on using the changeset viewer.