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

            win.ShowDialog();
            return(win.SelectedEthernet);
        }
示例#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;
     }
 }
示例#3
0
 private void OnUiSettings(object sender, EventArgs e)
 {
     DeviceSelect_Ethernet.ShowBox(this, false);
 }