Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKB/HeuristicLab.OKB.ParameterTable/ParameterSetterControl.cs @ 5404

Last change on this file since 5404 was 4311, checked in by swagner, 14 years ago

Integrated OKB clients for HL 3.3 (#1166)

File size: 878 bytes
RevLine 
[4311]1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9
10namespace HeuristicLab.OKB.ParameterTable {
11  public partial class OperatorParameterSetterControl : UserControl {
12    public OperatorParameterSetterControl() {
13      InitializeComponent();
14    }
15
16    public event EventHandler SetClicked;
17    public event EventHandler ShowClicked;
18    public string Label {
19      get { return nameBox.Text; }
20      set { nameBox.Text = value; }
21    }
22
23    private void setButton_Click(object sender, EventArgs e) {
24      if (SetClicked != null)
25        SetClicked(sender, e);
26    }
27
28    private void showButton_Click(object sender, EventArgs e) {
29      if (ShowClicked != null)
30        ShowClicked(sender, e);
31    }
32
33  }
34}
Note: See TracBrowser for help on using the repository browser.