Skip to content

Commit de8b619

Browse files
committed
Lobotomy, where can I get one ?
1 parent 97e491a commit de8b619

12 files changed

+18
-17
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

VTOL_2.0.0/MainWindow.xaml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,22 +577,22 @@ public void Send_Success_Notif(string Input_Message)
577577
{
578578

579579
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Success;
580-
Snackbar.Show("Success", Input_Message, Wpf.Ui.Common.SymbolRegular.Check24);
580+
Snackbar.ShowAsync("Success", Input_Message, Wpf.Ui.Common.SymbolRegular.Check24);
581581
//Dialog.Show("Feeel Fine", "23 Hours no sleep");
582582

583583
}
584584

585585
public void Send_Caution_Notif(string Input_Message)
586586
{
587587
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Caution;
588-
Snackbar.Show("Caution", Input_Message, Wpf.Ui.Common.SymbolRegular.ErrorCircleSettings20);
588+
Snackbar.ShowAsync("Caution", Input_Message, Wpf.Ui.Common.SymbolRegular.ErrorCircleSettings20);
589589

590590
}
591591

592592
public void Send_Info_Notif(string Input_Message)
593593
{
594594
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Info;
595-
Snackbar.Show(VTOL.Resources.Languages.Language.INFO, Input_Message, Wpf.Ui.Common.SymbolRegular.Info24);
595+
Snackbar.ShowAsync(VTOL.Resources.Languages.Language.INFO, Input_Message, Wpf.Ui.Common.SymbolRegular.Info24);
596596

597597

598598
}
@@ -602,7 +602,7 @@ public void Send_Danger_Notif(string Input_Message, int time)
602602

603603
Snackbar.Timeout = time;
604604
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Danger;
605-
Snackbar.Show("Danger", Input_Message, Wpf.Ui.Common.SymbolRegular.Warning24);
605+
Snackbar.ShowAsync("Danger", Input_Message, Wpf.Ui.Common.SymbolRegular.Warning24);
606606
}
607607

608608

VTOL_2.0.0/Pages/Page_Server.xaml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,21 @@
6464
<local:Server_Template_Selector x:Key="Server_Template_Selector" />
6565
</Page.Resources>
6666
<Grid>
67-
67+
6868
<Image Source="/Resources/Icons/Main_UI/server-icon-download-icons-17.png" Margin="640,174,-180,-174" Opacity="0.05" IsHitTestVisible="False"/>
6969
<Label Content="{x:Static properties:Language.Page_Server_ConfigureImportAndExportDedicatedServerAndClientSettings}" Margin="50,0,0,573" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" UseLayoutRounding="True" Padding="0,0,0,0" Height="16" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="410"/>
7070
<Label Content="{x:Static properties:Language.Page_Server_SERVER}" Margin="50,0,357,594" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" UseLayoutRounding="True" Padding="0,0,0,0" Background="{x:Null}" Foreground="White" FontSize="22" FontWeight="Bold" Height="28" VerticalAlignment="Bottom"/>
7171
<ScrollViewer x:Name="Scoller" Margin="50,120,50,30" PanningMode="VerticalOnly" VerticalScrollBarVisibility="Visible" BorderBrush="White" Foreground="White">
7272
<hc:SimpleStackPanel Margin="10,10,10,10" Height="1735" ScrollViewer.HorizontalScrollBarVisibility="Hidden" >
7373

7474

75-
<Grid Visibility="Visible">
76-
<Button x:Name="Launch_Northstar_Advanced" Height="40" Margin="50,175,0,0" VerticalAlignment="Top" BorderBrush="White" Background="#FF085F36" Width="370" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarClient}" Click="Launch_Northstar_Advanced_Click" />
77-
<hc:TextBox x:Name="Arg_Box" Height="82" TextWrapping="Wrap" VerticalAlignment="Top" Margin="50,84,0,0" Width="370" HorizontalAlignment="Left" KeyDown="OnKeyDownHandler_Nrml_Arg" LostFocus="Arg_Box_LostFocus" BorderBrush="{x:Null}" />
75+
<Grid Visibility="Visible" Height="268">
76+
<Button x:Name="Load_Files" Height="40" Width="370" Margin="83,206,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_LoadFiles}" BorderBrush="#FF39F1FF" Click="Load_Files_Click" Background="#FF383838" />
77+
78+
<Button x:Name="Import_Server_Config" Height="40" Margin="561,206,83,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_ImportServerConfig}" BorderBrush="{x:Null}" Click="Import_Server_Config_Click" Background="#FF383838" HorizontalContentAlignment="Center" HorizontalAlignment="Stretch" />
79+
80+
<Button x:Name="Launch_Northstar_Advanced" Height="40" Margin="83,152,0,0" VerticalAlignment="Top" BorderBrush="White" Background="#FF085F36" Width="370" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarClient}" Click="Launch_Northstar_Advanced_Click" />
81+
<hc:TextBox x:Name="Arg_Box" Height="36" TextWrapping="Wrap" VerticalAlignment="Top" Margin="60,98,0,0" Width="417" HorizontalAlignment="Left" KeyDown="OnKeyDownHandler_Nrml_Arg" LostFocus="Arg_Box_LostFocus" BorderBrush="{x:Null}" />
7882
<Popup x:Name="autoListPopup"
7983
Visibility="Collapsed"
8084
Height="100"
@@ -88,22 +92,19 @@
8892
/>
8993
</Popup>
9094

91-
<Button x:Name="Dedicated_Btn" Height="40" Margin="594,175,50,0" BorderBrush="White" Background="#FF282C50" VerticalAlignment="Top" HorizontalAlignment="Stretch" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedServer}" Click="Dedicated_Btn_Click" />
92-
<hc:TextBox x:Name="Arg_Box_Dedi" Height="86" TextWrapping="Wrap" VerticalAlignment="Top" Margin="594,82,50,0" KeyDown="OnKeyDownHandler_Dedi_Arg" LostFocus="Arg_Box_Dedi_LostFocus" BorderBrush="{x:Null}"/>
93-
<Label Height="35" BorderBrush="{x:Null}" Background="{x:Null}" Margin="594,44,50,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarDedicatedClient}" FontSize="14" HorizontalContentAlignment="Center" Padding="0,0,0,0" VerticalContentAlignment="Center"/>
94-
<Label Height="35" Margin="32,44,0,0" VerticalAlignment="Top" BorderBrush="{x:Null}" Background="{x:Null}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarClient}" FontSize="14" HorizontalAlignment="Left" Width="406"/>
95+
<Button x:Name="Dedicated_Btn" Height="40" Margin="561,152,83,0" BorderBrush="White" Background="#FF282C50" VerticalAlignment="Top" HorizontalAlignment="Stretch" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedServer}" Click="Dedicated_Btn_Click" />
96+
<hc:TextBox x:Name="Arg_Box_Dedi" Height="36" TextWrapping="Wrap" VerticalAlignment="Top" Margin="538,98,60,0" KeyDown="OnKeyDownHandler_Dedi_Arg" LostFocus="Arg_Box_Dedi_LostFocus" BorderBrush="{x:Null}" Width="417"/>
97+
<Label Height="35" BorderBrush="{x:Null}" Background="{x:Null}" Margin="561,44,83,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarDedicatedClient}" FontSize="14" HorizontalContentAlignment="Center" Padding="0,0,0,0" VerticalContentAlignment="Center"/>
98+
<Label Height="34" Margin="70,62,0,0" VerticalAlignment="Top" BorderBrush="{x:Null}" Background="{x:Null}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarClient}" FontSize="14" HorizontalAlignment="Left" Width="406"/>
9599

96100
</Grid>
97-
<Button x:Name="Load_Files" Height="46" Width="916" Margin="0,23,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_LoadFiles}" BorderBrush="#FF39F1FF" HorizontalAlignment="Center" Click="Load_Files_Click" Background="#FF383838" />
98-
99-
<Button x:Name="Import_Server_Config" Height="40" Width="546" Margin="0,8,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_ImportServerConfig}" BorderBrush="{x:Null}" HorizontalAlignment="Center" Click="Import_Server_Config_Click" Background="#FF383838" />
100101

101102
<Label Height="58" Width="375" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,36,0,0" FontSize="36" FontFamily="Bahnschrift SemiLight" Background="{x:Null}" BorderBrush="{x:Null}" Content="STARTUP ARGUMENTS" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" />
102-
<ListBox x:Name="Startup_Arguments_UI_List" ItemTemplateSelector="{StaticResource Server_Template_Selector}" Margin="0,-4,0,-322" Background="#FF101010" BorderBrush="{x:Null}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.CanContentScroll="False" Height="500" PreviewMouseWheel="S" VirtualizingPanel.ScrollUnit="Pixel">
103+
<ListBox x:Name="Startup_Arguments_UI_List" BorderThickness="1" ItemTemplateSelector="{StaticResource Server_Template_Selector}" Margin="0,-4,0,-322" Background="#FF444444" BorderBrush="#19FFFFFF" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.CanContentScroll="False" Height="500" PreviewMouseWheel="S" VirtualizingPanel.ScrollUnit="Pixel">
103104
</ListBox>
104105
<Label Height="58" Width="375" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,387,0,0" FontSize="36" FontFamily="Bahnschrift SemiLight" Background="{x:Null}" BorderBrush="{x:Null}" Content="CONVAR ARGUMENTS" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" />
105106

106-
<ListBox x:Name="Convar_Arguments_UI_List" Background="#FF101010" BorderBrush="{x:Null}" Height="500" VerticalAlignment="Top" ScrollViewer.CanContentScroll="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" Margin="0,-4,0,0" ItemTemplateSelector="{StaticResource Server_Template_Selector}" PreviewMouseWheel="Convar_Arguments_UI_List_PreviewMouseWheel" VirtualizingPanel.ScrollUnit="Pixel"/>
107+
<ListBox x:Name="Convar_Arguments_UI_List" BorderThickness="1" Background="#FF848484" BorderBrush="#19FFFFFF" Height="500" VerticalAlignment="Top" ScrollViewer.CanContentScroll="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" Margin="0,-4,0,0" ItemTemplateSelector="{StaticResource Server_Template_Selector}" PreviewMouseWheel="Convar_Arguments_UI_List_PreviewMouseWheel" VirtualizingPanel.ScrollUnit="Pixel"/>
107108

108109
<Button x:Name="Launch_Northstar_Dedicated" Height="51" Width="764" BorderBrush="White" Margin="0,30,0,0" VerticalAlignment="Top" HorizontalAlignment="Center" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedClient}" Click="Launch_Northstar_Dedicated_Click" Background="#FF383838" />
109110

0 commit comments

Comments
 (0)