Example #1
0
        public static EthernetSelectResult ShowBox(Window parent, bool isSelect)
        {
            DeviceSelect_Ethernet win = new DeviceSelect_Ethernet(parent, isSelect);

            win.ShowDialog();
            return(win.SelectedEthernet);
        }
Example #2
0
 private void DoDiscovery()
 {
     this.Title            = DI.Wrapper.GetText(MsgCode.Ethernet);
     this.selectedEthernet = DeviceSelect_Ethernet.ShowBox(this, true);
     if (this.selectedEthernet != null)
     {
         this.Title = this.selectedEthernet.DataModel.Display;
     }
 }
Example #3
0
 private void OnUiSettings(object sender, EventArgs e)
 {
     DeviceSelect_Ethernet.ShowBox(this, false);
 }