Rev | Line | |
---|
[4311] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel;
|
---|
| 4 | using System.Drawing;
|
---|
| 5 | using System.Data;
|
---|
| 6 | using System.Linq;
|
---|
| 7 | using System.Text;
|
---|
| 8 | using System.Windows.Forms;
|
---|
| 9 |
|
---|
| 10 | namespace 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.