mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
Stylish redesign
This commit is contained in:
parent
84c4477eb2
commit
68920e6810
@ -7,6 +7,7 @@ using System.Xml;
|
|||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using System.Collections.Generic;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Novetus Functions
|
#region Novetus Functions
|
||||||
@ -178,47 +179,53 @@ public class NovetusFuncs
|
|||||||
GlobalVars.PingURL = "";
|
GlobalVars.PingURL = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CMD
|
public static string[] LoadServerInformation()
|
||||||
public static void CreateTXT()
|
|
||||||
{
|
{
|
||||||
if (GlobalVars.RequestToOutputInfo)
|
string[] lines1 = {
|
||||||
{
|
|
||||||
string[] lines1 = {
|
|
||||||
SecurityFuncs.Base64Encode(!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
SecurityFuncs.Base64Encode(!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
||||||
};
|
};
|
||||||
string URI = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines1), true);
|
string URI = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines1), true);
|
||||||
string[] lines2 = {
|
string[] lines2 = {
|
||||||
SecurityFuncs.Base64Encode("localhost"),
|
SecurityFuncs.Base64Encode("localhost"),
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
||||||
};
|
};
|
||||||
string URI2 = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines2), true);
|
string URI2 = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines2), true);
|
||||||
|
string[] text = {
|
||||||
|
"Client: " + GlobalVars.UserConfiguration.SelectedClient,
|
||||||
|
"IP: " + (!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
||||||
|
"Port: " + GlobalVars.UserConfiguration.RobloxPort.ToString(),
|
||||||
|
"Map: " + GlobalVars.UserConfiguration.Map,
|
||||||
|
"Players: " + GlobalVars.UserConfiguration.PlayerLimit,
|
||||||
|
"Version: Novetus " + GlobalVars.ProgramInformation.Version,
|
||||||
|
"Online URI Link:",
|
||||||
|
URI,
|
||||||
|
"Local URI Link:",
|
||||||
|
URI2
|
||||||
|
};
|
||||||
|
|
||||||
string[] text = {
|
return text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void CreateTXT()
|
||||||
|
{
|
||||||
|
if (GlobalVars.RequestToOutputInfo)
|
||||||
|
{
|
||||||
|
List<string> text = new List<string>();
|
||||||
|
text.AddRange(new string[] {
|
||||||
"Process ID: " + (GlobalVars.ProcessID == 0 ? "N/A" : GlobalVars.ProcessID.ToString()),
|
"Process ID: " + (GlobalVars.ProcessID == 0 ? "N/A" : GlobalVars.ProcessID.ToString()),
|
||||||
"Don't copy the Process ID when sharing the server.",
|
"Don't copy the Process ID when sharing the server.",
|
||||||
"--------------------",
|
"--------------------"
|
||||||
"Server Info:",
|
});
|
||||||
"Client: " + GlobalVars.UserConfiguration.SelectedClient,
|
text.AddRange(LoadServerInformation());
|
||||||
"IP: " + (!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
|
||||||
"Port: " + GlobalVars.UserConfiguration.RobloxPort.ToString(),
|
|
||||||
"Map: " + GlobalVars.UserConfiguration.Map,
|
|
||||||
"Players: " + GlobalVars.UserConfiguration.PlayerLimit,
|
|
||||||
"Version: Novetus " + GlobalVars.ProgramInformation.Version,
|
|
||||||
"Online URI Link:",
|
|
||||||
URI,
|
|
||||||
"Local URI Link:",
|
|
||||||
URI2
|
|
||||||
};
|
|
||||||
|
|
||||||
string txt = GlobalPaths.BasePath + "\\" + GlobalPaths.ServerInfoFileName;
|
string txt = GlobalPaths.BasePath + "\\" + GlobalPaths.ServerInfoFileName;
|
||||||
File.WriteAllLines(txt, text);
|
File.WriteAllLines(txt, text);
|
||||||
Util.ConsolePrint("Server Information sent to file " + txt, 4);
|
Util.ConsolePrint("Server Information sent to file " + txt, 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#if LAUNCHER || URI
|
#if LAUNCHER || URI
|
||||||
public static void LaunchCharacterCustomization()
|
public static void LaunchCharacterCustomization()
|
||||||
|
@ -352,44 +352,7 @@ namespace NovetusLauncher
|
|||||||
Application.Exit();
|
Application.Exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void LoadServerInformation(TextBox box)
|
|
||||||
{
|
|
||||||
string[] lines1 = {
|
|
||||||
SecurityFuncs.Base64Encode(!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
|
||||||
};
|
|
||||||
string URI = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines1), true);
|
|
||||||
string[] lines2 = {
|
|
||||||
SecurityFuncs.Base64Encode("localhost"),
|
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
|
|
||||||
SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
|
|
||||||
};
|
|
||||||
string URI2 = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines2), true);
|
|
||||||
string[] text = {
|
|
||||||
"Client: " + GlobalVars.UserConfiguration.SelectedClient,
|
|
||||||
"IP: " + (!string.IsNullOrWhiteSpace(GlobalVars.UserConfiguration.AlternateServerIP) ? GlobalVars.UserConfiguration.AlternateServerIP : GlobalVars.ExternalIP),
|
|
||||||
"Port: " + GlobalVars.UserConfiguration.RobloxPort.ToString(),
|
|
||||||
"Map: " + GlobalVars.UserConfiguration.Map,
|
|
||||||
"Players: " + GlobalVars.UserConfiguration.PlayerLimit,
|
|
||||||
"Version: Novetus " + GlobalVars.ProgramInformation.Version,
|
|
||||||
"Online URI Link:",
|
|
||||||
URI,
|
|
||||||
"Local URI Link:",
|
|
||||||
URI2
|
|
||||||
};
|
|
||||||
|
|
||||||
foreach (string str in text)
|
|
||||||
{
|
|
||||||
if (!string.IsNullOrWhiteSpace(str))
|
|
||||||
{
|
|
||||||
box.AppendText(str + Environment.NewLine);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
box.SelectionStart = 0;
|
|
||||||
box.ScrollToCaret();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ChangeTabs()
|
public void ChangeTabs()
|
||||||
{
|
{
|
||||||
@ -402,7 +365,17 @@ namespace NovetusLauncher
|
|||||||
ClientBox.Items.Clear();
|
ClientBox.Items.Clear();
|
||||||
ServerBox.Items.Clear();
|
ServerBox.Items.Clear();
|
||||||
PortBox.Items.Clear();
|
PortBox.Items.Clear();
|
||||||
LoadServerInformation(ServerInfo);
|
string[] text = NovetusFuncs.LoadServerInformation();
|
||||||
|
foreach (string str in text)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrWhiteSpace(str))
|
||||||
|
{
|
||||||
|
ServerInfo.AppendText(str + Environment.NewLine);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ServerInfo.SelectionStart = 0;
|
||||||
|
ServerInfo.ScrollToCaret();
|
||||||
break;
|
break;
|
||||||
case TabPage pg3 when pg3 == Tabs.TabPages[TabPageClients]:
|
case TabPage pg3 when pg3 == Tabs.TabPages[TabPageClients]:
|
||||||
string clientdir = GlobalPaths.ClientDir;
|
string clientdir = GlobalPaths.ClientDir;
|
||||||
|
@ -76,8 +76,6 @@ namespace NovetusLauncher
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
launcherFormStylishInterface1.ToggleServerOptions();
|
|
||||||
|
|
||||||
LocalVars.launcherInitState = false;
|
LocalVars.launcherInitState = false;
|
||||||
CenterToScreen();
|
CenterToScreen();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type TabItem}">
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
||||||
<Border x:Name="Border" BorderThickness="1,1,0,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
<Border x:Name="Border" BorderThickness="1,1,0,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
||||||
<Border x:Name="Border2" BorderThickness="46,0,46,0" HorizontalAlignment="Center">
|
<Border x:Name="Border2" BorderThickness="31.3,0,31.2,0" HorizontalAlignment="Center">
|
||||||
<Grid Name="Panel">
|
<Grid Name="Panel">
|
||||||
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -45,7 +45,7 @@
|
|||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type TabItem}">
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
||||||
<Border x:Name="Border" BorderThickness="0,1,0,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
<Border x:Name="Border" BorderThickness="0,1,0,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
||||||
<Border x:Name="Border2" BorderThickness="46,0,46,0" HorizontalAlignment="Center">
|
<Border x:Name="Border2" BorderThickness="31.3,0,31.3,0" HorizontalAlignment="Center">
|
||||||
<Grid Name="Panel">
|
<Grid Name="Panel">
|
||||||
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -73,7 +73,7 @@
|
|||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type TabItem}">
|
<ControlTemplate TargetType="{x:Type TabItem}">
|
||||||
<Border x:Name="Border" BorderThickness="0,1,1,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
<Border x:Name="Border" BorderThickness="0,1,1,1" HorizontalAlignment="Center" BorderBrush="Black" >
|
||||||
<Border x:Name="Border2" BorderThickness="45,0,45,0" HorizontalAlignment="Center">
|
<Border x:Name="Border2" BorderThickness="31.3,0,31.3,0" HorizontalAlignment="Center">
|
||||||
<Grid Name="Panel">
|
<Grid Name="Panel">
|
||||||
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
<ContentPresenter x:Name="ContentSite" ContentSource="Header" />
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -745,6 +745,12 @@
|
|||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
|
|
||||||
<TabControl x:Name="tabControl" HorizontalAlignment="Center" Height="295" Margin="0,0,0,0" Width="689" BorderBrush="{x:Null}" Background="#FFEDEDED" SelectionChanged="TabControl_SelectionChanged">
|
<TabControl x:Name="tabControl" HorizontalAlignment="Center" Height="295" Margin="0,0,0,0" Width="689" BorderBrush="{x:Null}" Background="#FFEDEDED" SelectionChanged="TabControl_SelectionChanged">
|
||||||
|
<TabControl.Resources>
|
||||||
|
<Style TargetType="{x:Type TabPanel}">
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
</TabControl.Resources>
|
||||||
|
|
||||||
<TabItem x:Name="playTab" Header="PLAY" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FFEDEDED" Foreground="White" IsSelected="True">
|
<TabItem x:Name="playTab" Header="PLAY" Style="{DynamicResource TabItemStyleSeperators}" BorderBrush="{x:Null}" Background="#FFEDEDED" Foreground="White" IsSelected="True">
|
||||||
<Grid Background="#FFEDEDED">
|
<Grid Background="#FFEDEDED">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
@ -765,42 +771,48 @@
|
|||||||
<Label x:Name="ipAddressLabel" Content="Server IP Address:" HorizontalAlignment="Left" Margin="20,163,0,0" VerticalAlignment="Top" FontSize="12" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.ColumnSpan="2" Width="135"/>
|
<Label x:Name="ipAddressLabel" Content="Server IP Address:" HorizontalAlignment="Left" Margin="20,163,0,0" VerticalAlignment="Top" FontSize="12" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.ColumnSpan="2" Width="135"/>
|
||||||
<TextBox x:Name="joinPortBox" HorizontalAlignment="Left" Height="20" Margin="7,220,0,0" Text="53640" VerticalAlignment="Top" Width="156" Grid.ColumnSpan="2" TextChanged="joinPortBox_TextChanged"/>
|
<TextBox x:Name="joinPortBox" HorizontalAlignment="Left" Height="20" Margin="7,220,0,0" Text="53640" VerticalAlignment="Top" Width="156" Grid.ColumnSpan="2" TextChanged="joinPortBox_TextChanged"/>
|
||||||
<Label x:Name="joinPortLabel" Content="Join Port" HorizontalAlignment="Left" Margin="20,199,0,0" VerticalAlignment="Top" FontSize="12" Height="27" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Width="134" Grid.ColumnSpan="2"/>
|
<Label x:Name="joinPortLabel" Content="Join Port" HorizontalAlignment="Left" Margin="20,199,0,0" VerticalAlignment="Top" FontSize="12" Height="27" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Width="134" Grid.ColumnSpan="2"/>
|
||||||
<Button x:Name="joinButton" Style="{DynamicResource JoinButton}" Content="" HorizontalAlignment="Left" Margin="122,191,0,0" VerticalAlignment="Top" Width="91" Height="33" Grid.Column="2" RenderTransformOrigin="0.227,0.54" Click="joinButton_Click"/>
|
<Button x:Name="joinButton" Style="{DynamicResource JoinButton}" Content="" HorizontalAlignment="Left" Margin="100,222,0,0" VerticalAlignment="Top" Width="91" Height="33" Grid.Column="1" RenderTransformOrigin="0.227,0.54" Click="joinButton_Click" Grid.ColumnSpan="2"/>
|
||||||
<Button x:Name="serverBrowserButton" Style="{DynamicResource ImportantButton}" Content="Browse Servers" HorizontalAlignment="Left" Margin="100,225,0,0" VerticalAlignment="Top" Width="236" Height="30" Grid.Column="2" RenderTransformOrigin="0.645,-0.075" Click="serverBrowserButton_Click"/>
|
<Button x:Name="serverBrowserButton" Style="{DynamicResource ImportantButton}" Content="Browse Servers" HorizontalAlignment="Left" Margin="253,225,0,0" VerticalAlignment="Top" Width="171" Height="30" Grid.Column="2" RenderTransformOrigin="0.645,-0.075" Click="serverBrowserButton_Click"/>
|
||||||
<Button x:Name="playSoloButton" Style="{DynamicResource SoloButton}" Content="" HorizontalAlignment="Left" Margin="218,191,0,0" VerticalAlignment="Top" Width="92" Height="32" Grid.Column="2" RenderTransformOrigin="1.3,0.863" Click="playSoloButton_Click"/>
|
<Button x:Name="playSoloButton" Style="{DynamicResource SoloButton}" Content="" HorizontalAlignment="Left" Margin="61,223,0,0" VerticalAlignment="Top" Width="92" Height="32" Grid.Column="2" RenderTransformOrigin="1.3,0.863" Click="playSoloButton_Click"/>
|
||||||
<Button x:Name="StudioButton" Style="{DynamicResource StudioButton}" Content="" HorizontalAlignment="Left" Margin="341,192,0,0" VerticalAlignment="Top" Width="90" Height="32" Grid.Column="2" RenderTransformOrigin="1.3,0.863" Click="StudioButton_Click"/>
|
<Button x:Name="StudioButton" Style="{DynamicResource StudioButton}" Content="" HorizontalAlignment="Left" Margin="158,224,0,0" VerticalAlignment="Top" Width="90" Height="32" Grid.Column="2" RenderTransformOrigin="1.3,0.863" Click="StudioButton_Click"/>
|
||||||
<Button x:Name="ServerOptionsButton" Style="{DynamicResource HostButton}" Content="" HorizontalAlignment="Left" Margin="341,225,0,0" VerticalAlignment="Top" Width="90" Height="31" Grid.Column="2" RenderTransformOrigin="1.3,0.863" Click="serverOptionsButton_Click"/>
|
|
||||||
<Rectangle x:Name="mapsGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="179" Margin="95,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="352" Grid.Column="2"/>
|
<Rectangle x:Name="mapsGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="207" Margin="73,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="509" Grid.Column="1" Grid.ColumnSpan="2"/>
|
||||||
<Rectangle x:Name="mapsLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="95,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="352" Grid.Column="2"/>
|
<Rectangle x:Name="mapsLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="73,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="509" Grid.Column="1" Grid.ColumnSpan="2"/>
|
||||||
<Label x:Name="mapsLabel" Content="Places" HorizontalAlignment="Left" Margin="253.166,9,0,0" VerticalAlignment="Top" FontSize="15" Width="52" Grid.Column="2"/>
|
<Label x:Name="mapsLabel" Content="Places" HorizontalAlignment="Left" Margin="166,9,0,0" VerticalAlignment="Top" FontSize="15" Width="52" Grid.Column="2"/>
|
||||||
<TextBox x:Name="mapsDescBox" Grid.Column="2" HorizontalAlignment="Left" Height="120" Margin="298,64,0,0" TextWrapping="Wrap" FontFamily="Comic Sans MS" FontSize="12" VerticalAlignment="Top" Width="139" IsReadOnly="True" HorizontalContentAlignment="Left" VerticalContentAlignment="Top"/>
|
<TextBox x:Name="mapsDescBox" Grid.Column="2" HorizontalAlignment="Left" Height="147" Margin="298,64,0,0" TextWrapping="Wrap" FontFamily="Comic Sans MS" FontSize="12" VerticalAlignment="Top" Width="139" IsReadOnly="True" HorizontalContentAlignment="Left" VerticalContentAlignment="Top"/>
|
||||||
<WindowsFormsHost x:Name="formHost" Height="120" Margin="103.166,64,154,76" Width="190" Grid.Column="2" FontFamily="Comic Sans MS" FontSize="9" Background="#FFEDEDED">
|
<WindowsFormsHost x:Name="formHost" Margin="82,64,154,48" Grid.Column="1" FontFamily="Comic Sans MS" FontSize="9" Background="#FFEDEDED" Grid.ColumnSpan="2">
|
||||||
<wf:TreeView x:Name="mapsBox" AfterSelect="mapsBox_AfterSelect" BeforeSelect="mapsBox_BeforeSelect"/>
|
<wf:TreeView x:Name="mapsBox" AfterSelect="mapsBox_AfterSelect" BeforeSelect="mapsBox_BeforeSelect"/>
|
||||||
</WindowsFormsHost>
|
</WindowsFormsHost>
|
||||||
<TextBox x:Name="searchBox" Grid.Column="2" HorizontalAlignment="Left" Height="20" Margin="103.166,42,0,0" Text="" VerticalAlignment="Top" Width="207" HorizontalContentAlignment="Left" VerticalContentAlignment="Top"/>
|
<TextBox x:Name="searchBox" Grid.Column="1" HorizontalAlignment="Left" Height="20" Margin="82,42,0,0" Text="" VerticalAlignment="Top" Width="346" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Grid.ColumnSpan="2"/>
|
||||||
<Button x:Name="searchButton" Style="{DynamicResource SearchButton}" Content="" Grid.Column="2" HorizontalAlignment="Left" Margin="310,44,0,0" VerticalAlignment="Top" Width="24" Height="17" Click="searchButton_Click"/>
|
<Button x:Name="searchButton" Style="{DynamicResource SearchButton}" Content="" Grid.Column="2" HorizontalAlignment="Left" Margin="310,44,0,0" VerticalAlignment="Top" Width="24" Height="17" Click="searchButton_Click"/>
|
||||||
<Button x:Name="refreshButton" Style="{DynamicResource RefreshButton}" Content="" Grid.Column="2" HorizontalAlignment="Left" Margin="334,44,0,0" VerticalAlignment="Top" Width="26" Height="17" Click="refreshButton_Click"/>
|
<Button x:Name="refreshButton" Style="{DynamicResource RefreshButton}" Content="" Grid.Column="2" HorizontalAlignment="Left" Margin="334,44,0,0" VerticalAlignment="Top" Width="26" Height="17" Click="refreshButton_Click"/>
|
||||||
<Button x:Name="addMapButton" Content="Add Place" Grid.Column="2" HorizontalAlignment="Left" Margin="365,45,0,0" VerticalAlignment="Top" Width="72" Click="addMapButton_Click"/>
|
<Button x:Name="addMapButton" Content="Add Place" Grid.Column="2" HorizontalAlignment="Left" Margin="365,45,0,0" VerticalAlignment="Top" Width="72" Click="addMapButton_Click"/>
|
||||||
<Button x:Name="customizeButton" Style="{DynamicResource ImportantButton}" Content="Customize Player" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" Width="169" Click="customizeButton_Click" Height="32" Grid.ColumnSpan="2"/>
|
<Button x:Name="customizeButton" Style="{DynamicResource ImportantButton}" Content="Customize Player" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" Width="169" Click="customizeButton_Click" Height="32" Grid.ColumnSpan="2"/>
|
||||||
<GroupBox x:Name="hostBox" Grid.ColumnSpan="2" Grid.Column="1" Header="" HorizontalAlignment="Left" Height="273" Margin="65,-17,0,0" VerticalAlignment="Top" Width="168" BorderBrush="{x:Null}" Foreground="{x:Null}" BorderThickness="0">
|
</Grid>
|
||||||
<Grid Margin="0,0,0,-5">
|
</TabItem>
|
||||||
<Rectangle x:Name="hostServerGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="245" Margin="2,1,0,0" Stroke="Black" VerticalAlignment="Top" Width="153"/>
|
<TabItem x:Name="serverTab" Style="{DynamicResource TabItemStyleSeperatorsInbetween}" Header="HOST" BorderBrush="{x:Null}" Foreground="White">
|
||||||
<Rectangle x:Name="hostServerLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="2,1,0,0" Stroke="Black" VerticalAlignment="Top" Width="153"/>
|
<Grid Background="#FFEDEDED">
|
||||||
<Label x:Name="hostServerLabel" Content="Host Options" HorizontalAlignment="Left" Margin="24,0,0,0" VerticalAlignment="Top" FontSize="15" Width="105" RenderTransformOrigin="0.561,0.175"/>
|
<Grid.ColumnDefinitions>
|
||||||
<Label x:Name="serverPortLabel" Content="Host Port:" HorizontalAlignment="Left" Margin="8,34,0,0" VerticalAlignment="Top" Width="68"/>
|
<ColumnDefinition Width="284*"/>
|
||||||
<TextBox x:Name="serverPortBox" HorizontalAlignment="Left" Height="20" Margin="82,39,0,0" Text="53640" VerticalAlignment="Top" Width="65" TextChanged="serverPortBox_TextChanged"/>
|
</Grid.ColumnDefinitions>
|
||||||
<Label x:Name="maxPlayersLabel" Content="Max Players:" HorizontalAlignment="Left" Margin="2,57,0,0" VerticalAlignment="Top" Width="86"/>
|
<Rectangle x:Name="hostGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="203" Margin="6,11,0,0" Stroke="Black" VerticalAlignment="Top" Width="154"/>
|
||||||
<TextBox x:Name="maxPlayersBox" HorizontalAlignment="Left" Height="20" Margin="82,62,0,0" Text="12" VerticalAlignment="Top" Width="66" TextChanged="maxPlayersBox_TextChanged"/>
|
<Rectangle x:Name="hostLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="6,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="154"/>
|
||||||
<CheckBox x:Name="uPnPBox" Content="uPnP" HorizontalAlignment="Left" Margin="8,84,0,0" VerticalAlignment="Top" Checked="uPnPBox_Checked" Unchecked="uPnPBox_Unchecked" Click="uPnPBox_Click"/>
|
<Label x:Name="hostLabel" Content="Host Settings" HorizontalAlignment="Left" Margin="22,8,0,0" VerticalAlignment="Top" FontSize="15" Width="113" RenderTransformOrigin="0.561,0.175"/>
|
||||||
<CheckBox x:Name="NotifBox" Content="Join Alerts" HorizontalAlignment="Left" Margin="64,84,0,0" VerticalAlignment="Top" Checked="NotifBox_Checked" Unchecked="NotifBox_Unchecked"/>
|
<Button x:Name="ServerOptionsButton" Style="{DynamicResource ImportantButton}" Content="Start Server" HorizontalAlignment="Left" Margin="286,219,0,0" VerticalAlignment="Top" Width="133" Height="31" RenderTransformOrigin="1.3,0.863" Click="ServerButton_Click"/>
|
||||||
<Button x:Name="serverInfoButton" Content="Server Information" HorizontalAlignment="Left" Margin="8,104,0,0" VerticalAlignment="Top" Width="139" Click="serverInfoButton_Click" Height="20"/>
|
<Label x:Name="serverPortLabel" Content="Host Port:" HorizontalAlignment="Left" Margin="9,40,0,0" VerticalAlignment="Top" Width="68"/>
|
||||||
<Label x:Name="browserNameLabel" Content="Browser Server Name:" HorizontalAlignment="Left" Margin="9,120,0,0" VerticalAlignment="Top"/>
|
<TextBox x:Name="serverPortBox" HorizontalAlignment="Left" Height="20" Margin="90,45,0,0" Text="53640" VerticalAlignment="Top" Width="65" TextChanged="serverPortBox_TextChanged"/>
|
||||||
<TextBox x:Name="browserNameBox" HorizontalAlignment="Left" Height="20" Margin="11,141,0,0" Text="Novetus" VerticalAlignment="Top" Width="135" TextChanged="browserNameBox_TextChanged"/>
|
<Label x:Name="maxPlayersLabel" Content="Max Players:" HorizontalAlignment="Left" Margin="7,63,0,0" VerticalAlignment="Top" Width="86"/>
|
||||||
<Label x:Name="browserAddressLabel" Content="Browser Master Server:" HorizontalAlignment="Left" Margin="6,155,0,0" VerticalAlignment="Top"/>
|
<TextBox x:Name="maxPlayersBox" HorizontalAlignment="Left" Height="20" Margin="90,68,0,0" Text="12" VerticalAlignment="Top" Width="66" TextChanged="maxPlayersBox_TextChanged"/>
|
||||||
<TextBox x:Name="browserAddressBox" HorizontalAlignment="Left" Height="20" Margin="11,176,0,0" Text="localhost" VerticalAlignment="Top" Width="135" TextChanged="browserAddressBox_TextChanged" PreviewMouseUp="browserAddressBox_Mouse"/>
|
<CheckBox x:Name="uPnPBox" Content="uPnP" HorizontalAlignment="Left" Margin="16,93,0,0" VerticalAlignment="Top" Checked="uPnPBox_Checked" Unchecked="uPnPBox_Unchecked" Click="uPnPBox_Click"/>
|
||||||
<Button x:Name="ServerButton" Style="{DynamicResource ImportantButton}" Content="Start Server!" HorizontalAlignment="Left" Margin="10,202,0,0" VerticalAlignment="Top" Width="136" Height="34" Click="ServerButton_Click"/>
|
<CheckBox x:Name="NotifBox" Content="Join Alerts" HorizontalAlignment="Left" Margin="16,114,0,0" VerticalAlignment="Top" Checked="NotifBox_Checked" Unchecked="NotifBox_Unchecked"/>
|
||||||
</Grid>
|
<Label x:Name="browserNameLabel" Content="Browser Server Name:" HorizontalAlignment="Left" Margin="14,126,0,0" VerticalAlignment="Top"/>
|
||||||
</GroupBox>
|
<TextBox x:Name="browserNameBox" HorizontalAlignment="Left" Height="20" Margin="16,146,0,0" Text="Novetus" VerticalAlignment="Top" Width="134" TextChanged="browserNameBox_TextChanged"/>
|
||||||
|
<Label x:Name="browserAddressLabel" Content="Browser Master Server:" HorizontalAlignment="Left" Margin="11,166,0,0" VerticalAlignment="Top"/>
|
||||||
|
<TextBox x:Name="browserAddressBox" HorizontalAlignment="Left" Height="20" Margin="16,187,0,0" Text="localhost" VerticalAlignment="Top" Width="135" TextChanged="browserAddressBox_TextChanged" PreviewMouseUp="browserAddressBox_Mouse"/>
|
||||||
|
<Rectangle x:Name="serverInfoGroupBox" Fill="#FFDEDCDC" HorizontalAlignment="Left" Height="203" Margin="165,11,0,0" Stroke="Black" VerticalAlignment="Top" Width="508"/>
|
||||||
|
<TextBox x:Name="serverInfoBox" HorizontalAlignment="Left" Margin="172,45,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="491" Height="162" Grid.ColumnSpan="2" HorizontalContentAlignment="Left" VerticalContentAlignment="Top"/>
|
||||||
|
<Rectangle x:Name="serverInfoLabelBox" Fill="#FFAAA8A8" HorizontalAlignment="Left" Height="30" Margin="165,10,0,0" Stroke="Black" VerticalAlignment="Top" Width="508" Grid.ColumnSpan="2"/>
|
||||||
|
<Label x:Name="serverInfoLabel" Content="Server Info" HorizontalAlignment="Left" Margin="360,8,0,0" VerticalAlignment="Top" FontSize="15" Width="114" RenderTransformOrigin="0.561,0.175"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem x:Name="clientTab" Header="VERSIONS" Style="{DynamicResource TabItemStyleSeperatorsInbetween}" BorderBrush="{x:Null}" Background="#FFEDEDED" Foreground="White" IsSelected="True">
|
<TabItem x:Name="clientTab" Header="VERSIONS" Style="{DynamicResource TabItemStyleSeperatorsInbetween}" BorderBrush="{x:Null}" Background="#FFEDEDED" Foreground="White" IsSelected="True">
|
||||||
|
@ -17,7 +17,6 @@ namespace NovetusLauncher
|
|||||||
public LauncherFormShared launcherForm;
|
public LauncherFormShared launcherForm;
|
||||||
private System.Windows.Forms.TreeView _fieldsTreeCache;
|
private System.Windows.Forms.TreeView _fieldsTreeCache;
|
||||||
public LauncherFormStylish FormParent;
|
public LauncherFormStylish FormParent;
|
||||||
private bool hostPanelOpen;
|
|
||||||
public bool HideMasterAddressWarning;
|
public bool HideMasterAddressWarning;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@ -37,8 +36,6 @@ namespace NovetusLauncher
|
|||||||
launcherForm.FormStyle = Settings.Style.Stylish;
|
launcherForm.FormStyle = Settings.Style.Stylish;
|
||||||
launcherForm.Tree = mapsBox;
|
launcherForm.Tree = mapsBox;
|
||||||
launcherForm._TreeCache = _fieldsTreeCache;
|
launcherForm._TreeCache = _fieldsTreeCache;
|
||||||
|
|
||||||
hostPanelOpen = true;
|
|
||||||
HideMasterAddressWarning = false;
|
HideMasterAddressWarning = false;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@ -54,15 +51,20 @@ namespace NovetusLauncher
|
|||||||
{
|
{
|
||||||
if (playTab != null && playTab.IsSelected)
|
if (playTab != null && playTab.IsSelected)
|
||||||
{
|
{
|
||||||
|
mapsBox.Nodes.Clear();
|
||||||
|
_fieldsTreeCache.Nodes.Clear();
|
||||||
|
mapsDescBox.Text = "";
|
||||||
|
|
||||||
launcherForm.RefreshMaps();
|
launcherForm.RefreshMaps();
|
||||||
LoadMapDesc();
|
LoadMapDesc();
|
||||||
clientListBox.Items.Clear();
|
|
||||||
clientWarningBox.Text = "";
|
|
||||||
clientDescBox.Text = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clientTab != null && clientTab.IsSelected)
|
if (clientTab != null && clientTab.IsSelected)
|
||||||
{
|
{
|
||||||
|
clientListBox.Items.Clear();
|
||||||
|
clientWarningBox.Text = "";
|
||||||
|
clientDescBox.Text = "";
|
||||||
|
|
||||||
string clientdir = GlobalPaths.ClientDir;
|
string clientdir = GlobalPaths.ClientDir;
|
||||||
DirectoryInfo dinfo = new DirectoryInfo(clientdir);
|
DirectoryInfo dinfo = new DirectoryInfo(clientdir);
|
||||||
DirectoryInfo[] Dirs = dinfo.GetDirectories();
|
DirectoryInfo[] Dirs = dinfo.GetDirectories();
|
||||||
@ -79,20 +81,24 @@ namespace NovetusLauncher
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mapsBox.Nodes.Clear();
|
|
||||||
_fieldsTreeCache.Nodes.Clear();
|
|
||||||
mapsDescBox.Text = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!playTab.IsSelected && !clientTab.IsSelected)
|
if (serverTab != null && serverTab.IsSelected)
|
||||||
{
|
{
|
||||||
mapsBox.Nodes.Clear();
|
serverInfoBox.Text = "";
|
||||||
_fieldsTreeCache.Nodes.Clear();
|
|
||||||
mapsDescBox.Text = "";
|
string[] text = NovetusFuncs.LoadServerInformation();
|
||||||
clientListBox.Items.Clear();
|
foreach (string str in text)
|
||||||
clientWarningBox.Text = "";
|
{
|
||||||
clientDescBox.Text = "";
|
if (!string.IsNullOrWhiteSpace(str))
|
||||||
|
{
|
||||||
|
serverInfoBox.AppendText(str + Environment.NewLine);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
serverInfoBox.Select(0, 0);
|
||||||
|
serverInfoBox.ScrollToLine(serverInfoBox.GetLineIndexFromCharacterIndex(serverInfoBox.SelectionStart));
|
||||||
|
serverInfoBox.Focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -239,12 +245,6 @@ namespace NovetusLauncher
|
|||||||
launcherForm.StartGame(ScriptType.Server);
|
launcherForm.StartGame(ScriptType.Server);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void serverInfoButton_Click(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
LauncherFormStylishServerInfo info = new LauncherFormStylishServerInfo();
|
|
||||||
info.Show();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void regenerateIDButton_Click(object sender, RoutedEventArgs e)
|
private void regenerateIDButton_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
NovetusFuncs.GeneratePlayerID();
|
NovetusFuncs.GeneratePlayerID();
|
||||||
@ -518,11 +518,6 @@ namespace NovetusLauncher
|
|||||||
"Please note that some routers may not support UPnP, and some ISPs will block the UPnP protocol.\nThis may not work for all users.");
|
"Please note that some routers may not support UPnP, and some ISPs will block the UPnP protocol.\nThis may not work for all users.");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void serverOptionsButton_Click(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
ToggleServerOptions();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void browserAddressBox_Mouse(object sender, MouseButtonEventArgs e)
|
private void browserAddressBox_Mouse(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
if (!IsLoaded)
|
if (!IsLoaded)
|
||||||
@ -565,48 +560,6 @@ namespace NovetusLauncher
|
|||||||
mapsDescBox.Text = mapsBox.SelectedNode.Text;
|
mapsDescBox.Text = mapsBox.SelectedNode.Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ToggleServerOptions()
|
|
||||||
{
|
|
||||||
browserAddressBox.Text = GlobalVars.UserConfiguration.ServerBrowserServerAddress;
|
|
||||||
|
|
||||||
if (!hostPanelOpen)
|
|
||||||
{
|
|
||||||
hostBox.Visibility = Visibility.Visible;
|
|
||||||
mapsLabelBox.Width = 352;
|
|
||||||
mapsLabelBox.Margin = new Thickness(95, 10, 0, 0);
|
|
||||||
mapsGroupBox.Width = 352;
|
|
||||||
mapsGroupBox.Margin = new Thickness(95, 10, 0, 0);
|
|
||||||
formHost.Width = 190;
|
|
||||||
formHost.Margin = new Thickness(103.166, 64, 154, 76);
|
|
||||||
searchBox.Width = 207;
|
|
||||||
searchBox.Margin = new Thickness(103.166, 42, 0, 0);
|
|
||||||
mapsLabel.Margin = new Thickness(253.166, 9, 0, 0);
|
|
||||||
joinButton.Margin = new Thickness(122, 191, 0, 0);
|
|
||||||
serverBrowserButton.Margin = new Thickness(100, 225, 0, 0);
|
|
||||||
playSoloButton.Margin = new Thickness(218, 191, 0, 0);
|
|
||||||
|
|
||||||
hostPanelOpen = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
hostBox.Visibility = Visibility.Hidden;
|
|
||||||
mapsLabelBox.Width = 509;
|
|
||||||
mapsLabelBox.Margin = new Thickness(-62, 10, 0, 0);
|
|
||||||
mapsGroupBox.Width = 509;
|
|
||||||
mapsGroupBox.Margin = new Thickness(-62, 10, 0, 0);
|
|
||||||
formHost.Width = 348;
|
|
||||||
formHost.Margin = new Thickness(-55, 64, 154, 76);
|
|
||||||
searchBox.Width = 365;
|
|
||||||
searchBox.Margin = new Thickness(-55, 42, 0, 0);
|
|
||||||
mapsLabel.Margin = new Thickness(155, 9, 0, 0);
|
|
||||||
joinButton.Margin = new Thickness(32, 191, 0, 0);
|
|
||||||
serverBrowserButton.Margin = new Thickness(10, 225, 0, 0);
|
|
||||||
playSoloButton.Margin = new Thickness(128, 191, 0, 0);
|
|
||||||
|
|
||||||
hostPanelOpen = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
|
|
||||||
namespace NovetusLauncher
|
|
||||||
{
|
|
||||||
partial class LauncherFormStylishServerInfo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormStylishServerInfo));
|
|
||||||
this.ServerInfo = new System.Windows.Forms.TextBox();
|
|
||||||
this.SuspendLayout();
|
|
||||||
//
|
|
||||||
// ServerInfo
|
|
||||||
//
|
|
||||||
this.ServerInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.ServerInfo.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
|
||||||
this.ServerInfo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
||||||
this.ServerInfo.Location = new System.Drawing.Point(12, 12);
|
|
||||||
this.ServerInfo.Multiline = true;
|
|
||||||
this.ServerInfo.Name = "ServerInfo";
|
|
||||||
this.ServerInfo.ReadOnly = true;
|
|
||||||
this.ServerInfo.Size = new System.Drawing.Size(776, 426);
|
|
||||||
this.ServerInfo.TabIndex = 0;
|
|
||||||
//
|
|
||||||
// LauncherFormStylishServerInfo
|
|
||||||
//
|
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(152)))), ((int)(((byte)(200)))));
|
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
||||||
this.Controls.Add(this.ServerInfo);
|
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
||||||
this.MinimumSize = new System.Drawing.Size(540, 198);
|
|
||||||
this.Name = "LauncherFormStylishServerInfo";
|
|
||||||
this.Text = "Server Information";
|
|
||||||
this.Load += new System.EventHandler(this.LauncherFormStylishServerInfo_Load);
|
|
||||||
this.ResumeLayout(false);
|
|
||||||
this.PerformLayout();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private System.Windows.Forms.TextBox ServerInfo;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#region Usings
|
|
||||||
using System;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
namespace NovetusLauncher
|
|
||||||
{
|
|
||||||
#region LauncherForm - Stylish - ServerInfo
|
|
||||||
public partial class LauncherFormStylishServerInfo : Form
|
|
||||||
{
|
|
||||||
#region Constructor
|
|
||||||
public LauncherFormStylishServerInfo()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Form Events
|
|
||||||
private void LauncherFormStylishServerInfo_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
LauncherFormShared.LoadServerInformation(ServerInfo);
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -201,12 +201,6 @@
|
|||||||
<Compile Include="Forms\LauncherForm\Stylish\LauncherFormStylishInterface.xaml.cs">
|
<Compile Include="Forms\LauncherForm\Stylish\LauncherFormStylishInterface.xaml.cs">
|
||||||
<DependentUpon>LauncherFormStylishInterface.xaml</DependentUpon>
|
<DependentUpon>LauncherFormStylishInterface.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Forms\LauncherForm\Stylish\LauncherFormStylishServerInfo.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Forms\LauncherForm\Stylish\LauncherFormStylishServerInfo.Designer.cs">
|
|
||||||
<DependentUpon>LauncherFormStylishServerInfo.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Forms\SDK\ModCreator.cs">
|
<Compile Include="Forms\SDK\ModCreator.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -332,9 +326,6 @@
|
|||||||
<EmbeddedResource Include="Forms\LauncherForm\Stylish\LauncherFormStylish.resx">
|
<EmbeddedResource Include="Forms\LauncherForm\Stylish\LauncherFormStylish.resx">
|
||||||
<DependentUpon>LauncherFormStylish.cs</DependentUpon>
|
<DependentUpon>LauncherFormStylish.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Forms\LauncherForm\Stylish\LauncherFormStylishServerInfo.resx">
|
|
||||||
<DependentUpon>LauncherFormStylishServerInfo.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Forms\SDK\ModCreator.resx">
|
<EmbeddedResource Include="Forms\SDK\ModCreator.resx">
|
||||||
<DependentUpon>ModCreator.cs</DependentUpon>
|
<DependentUpon>ModCreator.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
Loading…
Reference in New Issue
Block a user