Namensgebung

+ Style
+ ShowDialog >>> Show
This commit is contained in:
2025-04-14 16:15:21 +02:00
parent 2a256fbbbf
commit da7fdfb1f2
9 changed files with 14 additions and 11 deletions

View File

@@ -57,10 +57,9 @@
<Style.Resources>
<SolidColorBrush x:Key="NavigationHeaderBrush" Color="#aaaaaa" />
<LinearGradientBrush x:Key="NavigationContentBrush" StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="#eeeeee" />
<GradientStop Offset="1" Color="#cccccc" />
<GradientStop Offset="0" Color="#FFD7DADB" />
<GradientStop Offset="1" Color="#FF92A9B3" />
</LinearGradientBrush>
<!--<SolidColorBrush x:Key="NavigationHeaderBrush" Color="#FF5C0000" />
<LinearGradientBrush x:Key="NavigationContentBrush" StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="#ef4444" />

View File

@@ -63,6 +63,7 @@
<Slider
Grid.Row="1"
Grid.Column="1"
IsEnabled="False"
Value="{Binding Config.Temperature}" />
<Label Grid.Row="2" VerticalAlignment="Center">
@@ -71,6 +72,7 @@
<Slider
Grid.Row="2"
Grid.Column="1"
IsEnabled="False"
Value="{Binding Config.Top_P}" />
<Label Grid.Row="3">
@@ -80,6 +82,7 @@
Grid.Row="3"
Grid.Column="1"
EditValue="{Binding Config.Max_Gen_Len}"
IsEnabled="False"
Style="{StaticResource TextEditNumber}" />
</Grid>
</Grid>

View File

@@ -249,7 +249,8 @@
x:Name="btnTest"
Margin="4,0,0,0"
Command="{Binding TestCommand}"
Content="Test Szenario" />
Content="Test Szenario"
Visibility="Collapsed" />
</StackPanel>
<StackPanel
Height="Auto"

View File

@@ -5097,7 +5097,7 @@ namespace BeWo.View.Detail.Zeiterfassung
var window = BeWoWindowBuilder.AiWindowBuilder.GetAiConversationWindow(UIContext.ServiceRecord, context);
window?.Show();
window?.ShowDialog();
}
private void Ai_Button2_Click(object sender, RoutedEventArgs e)
{

View File

@@ -207,7 +207,7 @@ namespace BeWo.View.Navigation
var window = BeWoWindowBuilder.AiWindowBuilder.GetAiConversationWindow(UIContext.Customer, context);
window?.Show();
window?.ShowDialog();
}
private void OpenAiPopup()

View File

@@ -114,7 +114,7 @@ namespace BeWo.View.Navigation
var window = BeWoWindowBuilder.AiWindowBuilder.GetAiConversationWindow(UIContext.Employee, context);
window?.Show();
window?.ShowDialog();
}
private void OpenAiPopup()

View File

@@ -116,7 +116,7 @@ namespace BeWo.View.Navigation
var window = BeWoWindowBuilder.AiWindowBuilder.GetAiConversationWindow(UIContext.Person, context);
window?.Show();
window?.ShowDialog();
}
private void OpenAiPopup()

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<NameOfLastUsedPublishProfile>BeWo2.0</NameOfLastUsedPublishProfile>

View File

@@ -113,7 +113,7 @@ namespace BeWo.Service.ServiceUtils
{
{ "Aktuelle Ansicht", "Personen Navigation" },
{ "Aktueller Ansichtsfilter", "Funktion noch nicht verfügbar" },
{ "Personenliste", (object)personen ?? "keine Klienten sichtbar" }
{ "Personenliste", (object)personen ?? "keine Personen sichtbar" }
};
return dict;
@@ -126,7 +126,7 @@ namespace BeWo.Service.ServiceUtils
{
{ "Aktuelle Ansicht", "Mitarbeiter Navigation" },
{ "Aktueller Ansichtsfilter", "Funktion noch nicht verfügbar" },
{ "Mitarbeiterliste", (object)mitarbeiter ?? "keine Klienten sichtbar" }
{ "Mitarbeiterliste", (object)mitarbeiter ?? "keine Mitarbeiter sichtbar" }
};
return dict;