Aufchromeless umgebaut
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<Application x:Class="KanSan.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
xmlns:local="clr-namespace:KanSan"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<PackageReference Include="Syncfusion.DocIO.Wpf" Version="17.4.0.55" />
|
||||
<PackageReference Include="Syncfusion.DocToPDFConverter.Wpf" Version="17.4.0.55" />
|
||||
<PackageReference Include="Syncfusion.Grid.WPF" Version="17.4.0.55" />
|
||||
<PackageReference Include="Syncfusion.Shared.WPF" Version="17.4.0.55" />
|
||||
<PackageReference Include="Syncfusion.XlsIO.Wpf" Version="17.4.0.55" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
<Window
|
||||
<syncfusion:ChromelessWindow
|
||||
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:local="clr-namespace:KanSan"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf" x:Class="KanSan.MainWindow"
|
||||
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" x:Class="KanSan.MainWindow"
|
||||
TitleTextAlignment="Center"
|
||||
mc:Ignorable="d"
|
||||
Title="{Binding ApplicationTitle}" Height="450" Width="800" WindowStartupLocation="CenterScreen" WindowState="Maximized">
|
||||
|
||||
|
||||
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
@@ -37,4 +41,4 @@
|
||||
<StatusBarItem Content="{Binding SelectedBaustelle.OrtTeil}" />
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</Window>
|
||||
</syncfusion:ChromelessWindow>
|
||||
|
||||
@@ -17,28 +17,29 @@ using KanSan.Base;
|
||||
using KanSan.Base.Models;
|
||||
using KanSan.ViewModel;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace KanSan
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
public partial class MainWindow : ChromelessWindow
|
||||
{
|
||||
UI.UCKundeEdit UCKundeEdit;
|
||||
UI.UCKundeList UCKundeList;
|
||||
UI.UCProjektList UCProjektList;
|
||||
UI.UCBaustelleList UCBaustelleList;
|
||||
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.DataContext = new MainWindowViewModel();
|
||||
|
||||
|
||||
UCKundeList = new UI.UCKundeList();
|
||||
UCKundeList.KundeAdded += UCKundeList_KundeAdded;
|
||||
UCKundeList.KundeSelect += UCKundeList_KundeSelect;
|
||||
|
||||
}
|
||||
|
||||
private void UCProjektList_ProjektAdded(object sender, UI.SelectProjektEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user