private void btn_Click(object sender,EventArgs e) { MachineInfo info=new MachineInfo(); lbl.Text = info.MachineIP.ToString(); }
private void Button_Click(object sender, RoutedEventArgs e) { MachineInfo info = new MachineInfo(); MessageBox.Show(info.MachineIP.ToString()); }