Design anpassungen
This commit is contained in:
@@ -32,8 +32,8 @@ namespace KanSan
|
||||
UI.UCBaustelleList UCBaustelleList;
|
||||
|
||||
UI.UCSewerMainMenu uCSewerMainMenu;
|
||||
UI.UCLeistungsverzeichnisPositionenBaustelle UCLeistungsverzeichnisPositionenBaustelle = new UI.UCLeistungsverzeichnisPositionenBaustelle();
|
||||
UI.UCLeistungsverzeichnisPosList UCLeistungsverzeichnisPosList = new UI.UCLeistungsverzeichnisPosList();
|
||||
UI.UCLeistungsverzeichnisPositionenBaustelle UCLeistungsverzeichnisPositionenBaustelle;
|
||||
UI.UCLeistungsverzeichnisPosList UCLeistungsverzeichnisPosList;
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
@@ -41,12 +41,7 @@ namespace KanSan
|
||||
this.DataContext = new MainWindowViewModel();
|
||||
#if DEBUG
|
||||
System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = SourceLevels.Critical;
|
||||
#endif
|
||||
|
||||
UCKundeList = new UI.UCKundeList();
|
||||
UCKundeList.KundeAdded += UCKundeList_KundeAdded;
|
||||
UCKundeList.KundeSelect += UCKundeList_KundeSelect;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
private void UCProjektList_ProjektAdded(object sender, UI.SelectProjektEventArgs e)
|
||||
@@ -128,6 +123,9 @@ namespace KanSan
|
||||
|
||||
private void rbKunden_Checked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
UCKundeList = new UI.UCKundeList();
|
||||
UCKundeList.KundeAdded += UCKundeList_KundeAdded;
|
||||
UCKundeList.KundeSelect += UCKundeList_KundeSelect;
|
||||
ContentController.Content = UCKundeList;
|
||||
}
|
||||
|
||||
@@ -163,11 +161,13 @@ namespace KanSan
|
||||
|
||||
private void rbLeistungsverzeichnis_Checked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
UCLeistungsverzeichnisPosList = new UI.UCLeistungsverzeichnisPosList();
|
||||
ContentController.Content = UCLeistungsverzeichnisPosList;
|
||||
}
|
||||
|
||||
private void rbLeistungsverzeichnisBaustellen_Checked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
UCLeistungsverzeichnisPositionenBaustelle = new UI.UCLeistungsverzeichnisPositionenBaustelle();
|
||||
ContentController.Content = UCLeistungsverzeichnisPositionenBaustelle;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,10 @@
|
||||
</Grid.RowDefinitions>
|
||||
<Button Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Content="Speichern" Name="Speichern" Click="Speichern_Click" />
|
||||
|
||||
<Label Grid.Row="1" Content="Obere Punkt" />
|
||||
<Label Grid.Row="2" Content="Untere Punkt" />
|
||||
<Label Grid.Row="3" Content="Strasse" />
|
||||
<Label Grid.Row="4" Content="Durchmesser" />
|
||||
<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding PunktOben}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding PunktUnten}" />
|
||||
<TextBox Grid.Column="1" Grid.Row="3" Text="{Binding Strasse}" />
|
||||
|
||||
Reference in New Issue
Block a user