Пример #1
0
 private void btn_Click(object sender,EventArgs e)
 {
     MachineInfo info=new MachineInfo();
     lbl.Text = info.MachineIP.ToString();
 }
Пример #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     MachineInfo info = new MachineInfo();
     MessageBox.Show(info.MachineIP.ToString());
 }