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