mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Main Window Changes
- added discord button - reorganised the buttons
This commit is contained in:
parent
738332dca2
commit
a2d5c92c00
22 changed files with 202 additions and 79 deletions
|
|
@ -376,6 +376,7 @@
|
||||||
<Resource Include="Art\Collapse.ico" />
|
<Resource Include="Art\Collapse.ico" />
|
||||||
<Resource Include="Art\Expand.ico" />
|
<Resource Include="Art\Expand.ico" />
|
||||||
<Resource Include="Art\Restart.ico" />
|
<Resource Include="Art\Restart.ico" />
|
||||||
|
<Resource Include="Art\Discord.ico" />
|
||||||
<Content Include="GameData\Genesis2.gamedata">
|
<Content Include="GameData\Genesis2.gamedata">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
|
||||||
|
|
@ -359,6 +359,9 @@
|
||||||
<setting name="SaveGamesRelativePath" serializeAs="String">
|
<setting name="SaveGamesRelativePath" serializeAs="String">
|
||||||
<value>SaveGames</value>
|
<value>SaveGames</value>
|
||||||
</setting>
|
</setting>
|
||||||
|
<setting name="DiscordUrl" serializeAs="String">
|
||||||
|
<value>https://discord.gg/cJdHJSG</value>
|
||||||
|
</setting>
|
||||||
</ServerManagerTool.Config>
|
</ServerManagerTool.Config>
|
||||||
<ServerManagerTool.Common.CommonConfig>
|
<ServerManagerTool.Common.CommonConfig>
|
||||||
<setting name="DefaultSteamAPIKey" serializeAs="String">
|
<setting name="DefaultSteamAPIKey" serializeAs="String">
|
||||||
|
|
|
||||||
BIN
src/ARKServerManager/Art/Discord.ico
Normal file
BIN
src/ARKServerManager/Art/Discord.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
9
src/ARKServerManager/Config.Designer.cs
generated
9
src/ARKServerManager/Config.Designer.cs
generated
|
|
@ -3243,5 +3243,14 @@ namespace ServerManagerTool {
|
||||||
this["AutoStart_TaskPriority"] = value;
|
this["AutoStart_TaskPriority"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("https://discord.gg/cJdHJSG")]
|
||||||
|
public string DiscordUrl {
|
||||||
|
get {
|
||||||
|
return ((string)(this["DiscordUrl"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -890,5 +890,8 @@
|
||||||
<Setting Name="AutoStart_TaskPriority" Type="System.Diagnostics.ProcessPriorityClass" Scope="User">
|
<Setting Name="AutoStart_TaskPriority" Type="System.Diagnostics.ProcessPriorityClass" Scope="User">
|
||||||
<Value Profile="(Default)">Normal</Value>
|
<Value Profile="(Default)">Normal</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
<Setting Name="DiscordUrl" Type="System.String" Scope="Application">
|
||||||
|
<Value Profile="(Default)">https://discord.gg/cJdHJSG</Value>
|
||||||
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
|
|
@ -854,6 +854,7 @@
|
||||||
<sys:String x:Key="MainWindow_OpenPluginsTooltip">Open Plugins</sys:String>
|
<sys:String x:Key="MainWindow_OpenPluginsTooltip">Open Plugins</sys:String>
|
||||||
<sys:String x:Key="MainWindow_OpenHelpTooltip">Open Help</sys:String>
|
<sys:String x:Key="MainWindow_OpenHelpTooltip">Open Help</sys:String>
|
||||||
<sys:String x:Key="MainWindow_OpenServerMonitorTooltip">Open Server Monitor</sys:String>
|
<sys:String x:Key="MainWindow_OpenServerMonitorTooltip">Open Server Monitor</sys:String>
|
||||||
|
<sys:String x:Key="MainWindow_JoinDiscordTooltip">Join the Discord Server</sys:String>
|
||||||
<sys:String x:Key="MainWindow_UpdateToLabelFormat">Upgrade to {0} now!</sys:String>
|
<sys:String x:Key="MainWindow_UpdateToLabelFormat">Upgrade to {0} now!</sys:String>
|
||||||
<sys:String x:Key="MainWindow_TaskStatusLabel">Task Status</sys:String>
|
<sys:String x:Key="MainWindow_TaskStatusLabel">Task Status</sys:String>
|
||||||
<sys:String x:Key="MainWindow_TaskAdminErrorTitle">Requires Administration Permissions</sys:String>
|
<sys:String x:Key="MainWindow_TaskAdminErrorTitle">Requires Administration Permissions</sys:String>
|
||||||
|
|
|
||||||
|
|
@ -130,8 +130,10 @@
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="ButtonStyle4" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
<Style x:Key="ButtonStyle4" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
||||||
|
<Setter Property="Background" Value="#00ffffff"/>
|
||||||
<Setter Property="BorderThickness" Value="0"/>
|
<Setter Property="BorderThickness" Value="0"/>
|
||||||
<Setter Property="Height" Value="22"/>
|
<Setter Property="Height" Value="50"/>
|
||||||
|
<Setter Property="Height" Value="50"/>
|
||||||
<Setter Property="Margin" Value="2"/>
|
<Setter Property="Margin" Value="2"/>
|
||||||
<Setter Property="Padding" Value="0"/>
|
<Setter Property="Padding" Value="0"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
@ -572,8 +574,8 @@
|
||||||
|
|
||||||
<ContentControl x:Key="ServerMonitorButtonContent">
|
<ContentControl x:Key="ServerMonitorButtonContent">
|
||||||
<StackPanel Orientation="Horizontal" Height="20" Margin="0,0,5,0">
|
<StackPanel Orientation="Horizontal" Height="20" Margin="0,0,5,0">
|
||||||
<Image Margin="5,1,5,0" Source="{com:Icon Path=/Ark Server Manager;component/Art/Servers.ico,Size=32}" Width="16" VerticalAlignment="Center"/>
|
<Image Margin="5,1,5,0" Source="{com:Icon Path=/Ark Server Manager;component/Art/Servers.ico,Size=64}" Width="20" VerticalAlignment="Center"/>
|
||||||
<Label Content="{DynamicResource ServerMonitor_Title}" VerticalAlignment="Center" Padding="0"/>
|
<Label Content="{DynamicResource ServerMonitor_Title}" VerticalAlignment="Center" Padding="0" FontWeight="Bold"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ContentControl>
|
</ContentControl>
|
||||||
<ContentControl x:Key="SettingFindButtonContent">
|
<ContentControl x:Key="SettingFindButtonContent">
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@
|
||||||
<br/>
|
<br/>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.</li>
|
<li>Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.</li>
|
||||||
|
<li>Main Window - added discord server button.</li>
|
||||||
|
<li>Main Window - re-organised the buttons.</li>
|
||||||
<li>pt-BR Translation file updated.</li>
|
<li>pt-BR Translation file updated.</li>
|
||||||
<li>zh-CN Translation file updated.</li>
|
<li>zh-CN Translation file updated.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,30 @@
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2022-06-18T00:00:00Z</updated>
|
<updated>2022-06-18T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807</id>
|
||||||
|
<title>1.1.433 (1.1.433.4)</title>
|
||||||
|
<summary>1.1.433.4</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2022-06-18T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">CHANGE</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Main Window - added discord server button.</li>
|
||||||
|
<li>Main Window - re-organised the buttons.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807</id>
|
<id>urn:uuid:1AE0925B-64EB-4177-B834-7A75FA46E807</id>
|
||||||
<title>1.1.433 (1.1.433.3)</title>
|
<title>1.1.433 (1.1.433.3)</title>
|
||||||
|
|
|
||||||
|
|
@ -103,17 +103,19 @@
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Help.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Help.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="6" Margin="5,0,0,0" Height="26" HorizontalAlignment="Right" Click="ServerMonitor_Click" Content="{StaticResource ServerMonitorButtonContent}" ToolTip="{DynamicResource MainWindow_OpenServerMonitorTooltip}"/>
|
<Button Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="2" Margin="5,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Click="Discord_Click" ToolTip="{DynamicResource MainWindow_JoinDiscordTooltip}" Style="{StaticResource ButtonStyle4}">
|
||||||
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Discord.ico,Size=64}"/>
|
||||||
<Button Grid.Row="2" Grid.Column="0" Margin="5,0,0,0" HorizontalAlignment="Right" Click="GameData_Click" ToolTip="{DynamicResource MainWindow_OpenGameDataTooltip}" Style="{StaticResource ButtonStyle1}">
|
</Button>
|
||||||
|
<Button Grid.Row="1" Grid.Column="3" Margin="5,0,0,0" HorizontalAlignment="Right" Click="GameData_Click" ToolTip="{DynamicResource MainWindow_OpenGameDataTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Document.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Document.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="1" Margin="5,0,0,0" HorizontalAlignment="Right" Click="Plugins_Click" ToolTip="{DynamicResource MainWindow_OpenPluginsTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="1" Grid.Column="4" Margin="5,0,0,0" HorizontalAlignment="Right" Click="Plugins_Click" ToolTip="{DynamicResource MainWindow_OpenPluginsTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Plugin.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Plugin.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="2" Margin="5,0,0,0" HorizontalAlignment="Right" Click="OpenLogFolder_Click" ToolTip="{DynamicResource MainWindow_OpenLogFolderTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="1" Grid.Column="5" Margin="5,0,0,0" HorizontalAlignment="Right" Click="OpenLogFolder_Click" ToolTip="{DynamicResource MainWindow_OpenLogFolderTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Logs.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Logs.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button Grid.Row="2" Grid.Column="3" Margin="5,0,0,0" HorizontalAlignment="Right" Click="RCON_Click" ToolTip="{DynamicResource MainWindow_OpenRCONTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="2" Grid.Column="3" Margin="5,0,0,0" HorizontalAlignment="Right" Click="RCON_Click" ToolTip="{DynamicResource MainWindow_OpenRCONTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Command.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Command.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -318,35 +320,42 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid DockPanel.Dock="Top" VerticalAlignment="Top" Margin="10,0,10,0" HorizontalAlignment="Center">
|
<Grid DockPanel.Dock="Top" VerticalAlignment="Top" Margin="10,0,10,0" HorizontalAlignment="Center" Height="88" Width="180">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Label Grid.Row="0" Margin="0,-2,0,-3" Background="Transparent" Foreground="White" FontWeight="Bold" FontSize="11" Content="{DynamicResource MainWindow_MyIpLabel}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
<Grid.ColumnDefinitions>
|
||||||
<StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="5,0,0,0">
|
<ColumnDefinition Width="*"/>
|
||||||
<TextBox FontSize="12" Height="22" Width="120" VerticalAlignment="Bottom" Margin="0" VerticalContentAlignment="Center" ToolTip="{DynamicResource MainWindow_MyIpTooltip}">
|
<ColumnDefinition Width="Auto"/>
|
||||||
<Validation.ErrorTemplate>
|
</Grid.ColumnDefinitions>
|
||||||
<ControlTemplate>
|
|
||||||
<StackPanel>
|
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,-2,0,-3" Background="Transparent" Foreground="White" FontWeight="Bold" FontSize="11" Content="{DynamicResource MainWindow_MyIpLabel}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
<!-- Placeholder for the TextBox itself -->
|
|
||||||
<AdornedElementPlaceholder x:Name="textBox"/>
|
<TextBox Grid.Row="1" Grid.Column="0" Margin="0" FontSize="12" VerticalAlignment="Bottom" VerticalContentAlignment="Center" ToolTip="{DynamicResource MainWindow_MyIpTooltip}">
|
||||||
<TextBlock Text="{DynamicResource MainWindow_MyIpError}" Background="Red" Foreground="White"/>
|
<Validation.ErrorTemplate>
|
||||||
</StackPanel>
|
<ControlTemplate>
|
||||||
</ControlTemplate>
|
<StackPanel>
|
||||||
</Validation.ErrorTemplate>
|
<!-- Placeholder for the TextBox itself -->
|
||||||
<TextBox.Text>
|
<AdornedElementPlaceholder x:Name="textBox"/>
|
||||||
<Binding Path="Config.MachinePublicIP" ElementName="Main">
|
<TextBlock Text="{DynamicResource MainWindow_MyIpError}" Background="Red" Foreground="White"/>
|
||||||
<Binding.ValidationRules>
|
</StackPanel>
|
||||||
<cvr:IpValidationRule ValidatesOnTargetUpdated="true" />
|
</ControlTemplate>
|
||||||
</Binding.ValidationRules>
|
</Validation.ErrorTemplate>
|
||||||
</Binding>
|
<TextBox.Text>
|
||||||
</TextBox.Text>
|
<Binding Path="Config.MachinePublicIP" ElementName="Main">
|
||||||
</TextBox>
|
<Binding.ValidationRules>
|
||||||
<Button Grid.Row="1" Margin="5,0,0,0" VerticalAlignment="Center" Click="RefreshPublicIP_Click" ToolTip="{DynamicResource MainWindow_RefreshMyIpTooltip}" Style="{StaticResource ButtonStyle2}">
|
<cvr:IpValidationRule ValidatesOnTargetUpdated="true" />
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
|
</Binding.ValidationRules>
|
||||||
</Button>
|
</Binding>
|
||||||
</StackPanel>
|
</TextBox.Text>
|
||||||
|
</TextBox>
|
||||||
|
<Button Grid.Row="1" Grid.Column="1" Margin="2,0,0,0" HorizontalAlignment="Right" VerticalAlignment="Center" Click="RefreshPublicIP_Click" ToolTip="{DynamicResource MainWindow_RefreshMyIpTooltip}" Style="{StaticResource ButtonStyle2}">
|
||||||
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,0,0,2" Height="26" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Click="ServerMonitor_Click" Content="{StaticResource ServerMonitorButtonContent}" ToolTip="{DynamicResource MainWindow_OpenServerMonitorTooltip}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
|
||||||
|
|
@ -354,7 +363,7 @@
|
||||||
<eo:TabControl.HeaderTemplate>
|
<eo:TabControl.HeaderTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel Orientation="Horizontal" Height="20">
|
<StackPanel Orientation="Horizontal" Height="20">
|
||||||
<Button Margin="0" Command="{Binding StatusButtonCommand, ElementName=Main}" CommandParameter="{Binding}">
|
<Button Margin="-5,0,0,0" Command="{Binding StatusButtonCommand, ElementName=Main}" CommandParameter="{Binding}">
|
||||||
<Button.Style>
|
<Button.Style>
|
||||||
<Style BasedOn="{StaticResource ButtonStyle5}" TargetType="{x:Type Button}">
|
<Style BasedOn="{StaticResource ButtonStyle5}" TargetType="{x:Type Button}">
|
||||||
<Style.Triggers>
|
<Style.Triggers>
|
||||||
|
|
@ -456,7 +465,7 @@
|
||||||
</Image.Style>
|
</Image.Style>
|
||||||
</Image>
|
</Image>
|
||||||
</Button>
|
</Button>
|
||||||
<TextBlock Margin="0" VerticalAlignment="Center" Text="{Binding Profile.ProfileName}">
|
<TextBlock Margin="2,0,0,0" VerticalAlignment="Center" Text="{Binding Profile.ProfileName}">
|
||||||
<TextBlock.Style>
|
<TextBlock.Style>
|
||||||
<Style TargetType="{x:Type TextBlock}">
|
<Style TargetType="{x:Type TextBlock}">
|
||||||
<Setter Property="Foreground" Value="Black"/>
|
<Setter Property="Foreground" Value="Black"/>
|
||||||
|
|
@ -502,7 +511,7 @@
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Image Margin="2" VerticalAlignment="Center" Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}" Width="10" Height="10" ToolTip="{DynamicResource MainWindow_CloseProfileTooltip}"/>
|
<Image Margin="10,2,0,0" VerticalAlignment="Top" Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}" Width="8" Height="8" ToolTip="{DynamicResource MainWindow_CloseProfileTooltip}"/>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
|
|
||||||
|
|
@ -513,6 +513,14 @@ namespace ServerManagerTool
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Discord_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(Config.Default.DiscordUrl))
|
||||||
|
return;
|
||||||
|
|
||||||
|
Process.Start(Config.Default.DiscordUrl);
|
||||||
|
}
|
||||||
|
|
||||||
public void Servers_AddNew(object sender, NewItemRequestedEventArgs e)
|
public void Servers_AddNew(object sender, NewItemRequestedEventArgs e)
|
||||||
{
|
{
|
||||||
var index = this.ServerManager.AddNew();
|
var index = this.ServerManager.AddNew();
|
||||||
|
|
|
||||||
|
|
@ -275,6 +275,9 @@
|
||||||
<setting name="SaveGamesRelativePath" serializeAs="String">
|
<setting name="SaveGamesRelativePath" serializeAs="String">
|
||||||
<value>SaveGames</value>
|
<value>SaveGames</value>
|
||||||
</setting>
|
</setting>
|
||||||
|
<setting name="DiscordUrl" serializeAs="String">
|
||||||
|
<value>https://discord.gg/cJdHJSG</value>
|
||||||
|
</setting>
|
||||||
</ServerManagerTool.Config>
|
</ServerManagerTool.Config>
|
||||||
<ServerManagerTool.Common.CommonConfig>
|
<ServerManagerTool.Common.CommonConfig>
|
||||||
<setting name="DefaultSteamAPIKey" serializeAs="String">
|
<setting name="DefaultSteamAPIKey" serializeAs="String">
|
||||||
|
|
|
||||||
BIN
src/ConanServerManager/Art/Discord.ico
Normal file
BIN
src/ConanServerManager/Art/Discord.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
|
|
@ -304,6 +304,7 @@
|
||||||
<Resource Include="Art\Filter.ico" />
|
<Resource Include="Art\Filter.ico" />
|
||||||
<Resource Include="Art\DropArrow.ico" />
|
<Resource Include="Art\DropArrow.ico" />
|
||||||
<Resource Include="Art\Restart.ico" />
|
<Resource Include="Art\Restart.ico" />
|
||||||
|
<Resource Include="Art\Discord.ico" />
|
||||||
<Content Include="Globalization\en-US\en-US.xaml">
|
<Content Include="Globalization\en-US\en-US.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
|
|
||||||
9
src/ConanServerManager/Config.Designer.cs
generated
9
src/ConanServerManager/Config.Designer.cs
generated
|
|
@ -2426,5 +2426,14 @@ namespace ServerManagerTool {
|
||||||
this["AutoStart_TaskPriority"] = value;
|
this["AutoStart_TaskPriority"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("https://discord.gg/cJdHJSG")]
|
||||||
|
public string DiscordUrl {
|
||||||
|
get {
|
||||||
|
return ((string)(this["DiscordUrl"]));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -665,5 +665,8 @@
|
||||||
<Setting Name="AutoStart_TaskPriority" Type="System.Diagnostics.ProcessPriorityClass" Scope="User">
|
<Setting Name="AutoStart_TaskPriority" Type="System.Diagnostics.ProcessPriorityClass" Scope="User">
|
||||||
<Value Profile="(Default)">Normal</Value>
|
<Value Profile="(Default)">Normal</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
<Setting Name="DiscordUrl" Type="System.String" Scope="Application">
|
||||||
|
<Value Profile="(Default)">https://discord.gg/cJdHJSG</Value>
|
||||||
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
|
|
@ -646,6 +646,7 @@
|
||||||
<sys:String x:Key="MainWindow_OpenPluginsTooltip">Open Plugins</sys:String>
|
<sys:String x:Key="MainWindow_OpenPluginsTooltip">Open Plugins</sys:String>
|
||||||
<sys:String x:Key="MainWindow_OpenHelpTooltip">Open Help</sys:String>
|
<sys:String x:Key="MainWindow_OpenHelpTooltip">Open Help</sys:String>
|
||||||
<sys:String x:Key="MainWindow_OpenServerMonitorTooltip">Open Server Monitor</sys:String>
|
<sys:String x:Key="MainWindow_OpenServerMonitorTooltip">Open Server Monitor</sys:String>
|
||||||
|
<sys:String x:Key="MainWindow_JoinDiscordTooltip">Join the Discord Server</sys:String>
|
||||||
<sys:String x:Key="MainWindow_UpdateToLabelFormat">Upgrade to {0} now!</sys:String>
|
<sys:String x:Key="MainWindow_UpdateToLabelFormat">Upgrade to {0} now!</sys:String>
|
||||||
<sys:String x:Key="MainWindow_TaskStatusLabel">Task Status</sys:String>
|
<sys:String x:Key="MainWindow_TaskStatusLabel">Task Status</sys:String>
|
||||||
<sys:String x:Key="MainWindow_TaskAdminErrorTitle">Requires Administration Permissions</sys:String>
|
<sys:String x:Key="MainWindow_TaskAdminErrorTitle">Requires Administration Permissions</sys:String>
|
||||||
|
|
|
||||||
|
|
@ -119,8 +119,10 @@
|
||||||
<Setter Property="Padding" Value="0"/>
|
<Setter Property="Padding" Value="0"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style x:Key="ButtonStyle4" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
<Style x:Key="ButtonStyle4" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
||||||
|
<Setter Property="Background" Value="#00ffffff"/>
|
||||||
<Setter Property="BorderThickness" Value="0"/>
|
<Setter Property="BorderThickness" Value="0"/>
|
||||||
<Setter Property="Height" Value="22"/>
|
<Setter Property="Width" Value="50"/>
|
||||||
|
<Setter Property="Height" Value="50"/>
|
||||||
<Setter Property="Margin" Value="2"/>
|
<Setter Property="Margin" Value="2"/>
|
||||||
<Setter Property="Padding" Value="0"/>
|
<Setter Property="Padding" Value="0"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
@ -515,8 +517,8 @@
|
||||||
|
|
||||||
<ContentControl x:Key="ServerMonitorButtonContent">
|
<ContentControl x:Key="ServerMonitorButtonContent">
|
||||||
<StackPanel Orientation="Horizontal" Height="20" Margin="0,0,5,0">
|
<StackPanel Orientation="Horizontal" Height="20" Margin="0,0,5,0">
|
||||||
<Image Margin="5,1,5,0" Source="{com:Icon Path=/ConanServerManager;component/Art/Servers.ico,Size=32}" Width="16" VerticalAlignment="Center"/>
|
<Image Margin="5,1,5,0" Source="{com:Icon Path=/ConanServerManager;component/Art/Servers.ico,Size=64}" Width="20" VerticalAlignment="Center"/>
|
||||||
<Label Content="{DynamicResource ServerMonitor_Title}" VerticalAlignment="Center" Padding="0"/>
|
<Label Content="{DynamicResource ServerMonitor_Title}" VerticalAlignment="Center" Padding="0" FontWeight="Bold"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ContentControl>
|
</ContentControl>
|
||||||
<ContentControl x:Key="SupportZipButtonContent">
|
<ContentControl x:Key="SupportZipButtonContent">
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,8 @@
|
||||||
<br/>
|
<br/>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.</li>
|
<li>Gamedata Files - when adding, deleteing or reloading the gamedata files via the gamedata window, the server manager will reload them and update the settings window.</li>
|
||||||
|
<li>Main Window - added discord server button.</li>
|
||||||
|
<li>Main Window - re-organised the buttons.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,31 @@
|
||||||
<title>Conan Server Manager Version Feed</title>
|
<title>Conan Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Conan Server Manager beta version feed.</subtitle>
|
<subtitle>This is the Conan Server Manager beta version feed.</subtitle>
|
||||||
<link href="http://servermanagers.freeforums.net/" />
|
<link href="http://servermanagers.freeforums.net/" />
|
||||||
<updated>2022-06-17T00:00:00Z</updated>
|
<updated>2022-06-18T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:15FEC514-38B7-4367-BE79-1E00983E7EBB</id>
|
||||||
|
<title>1.1.76 (1.1.76.2)</title>
|
||||||
|
<summary>1.1.76.2</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2022-06-18T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">CHANGE</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Main Window - added discord server button.</li>
|
||||||
|
<li>Main Window - re-organised the buttons.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:15FEC514-38B7-4367-BE79-1E00983E7EBB</id>
|
<id>urn:uuid:15FEC514-38B7-4367-BE79-1E00983E7EBB</id>
|
||||||
|
|
|
||||||
|
|
@ -93,30 +93,33 @@
|
||||||
<ColumnDefinition MinWidth="25"/>
|
<ColumnDefinition MinWidth="25"/>
|
||||||
<ColumnDefinition MinWidth="25"/>
|
<ColumnDefinition MinWidth="25"/>
|
||||||
<ColumnDefinition MinWidth="25"/>
|
<ColumnDefinition MinWidth="25"/>
|
||||||
|
<ColumnDefinition MinWidth="25"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<Button Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Margin="5,2,0,0" HorizontalAlignment="Right" Click="Donate_Click" ToolTip="{DynamicResource MainWindow_DonateTooltip}" Style="{StaticResource ButtonStyle3}">
|
<Button Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5" Margin="5,2,0,0" HorizontalAlignment="Right" Click="Donate_Click" ToolTip="{DynamicResource MainWindow_DonateTooltip}" Style="{StaticResource ButtonStyle3}">
|
||||||
<Image Source="../Art/Donate.png"/>
|
<Image Source="../Art/Donate.png"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="0" Grid.Column="4" Margin="5,0,0,0" Click="Help_Click" ToolTip="{DynamicResource MainWindow_OpenHelpTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="0" Grid.Column="5" Margin="5,0,0,0" Click="Help_Click" ToolTip="{DynamicResource MainWindow_OpenHelpTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Help.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Help.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="5" Margin="5,0,0,0" Height="26" HorizontalAlignment="Right" Click="ServerMonitor_Click" Content="{StaticResource ServerMonitorButtonContent}" ToolTip="{DynamicResource MainWindow_OpenServerMonitorTooltip}"/>
|
<Button Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="2" Margin="5,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Click="Discord_Click" ToolTip="{DynamicResource MainWindow_JoinDiscordTooltip}" Style="{StaticResource ButtonStyle4}">
|
||||||
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Discord.ico,Size=64}"/>
|
||||||
<Button Grid.Row="2" Grid.Column="0" Margin="5,0,0,0" HorizontalAlignment="Right" Click="GameData_Click" ToolTip="{DynamicResource MainWindow_OpenGameDataTooltip}" Style="{StaticResource ButtonStyle1}">
|
</Button>
|
||||||
|
<Button Grid.Row="1" Grid.Column="3" Margin="5,0,0,0" HorizontalAlignment="Right" Click="GameData_Click" ToolTip="{DynamicResource MainWindow_OpenGameDataTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Document.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Document.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="1" Margin="5,0,0,0" Click="Plugins_Click" ToolTip="{DynamicResource MainWindow_OpenPluginsTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="1" Grid.Column="4" Margin="5,0,0,0" Click="Plugins_Click" ToolTip="{DynamicResource MainWindow_OpenPluginsTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Plugin.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Plugin.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="2" Margin="5,0,0,0" Click="OpenLogFolder_Click" ToolTip="{DynamicResource MainWindow_OpenLogFolderTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="1" Grid.Column="5" Margin="5,0,0,0" Click="OpenLogFolder_Click" ToolTip="{DynamicResource MainWindow_OpenLogFolderTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Logs.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Logs.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="3" Margin="5,0,0,0" Click="SteamCMD_Click" ToolTip="{DynamicResource MainWindow_SteamCMDTooltip}" Style="{StaticResource ButtonStyle1}">
|
|
||||||
|
<Button Grid.Row="2" Grid.Column="4" Margin="5,0,0,0" Click="SteamCMD_Click" ToolTip="{DynamicResource MainWindow_SteamCMDTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Steam.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Steam.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button Grid.Row="2" Grid.Column="4" Margin="5,0,0,0" Click="Settings_Click" ToolTip="{DynamicResource MainWindow_OpenSettingsTooltip}" Style="{StaticResource ButtonStyle1}">
|
<Button Grid.Row="2" Grid.Column="5" Margin="5,0,0,0" Click="Settings_Click" ToolTip="{DynamicResource MainWindow_OpenSettingsTooltip}" Style="{StaticResource ButtonStyle1}">
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Settings.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Settings.ico,Size=32}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
@ -314,37 +317,42 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid DockPanel.Dock="Top" VerticalAlignment="Top" Margin="10,0,10,0" HorizontalAlignment="Center">
|
<Grid DockPanel.Dock="Top" VerticalAlignment="Top" Margin="10,0,10,0" HorizontalAlignment="Center" Height="88" Width="180">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="*"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
<Label Grid.Row="0" Margin="0,-2,0,-3" Background="Transparent" Foreground="White" FontWeight="Bold" FontSize="11" Content="{DynamicResource MainWindow_MyIpLabel}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
<ColumnDefinition Width="*"/>
|
||||||
<StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="5,0,0,0">
|
<ColumnDefinition Width="Auto"/>
|
||||||
<TextBox FontSize="12" Height="22" Width="120" VerticalAlignment="Bottom" Margin="0" VerticalContentAlignment="Center" ToolTip="{DynamicResource MainWindow_MyIpTooltip}">
|
</Grid.ColumnDefinitions>
|
||||||
<Validation.ErrorTemplate>
|
|
||||||
<ControlTemplate>
|
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,-2,0,-3" Background="Transparent" Foreground="White" FontWeight="Bold" FontSize="11" Content="{DynamicResource MainWindow_MyIpLabel}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
<StackPanel>
|
|
||||||
<!-- Placeholder for the TextBox itself -->
|
<TextBox Grid.Row="1" Grid.Column="0" Margin="0" FontSize="12" Height="22" VerticalAlignment="Bottom" VerticalContentAlignment="Center" ToolTip="{DynamicResource MainWindow_MyIpTooltip}">
|
||||||
<AdornedElementPlaceholder x:Name="textBox"/>
|
<Validation.ErrorTemplate>
|
||||||
<TextBlock Text="{DynamicResource MainWindow_MyIpError}" Background="Red" Foreground="White"/>
|
<ControlTemplate>
|
||||||
</StackPanel>
|
<StackPanel>
|
||||||
</ControlTemplate>
|
<!-- Placeholder for the TextBox itself -->
|
||||||
</Validation.ErrorTemplate>
|
<AdornedElementPlaceholder x:Name="textBox"/>
|
||||||
<TextBox.Text>
|
<TextBlock Text="{DynamicResource MainWindow_MyIpError}" Background="Red" Foreground="White"/>
|
||||||
<Binding Path="Config.MachinePublicIP" ElementName="Main">
|
</StackPanel>
|
||||||
<Binding.ValidationRules>
|
</ControlTemplate>
|
||||||
<cvr:IpValidationRule ValidatesOnTargetUpdated="true" />
|
</Validation.ErrorTemplate>
|
||||||
</Binding.ValidationRules>
|
<TextBox.Text>
|
||||||
</Binding>
|
<Binding Path="Config.MachinePublicIP" ElementName="Main">
|
||||||
</TextBox.Text>
|
<Binding.ValidationRules>
|
||||||
</TextBox>
|
<cvr:IpValidationRule ValidatesOnTargetUpdated="true" />
|
||||||
<Button Grid.Row="1" Margin="5,0,0,0" Click="RefreshPublicIP_Click" ToolTip="{DynamicResource MainWindow_RefreshMyIpTooltip}" Style="{StaticResource ButtonStyle2}">
|
</Binding.ValidationRules>
|
||||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Reload.ico,Size=32}"/>
|
</Binding>
|
||||||
</Button>
|
</TextBox.Text>
|
||||||
</StackPanel>
|
</TextBox>
|
||||||
|
<Button Grid.Row="1" Grid.Column="1" Margin="2,0,0,0" Click="RefreshPublicIP_Click" ToolTip="{DynamicResource MainWindow_RefreshMyIpTooltip}" Style="{StaticResource ButtonStyle2}">
|
||||||
|
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Reload.ico,Size=32}"/>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,0,0,2" Height="26" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Click="ServerMonitor_Click" Content="{StaticResource ServerMonitorButtonContent}" ToolTip="{DynamicResource MainWindow_OpenServerMonitorTooltip}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
|
||||||
|
|
@ -352,7 +360,7 @@
|
||||||
<eo:TabControl.HeaderTemplate>
|
<eo:TabControl.HeaderTemplate>
|
||||||
<DataTemplate >
|
<DataTemplate >
|
||||||
<StackPanel Orientation="Horizontal" Height="20">
|
<StackPanel Orientation="Horizontal" Height="20">
|
||||||
<Button Margin="0" Command="{Binding StatusButtonCommand, ElementName=Main}" CommandParameter="{Binding}">
|
<Button Margin="-5,0,0,0" Command="{Binding StatusButtonCommand, ElementName=Main}" CommandParameter="{Binding}">
|
||||||
<Button.Style>
|
<Button.Style>
|
||||||
<Style BasedOn="{StaticResource ButtonStyle5}" TargetType="{x:Type Button}">
|
<Style BasedOn="{StaticResource ButtonStyle5}" TargetType="{x:Type Button}">
|
||||||
<Style.Triggers>
|
<Style.Triggers>
|
||||||
|
|
@ -454,7 +462,7 @@
|
||||||
</Image.Style>
|
</Image.Style>
|
||||||
</Image>
|
</Image>
|
||||||
</Button>
|
</Button>
|
||||||
<TextBlock Margin="0" VerticalAlignment="Center" Text="{Binding Profile.ProfileName}"/>
|
<TextBlock Margin="2,0,0,0" VerticalAlignment="Center" Text="{Binding Profile.ProfileName}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</eo:TabControl.HeaderTemplate>
|
</eo:TabControl.HeaderTemplate>
|
||||||
|
|
@ -486,7 +494,7 @@
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Image Margin="2" VerticalAlignment="Center" Source="{com:Icon Path=/ConanServerManager;component/Art/Delete.ico,Size=32}" Width="10" Height="10" ToolTip="{DynamicResource MainWindow_CloseProfileTooltip}"/>
|
<Image Margin="10,2,0,0" VerticalAlignment="Top" Source="{com:Icon Path=/ConanServerManager;component/Art/Delete.ico,Size=32}" Width="8" Height="8" ToolTip="{DynamicResource MainWindow_CloseProfileTooltip}"/>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
|
|
||||||
|
|
@ -505,6 +505,14 @@ namespace ServerManagerTool
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Discord_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(Config.Default.DiscordUrl))
|
||||||
|
return;
|
||||||
|
|
||||||
|
Process.Start(Config.Default.DiscordUrl);
|
||||||
|
}
|
||||||
|
|
||||||
public void Servers_AddNew(object sender, NewItemRequestedEventArgs e)
|
public void Servers_AddNew(object sender, NewItemRequestedEventArgs e)
|
||||||
{
|
{
|
||||||
var index = this.ServerManager.AddNew();
|
var index = this.ServerManager.AddNew();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue