Update model
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Elwig.Windows {
|
||||
|
||||
private async void Window_Loaded(object sender, RoutedEventArgs e) {
|
||||
await RefreshContractList();
|
||||
KgInput.ItemsSource = Context.WbKgs.Select(k => k.Kg).OrderBy(k => k.Name).ToList();
|
||||
KgInput.ItemsSource = Context.WbKgs.Select(k => k.AtKg).OrderBy(k => k.Name).ToList();
|
||||
SortInput.ItemsSource = Context.WineVarieties.OrderBy(s => s.Name).ToList();
|
||||
AttrInput.ItemsSource = Context.WineAttributes.OrderBy(a => a.Name).ToList();
|
||||
CultInput.ItemsSource = Context.WineCultivations.OrderBy(c => c.Name).ToList();
|
||||
|
12
Elwig/Windows/ClientParamWindow.xaml
Normal file
12
Elwig/Windows/ClientParamWindow.xaml
Normal file
@@ -0,0 +1,12 @@
|
||||
<local:AdministrationWindow x:Class="Elwig.Windows.ClientParamWindow"
|
||||
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:Elwig.Windows"
|
||||
mc:Ignorable="d"
|
||||
Title="ClientParamWindow" Height="450" Width="800">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</local:AdministrationWindow>
|
12
Elwig/Windows/ClientParamWindow.xaml.cs
Normal file
12
Elwig/Windows/ClientParamWindow.xaml.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
namespace Elwig.Windows {
|
||||
public partial class ClientParamWindow : AdministrationWindow {
|
||||
public ClientParamWindow() {
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void UpdateButtons() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@@ -36,7 +36,7 @@ namespace Elwig.Windows {
|
||||
private void Window_Loaded(object sender, RoutedEventArgs evt) {
|
||||
ActiveMemberInput.IsChecked = true;
|
||||
BranchInput.ItemsSource = Context.Branches.OrderBy(b => b.Name).ToList();
|
||||
DefaultKgInput.ItemsSource = Context.WbKgs.Select(k => k.Kg).OrderBy(k => k.Name).ToList();
|
||||
DefaultKgInput.ItemsSource = Context.WbKgs.Select(k => k.AtKg).OrderBy(k => k.Name).ToList();
|
||||
}
|
||||
|
||||
private async Task RefreshMemberList() {
|
||||
|
Reference in New Issue
Block a user