This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<base:BaseWindow x:Class="DTS.Viewer.Loader.ShellView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
Background="Silver"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"
Height="Auto" Width="Auto" SizeToContent="WidthAndHeight" >
<Grid x:Name="MainShell" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ContentControl Grid.Row="0" x:Name="MainRegion" Content="{Binding ContextMainRegion}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
<ContentControl.Template>
<ControlTemplate TargetType="ContentControl">
<ContentPresenter Content="{TemplateBinding Content}" />
</ControlTemplate>
</ContentControl.Template>
</ContentControl>
</Grid>
</base:BaseWindow>

View File

@@ -0,0 +1,21 @@
using System.Windows;
using DTS.Common.Interface;
namespace DTS.Viewer.Loader
{
/// <summary>
/// Interaction logic for ShellView.xaml
/// </summary>
public partial class ShellView : IShellView
{
public ShellView()
{
InitializeComponent();
this.WindowState = WindowState.Maximized;
//this.StateChanged += (s, e) =>
//{
// ResizeMode = WindowState == WindowState.Maximized ? ResizeMode.NoResize : ResizeMode.CanResize;
//};
}
}
}