private void ButtonShowDevices_Click(object sender, RoutedEventArgs e) { if (EventbusManager.IsViewOpen(typeof(DevicesView), 2)) { EventbusManager.CloseView <DevicesView>(2); return; } EventbusManager.OpenView <DevicesView>(2); }
private void ButtonShowDevices_Click(object sender, RoutedEventArgs e) { if (EventbusManager.IsViewOpen(typeof(DevicesView), 2)) { EventbusManager.CloseView <DevicesView>(2); return; } EventbusManager.OpenView <DevicesView>(2); }