Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive_Milestone2/sources/HeuristicLab.Visualization/3.2/Options/OptionsDialog.cs @ 4663

Last change on this file since 4663 was 1586, checked in by bspisic, 16 years ago

Changed OptionsDialog to an UserControl (#584)

File size: 495 bytes
Line 
1using System;
2using System.Windows.Forms;
3
4namespace HeuristicLab.Visualization.Options {
5  public partial class OptionsDialog : Form {
6    public OptionsDialog(IChartDataRowsModel model) {
7      InitializeComponent();
8
9      options.Model = model;
10    }
11
12    private void OptionsDialogOkButton_Click(object sender, EventArgs e) {
13      Close();
14    }
15
16    private void OptionsDialogResetButton_Click(object sender, EventArgs e) {
17      options.ResetSettings();
18    }
19  }
20}
Note: See TracBrowser for help on using the repository browser.