- Timestamp:
- 06/03/09 01:42:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/Options/Options.cs
r1972 r1993 15 15 private bool oldShowXAxisGrid; 16 16 private Color oldXAxisGridColor; 17 private Font oldXAxisFont; 18 private Color oldXAxisColor; 17 19 private Dictionary<CheckBox, bool> yAxisClipChangeableBoxes; 18 20 … … 69 71 model.XAxis.ShowGrid = oldShowXAxisGrid; 70 72 chkShowXAxisGrid.Checked = oldShowXAxisGrid; 73 74 model.XAxis.Color = oldXAxisColor; 75 model.XAxis.Font = oldXAxisFont; 71 76 72 77 model.XAxis.GridColor = oldXAxisGridColor; … … 93 98 viewSettings.TitleColor = oldViewSettings.TitleColor; 94 99 viewSettings.TitleFont = oldViewSettings.TitleFont; 95 viewSettings.XAxisColor = oldViewSettings.LegendColor;96 viewSettings.XAxisFont = oldViewSettings.XAxisFont;97 100 viewSettings.UpdateView(); 98 101 cbLegendPosition.SelectedItem = viewSettings.LegendPosition; … … 137 140 138 141 private void btnChangeXAxisFont_Click(object sender, EventArgs e) { 139 fdFont.Font = viewSettings.XAxisFont;140 fdFont.Color = viewSettings.XAxisColor;142 fdFont.Font = model.XAxis.Font; 143 fdFont.Color = model.XAxis.Color; 141 144 142 145 DialogResult dr = fdFont.ShowDialog(); 143 146 144 147 if (dr == DialogResult.OK) { 145 viewSettings.XAxisFont = fdFont.Font;146 viewSettings.XAxisColor = fdFont.Color;148 model.XAxis.Font = fdFont.Font; 149 model.XAxis.Color = fdFont.Color; 147 150 148 151 viewSettings.UpdateView(); … … 156 159 oldXAxisGridColor = model.XAxis.GridColor; 157 160 xAxisGridColorSelection.Color = model.XAxis.GridColor; 161 162 oldXAxisFont = model.XAxis.Font; 163 oldXAxisColor = model.XAxis.Color; 158 164 159 165 InitTabPageLines();
Note: See TracChangeset
for help on using the changeset viewer.