aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.IDE.UI/MainWindow.xaml
blob: 032d38c81f4da78a8943b93ff773e4a44aeec337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<controls:MetroWindow x:Class="Tango.Scripting.IDE.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:local="clr-namespace:Tango.Scripting.IDE.UI"
        xmlns:ide="clr-namespace:Tango.Scripting.IDE;assembly=Tango.Scripting.IDE"
        mc:Ignorable="d"
        Title="MainWindow" Height="720" Width="1280" d:DataContext="{d:DesignInstance Type=local:MainWindowVM, IsDesignTimeCreatable=False}" TitlebarHeight="40" TitleCaps="False" BorderBrush="Gray" BorderThickness="1" WindowStartupLocation="CenterScreen">
    <Grid>
        <ide:ScriptIDEView2 DataContext="{Binding IdeVM}" />
    </Grid>
</controls:MetroWindow>
k">using static Tango.SharedUI.Controls.NavigationControl; namespace Tango.MachineStudio.Common { /// <summary> /// Represents a Machine Studio view model. /// </summary> public interface IStudioViewModel : INavigationViewModel { /// <summary> /// Called when application is shutting down. /// </summary> void OnShuttingDown(); /// <summary> /// Called before the application is shutting down. /// Return false to cancel the shutdown in case an important process is in progress. /// </summary> /// <returns></returns> Task<bool> OnShutdownRequest(); /// <summary> /// Called when the application has been started /// </summary> void OnApplicationStarted(); /// <summary> /// Called when the application is ready and all modules are loaded. /// </summary> void OnApplicationReady(); } }