public MainWindow() { InitializeComponent(); switchCtrls = new List <SwitchCtrl>(); InitLastWorkSpace(); kGL3U24 = new KGL3U24(); drawSwitchCtrlUI(); }
public SwitchCtrl(int channelNo, string channelName, KGL3U24 kGL3U24) : this() { this.channelNo = channelNo; this.kGL3U24 = kGL3U24; channleNameLabel.Text = channelName; }