diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-24 22:31:18 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-24 22:31:18 +0200 |
| commit | 66593bf1224cbcc80ede15cdb6476c6b3aaab6eb (patch) | |
| tree | 50a7aeedb7f7113b4537892a41eeb8bb6daabd69 /Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs | |
| parent | fdb539e472eaaaff74a05aa661e471543ae07313 (diff) | |
| download | Tango-66593bf1224cbcc80ede15cdb6476c6b3aaab6eb.tar.gz Tango-66593bf1224cbcc80ede15cdb6476c6b3aaab6eb.zip | |
Some work on FSE..
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs index 98710e23a..158b740e3 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/LayoutViewVM.cs @@ -70,7 +70,7 @@ namespace Tango.FSE.UI.ViewModels { if (await MachineProvider.ConnectToMachine(machine)) { - NotificationProvider.PushSnackbarItem(MessageType.Success, "Machine successfully connected", false, $"{MachineProvider.Machine.SerialNumber}, {MachineProvider.Machine.Name}", TimeSpan.FromSeconds(5)); + NotificationProvider.PushSnackbarItem(MessageType.Success, "Machine successfully connected", true, $"{MachineProvider.Machine.SerialNumber}, {MachineProvider.Machine.Name}", TimeSpan.FromSeconds(5)); } } catch (Exception ex) @@ -95,28 +95,6 @@ namespace Tango.FSE.UI.ViewModels public override void OnApplicationStarted() { DiagnosticsProvider.FrameReceived += DiagnosticsProvider_FrameReceived; - - NavigationManager.MenuItems.Add(new NavigationMenuItem(() => - { - Debug.WriteLine("Pressed"); - }) - { - Name = "Account", - Index = -1, - Description = "Examine the machine", - Image = ResourceHelper.GetImageFromResources("Images/Menu/account.png"), - }); - - NavigationManager.MenuItems.Add(new NavigationMenuItem(() => - { - Debug.WriteLine("Pressed"); - }) - { - Name = "Settings", - Index = 2, - Description = "Examine the machine", - Image = ResourceHelper.GetImageFromResources("Images/Menu/settings.png"), - }); } private void DiagnosticsProvider_FrameReceived(object sender, Common.Diagnostics.DiagnosticsFrameReceivedEventArgs e) |
