private void btnDeviceList_Click(object sender, EventArgs e) { DeviceListForm df = new DeviceListForm(); df.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { DeviceListForm deviceList = new DeviceListForm(); deviceList.ShowDialog(); }