123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456 |
- <common:BaseWindow x:Class="ClickOnceSetup.InfomationTabs"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:common="clr-namespace:ClickOnceSetup.Common"
- mc:Ignorable="d"
- Title="InfomationTabs" Height="830" Width="1000" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" BorderThickness="2" BorderBrush="#6495ED">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <DockPanel>
- <TabControl Grid.Row="0" Grid.Column="0" DockPanel.Dock="Top" HorizontalAlignment="Left" Height="750" Width="999">
- <TabItem Header="{common:Translater Mainconfiguration }" Height="40">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="210"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" x:Name="lb_Systeminstallationpath" Content="{common:Translater Systeminstallationpath}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Systeminstallationpath" TextChanged="Txt_Systeminstallationpath_TextChanged"/>
- <Button Grid.Row="0" Grid.Column="2" Margin="5,5,5,5" x:Name="btn_Chose" Content="{common:Translater Choose}" Click="Btn_Chose_Click" />
- <Label Grid.Row="1" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" x:Name="lb_Serverdomainname" Content="{common:Translater Serverdomainname}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Serverdomainname" />
- <Button Grid.Row="1" Grid.Column="2" Margin="5,5,5,5" x:Name="btn_Setdomain" Content="{common:Translater Domainreplace}" Click="Btn_Setdomain_Click" FontWeight="Bold" Foreground="#FFC54141" >
- <Button.ToolTip>
- <ToolTip>
- <StackPanel>
- <TextBlock FontWeight="Heavy" Text="{common:Translater Attention}"></TextBlock>
- <TextBlock Text="{common:Translater AttentionDomainReplace}"></TextBlock>
- </StackPanel>
- </ToolTip>
- </Button.ToolTip>
- </Button>
- <Label Grid.Row="2" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" x:Name="lb_Streamingmediaservertype" Content="{common:Translater Streamingmediaservertype }" FontWeight="Bold"/>
- <ComboBox Grid.Row="2" Grid.Column="1" Margin="5,5,5,5" x:Name="cb_LiveVideoType" SelectedIndex="0" SelectionChanged="ComboBox_SelectionChanged">
- <TextBlock x:Name="tb_netease" Text="{common:Translater Netease}"/>
- <TextBlock x:Name="tb_common" Text="{common:Translater Common}"/>
- </ComboBox>
- <Label Grid.Row="3" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" x:Name="lb_LiveVideoAddressLabel" Content="{common:Translater Streamingmediaserveraddress}" FontWeight="Bold" IsEnabled="False"/>
- <TextBox Grid.Row="3" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_LiveVideoAddress" IsEnabled="False"/>
- </Grid>
- </TabItem>
- <TabItem Header="{common:Translater Dependpack }">
- <StackPanel x:Name="grid_dependPack" HorizontalAlignment="Center" VerticalAlignment="Center">
- <CheckBox Margin="5,5,5,5" x:Name="tb_netcore" Content="{common:Translater NetCore }" Tag="start /wait dotnet-sdk-2.0.3-win-x64.exe /quiet"/>
- <CheckBox Margin="5,5,5,5" x:Name="tb_nodejs" Content="{common:Translater NodeJS }" Tag="start /wait node-v8.11.4-x64.msi /qn"/>
- </StackPanel>
- </TabItem>
- <TabItem Header="{common:Translater Emailconfiguration }">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="220"></ColumnDefinition>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="80"></ColumnDefinition>
- <ColumnDefinition Width="140"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label x:Name="lb_emailAddress" Grid.Row="0" Grid.Column="0" Content="{common:Translater Emailserver}" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="txt_MailHost" Margin="5,5,5,5" Text=""></TextBox>
- <Label x:Name="lb_smtp" Grid.Row="0" Grid.Column="2" Content="{common:Translater Smtpport}" Margin="10,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="3" x:Name="txt_SmtpPort" Margin="5,5,5,5" Text=""></TextBox>
- <CheckBox x:Name="ck_isssl" Grid.Row="0" Grid.Column="5" Margin="10,10,5,5" Content="{common:Translater Usessl}"></CheckBox>
- <Label x:Name="lb_email_username" Grid.Row="1" Grid.Column="0" Content="{common:Translater Emailaddress}" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="txt_EmailUserName" Margin="5,5,5,5" Text=""></TextBox>
- <Label x:Name="lb_emal_password" Grid.Row="1" Grid.Column="2" Content="{common:Translater Emailpassword}" Margin="10,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="3" x:Name="txt_EmailUserPassword" Margin="5,5,21,5" Text="" Grid.ColumnSpan="2"></TextBox>
- </Grid>
- </TabItem>
- <TabItem Header="{common:Translater Advancedsetup }">
- <StackPanel Height="Auto">
- <GroupBox Header="{common:Translater Services }" BorderBrush="Gray" Margin="4" BorderThickness="1" Foreground="CornflowerBlue">
- <UniformGrid x:Name="serviceCheckBoxGrid">
- </UniformGrid>
- </GroupBox>
- <GroupBox Header="{common:Translater Port }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid Margin="5,5,5,5">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="120"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_GatewayPort" Grid.Column="0" Content="{common:Translater Mainport }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="txt_GatewayPort" Margin="0,5,0,0" Text=""></TextBox>
- <Label Grid.Row="0" x:Name="lb_DatabasePort" Grid.Column="2" Content="{common:Translater Databaseport }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="3" x:Name="txt_DatabasePort" Margin="0,5,0,0" Text=""></TextBox>
- <Label Grid.Row="0" x:Name="lb_LogDbPort" Grid.Column="4" Content="{common:Translater Writelogport }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="5" x:Name="txt_LogDbPort" Margin="0,5,0,0" Text=""></TextBox>
- <Label Grid.Row="0" x:Name="lb_LogViewerPort" Grid.Column="6" Content="{common:Translater Readlogport }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="7" x:Name="txt_LogViewerPort" Margin="0,5,0,0" Text=""></TextBox>
- <Label Grid.Row="0" x:Name="lb_StatisticsPort" Grid.Column="8" Content="{common:Translater StatisticsApiPort }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="9" x:Name="txt_StatisticsPort" Margin="0,5,0,0" Text=""></TextBox>
- <Label Grid.Row="1" x:Name="lb_ManagementPort" Grid.Column="0" Content="{common:Translater ManagementPort }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="txt_ManagementPort" Margin="0,5,0,0" Text=""></TextBox>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater Filestore }" BorderBrush="Gray" Margin="4" BorderThickness="1" Foreground="CornflowerBlue">
- <Grid Margin="5,5,5,5">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="20"></ColumnDefinition>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="20"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="{common:Translater ChangeDrive }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <ComboBox Grid.Row="0" Grid.Column="1" x:Name="sel_StoreDrive" Margin="0,5,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" SelectedIndex="3" SelectionChanged="Sel_StoreDrive_SelectionChanged">
- <TextBlock Text="A"/>
- <TextBlock Text="B"/>
- <TextBlock Text="C"/>
- <TextBlock Text="D"/>
- <TextBlock Text="E"/>
- <TextBlock Text="F"/>
- <TextBlock Text="G"/>
- <TextBlock Text="H"/>
- <TextBlock Text="I"/>
- <TextBlock Text="J"/>
- </ComboBox>
- <Label Grid.Row="1" x:Name="lb_StorageFolder" Grid.Column="0" Content="{common:Translater Store }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="txt_StorageFolder" Margin="0,5,0,0" Text=""></TextBox>
- <Button Grid.Row="1" Grid.Column="2" x:Name="BtnStorageFolder" Margin="0,5,0,0" Click="BtnStorageFolder_Click">...</Button>
- <Label Grid.Row="1" x:Name="lb_CacheFolder" Grid.Column="3" Content="{common:Translater Cache }" Margin="20,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="4" x:Name="txt_CacheFolder" Margin="0,5,0,0" Text=""></TextBox>
- <Button Grid.Row="1" Grid.Column="5" x:Name="BtnCacheFolder" Margin="0,5,0,0" Click="BtnCacheFolder_Click">...</Button>
- <Label Grid.Row="2" x:Name="lb_UpgradeFolder" Grid.Column="0" Content="{common:Translater Upgrade }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="2" Grid.Column="1" x:Name="txt_UpgradeFolder" Margin="0,5,0,0" Text=""></TextBox>
- <Button Grid.Row="2" Grid.Column="2" x:Name="BtnUpgradeFolder" Margin="0,5,0,0" Click="BtnUpgradeFolder_Click">...</Button>
- <Label Grid.Row="2" x:Name="lb_ReportPostFolder" Grid.Column="3" Content="{common:Translater Report }" Margin="20,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="2" Grid.Column="4" x:Name="txt_ReportPostFolder" Margin="0,5,0,0" Text=""></TextBox>
- <Button Grid.Row="2" Grid.Column="5" x:Name="BtnReportPostFolder" Margin="0,5,0,0" Click="BtnReportPostFolder_Click">...</Button>
- <Label Grid.Row="3" x:Name="lb_MApiCacheFolder" Grid.Column="0" Content="{common:Translater ApiCache }" Margin="0,5,0,0" FontWeight="Bold"></Label>
- <TextBox Grid.Row="3" Grid.Column="1" x:Name="txt_MApiCacheFolder" Margin="0,5,0,0" Text=""></TextBox>
- <Button Grid.Row="3" Grid.Column="2" x:Name="BtnMApiCacheFolder" Margin="0,5,0,0" Click="BtnMApiCacheFolder_Click">...</Button>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater ServiceApi }" BorderBrush="Gray" Margin="4" BorderThickness="1" Foreground="CornflowerBlue">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="160"></ColumnDefinition>
- <ColumnDefinition Width="320"></ColumnDefinition>
- <ColumnDefinition Width="160"></ColumnDefinition>
- <ColumnDefinition Width="320"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_ApiUrl" Grid.Column="0" Content="{common:Translater Apiserviceurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="txt_ApiUrl" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="0" x:Name="lb_ReportUrl" Grid.Column="2" Content="{common:Translater Reportviewurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="0" Grid.Column="3" x:Name="txt_ReportUrl" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="1" x:Name="lb_DefaultStorageServer" Grid.Column="0" Content="{common:Translater Storeserviceurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="1" x:Name="txt_DefaultStorageServer" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="1" x:Name="lb_DefaultUpgradeServer" Grid.Column="2" Content="{common:Translater Upgradeserviceurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="1" Grid.Column="3" x:Name="txt_DefaultUpgradeServer" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="2" x:Name="lb_DefaultDisplayServer" Grid.Column="0" Content="{common:Translater Displayserviceurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="2" Grid.Column="1" x:Name="txt_DefaultDisplayServer" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="2" x:Name="lb_LiveTalkingServer" Grid.Column="2" Content="{common:Translater LiveTalkingserviceurl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="2" Grid.Column="3" x:Name="txt_LiveTalkingServer" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="3" x:Name="lb_MGetReportApiUrl" Grid.Column="0" Content="{common:Translater GetReportApiUrl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="3" Grid.Column="1" x:Name="txt_MGetReportApiUrl" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="3" x:Name="lb_MDownloadApiUrl" Grid.Column="2" Content="{common:Translater DownloadApiUrl }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="3" Grid.Column="3" x:Name="txt_MDownloadApiUrl" Margin="5,5,5,5" Text=""></TextBox>
- <Label Grid.Row="4" x:Name="lb_GetUnityPayLink" Grid.Column="0" Content="{common:Translater GetUnityPayLink }" Margin="5,5,5,5" FontWeight="Bold"></Label>
- <TextBox Grid.Row="4" Grid.Column="1" x:Name="txt_GetUnityPayLink" Margin="5,5,5,5" Text=""></TextBox>
- </Grid>
- </GroupBox>
- </StackPanel>
- </TabItem>
- <TabItem Header="{common:Translater ServerManagementWeb }">
- <StackPanel Height="Auto">
- <GroupBox Header="{common:Translater Management }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="500"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_ManagementStartPort" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ManagementStartPort}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_ManagementStartPort" Text="7096"/>
- <Label Grid.Row="1" x:Name="lb_ServerHost" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ServerUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_ServerHost" Text="127.0.0.1"/>
- <Label Grid.Row="2" x:Name="lb_ServerPort" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ServerPort}" FontWeight="Bold"/>
- <TextBox Grid.Row="2" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_ServerPort"/>
- <Label Grid.Row="3" x:Name="lb_GetReportApiUrl" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater GetReportApiUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="3" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_GetReportApiUrl"/>
- <Label Grid.Row="4" x:Name="lb_DownloadApiUrl" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater DownloadApiUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="4" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_DownloadApiUrl"/>
- <Label Grid.Row="5" x:Name="lb_ApiCacheFolder" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ApiCacheFolder}" FontWeight="Bold"/>
- <TextBox Grid.Row="5" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_ApiCacheFolder"/>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater VideoServer }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition Width="500"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_StoageVideoFolder" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater StoageVideoFolder}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_StoageVideoFolder" Text="D:\\vCloudmedia"/>
- <Label Grid.Row="1" x:Name="lb_VideoServerUrl" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater VideoServerUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_ServerUrl" Text="http://localhost:8891"/>
- <Label Grid.Row="2" x:Name="lb_StorageProvider" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater StorageProvider}" FontWeight="Bold"/>
- <ComboBox Grid.Row="2" Grid.Column="1" Margin="5,5,5,5" x:Name="cb_StorageProvider" SelectedIndex="0" SelectionChanged="Cb_StorageProvider_SelectionChanged" Loaded="Cb_StorageProvider_Loaded">
- <TextBlock Name="Netease" Text="{common:Translater Netease}"/>
- <TextBlock Name="Common" Text="{common:Translater Common}"/>
- </ComboBox>
- <!--<Label Grid.Row="3" x:Name="lb_AppKey" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="AppKey" FontWeight="Bold"/>
- <TextBox Grid.Row="3" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_AppKey" Text="9c96274f5eca47f181bf24b6b737e43e" />
- <Label Grid.Row="4" x:Name="lb_AppSecret" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="AppSecret" FontWeight="Bold"/>
- <TextBox Grid.Row="4" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_AppSecret" Text="ac60a9a87d5f4f8c9fa1a55cfeb0826f" />-->
- <Label Grid.Row="5" x:Name="lb_VideoPort" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater VideoPort}" FontWeight="Bold"/>
- <TextBox Grid.Row="5" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_VideoPort" Text="8891" />
- </Grid>
- </GroupBox>
- </StackPanel>
- </TabItem>
- <TabItem Header="{common:Translater PaymentService}">
- <StackPanel Height="Auto">
- <GroupBox Header="{common:Translater Principal }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="240"></ColumnDefinition>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="60"></ColumnDefinition>
- <ColumnDefinition Width="240"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_PayServiceUrl" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PayServiceUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Margin="5,5,5,5" x:Name="txt_PayServiceUrl" Text=""/>
- <Label Grid.Row="0" x:Name="lb_PayServicePort" Grid.Column="3" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PayServicePort}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="4" Grid.ColumnSpan="2" Margin="5,5,5,5" x:Name="txt_PayServicePort" Text=""/>
- <Label Grid.Row="1" x:Name="lb_PaySuccessNotifyUrl" Grid.Column="0" Grid.ColumnSpan="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PaySuccessNotifyUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="5" Margin="5,5,5,5" x:Name="txt_PaySuccessNotifyUrl" Text=""/>
- <Label Grid.Row="2" x:Name="lb_RefundSuccessNotifyUrl" Grid.Column="0" Grid.ColumnSpan="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater RefundSuccessNotifyUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="5" Margin="5,5,5,5" x:Name="txt_RefundSuccessNotifyUrl" Text=""/>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater Alipay }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_Alipay_AppId" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PayServiceUrl}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Alipay_AppId" Text=""/>
- <Label Grid.Row="0" x:Name="lb_Alipay_Gatewayurl" Grid.Column="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater Gatewayurl}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="3" Margin="5,5,5,5" x:Name="txt_Alipay_Gatewayurl" Text=""/>
- <Label Grid.Row="1" x:Name="lb_Alipay_SignType" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater SignType}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Alipay_SignType" Text=""/>
- <Label Grid.Row="1" x:Name="lb_Alipay_CharSet" Grid.Column="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater CharSet}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="3" Margin="5,5,5,5" x:Name="txt_Alipay_CharSet" Text=""/>
- <Label Grid.Row="2" x:Name="lb_Alipay_PrivateKey" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PrivateKey}" FontWeight="Bold"/>
- <TextBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,5,5" TextWrapping="Wrap" x:Name="txt_Alipay_PrivateKey" Height="40"/>
- <Label Grid.Row="3" x:Name="lb_Alipay_PublicKey" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater PublicKey}" FontWeight="Bold"/>
- <TextBox Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,5,5" TextWrapping="Wrap" x:Name="txt_Alipay_PublicKey" Text="" Height="40"/>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater Paypal }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_Paypal_ClientId" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ClientId}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Paypal_ClientId" Text=""/>
- <Label Grid.Row="0" x:Name="lb_Paypal_ClientSecret" Grid.Column="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater ClientSecret}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="3" Margin="5,5,5,5" x:Name="txt_Paypal_ClientSecret" Text=""/>
- </Grid>
- </GroupBox>
- <GroupBox Header="{common:Translater WechatPay }" BorderBrush="Gray" Margin="4" BorderThickness="1">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition Width="150"></ColumnDefinition>
- <ColumnDefinition Width="300"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" x:Name="lb_Wechat_AppID" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater AppID}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Wechat_AppID" Text=""/>
- <Label Grid.Row="0" x:Name="lb_Wechat_MchID" Grid.Column="2" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater MchID}" FontWeight="Bold"/>
- <TextBox Grid.Row="0" Grid.Column="3" Margin="5,5,5,5" x:Name="txt_Wechat_MchID" Text=""/>
- <Label Grid.Row="1" x:Name="lb_Wechat_Key" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater Key}" FontWeight="Bold"/>
- <TextBox Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Wechat_Key" Text=""/>
- <CheckBox Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="25,5,5,5" x:Name="ck_UseSandBox" Content="{common:Translater UseSandBox}" ></CheckBox>
- <Label Grid.Row="2" x:Name="lb_Wechat_AppSecret" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater AppSecret}" FontWeight="Bold"/>
- <TextBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,5,5" x:Name="txt_Wechat_AppSecret" Text="" Height="40"/>
- <Label Grid.Row="3" x:Name="lb_Wechat_SSlCertData" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater SSlCertData}" FontWeight="Bold"/>
- <Label Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" Margin="5,5,5,5" x:Name="txt_Wechat_SSlCertData" Height="40"/>
- <Button Grid.Row="3" Grid.Column="1" Margin="55,5,55,5" x:Name="btn_UploadCert" Content="{common:Translater UploadCertificate}" Click="Btn_UploadCert_Click" />
- <Label Grid.Row="4" x:Name="lb_Wechat_SSlCertPassword" Grid.Column="0" Margin="5,5,5,5" VerticalAlignment="Center" Content="{common:Translater SSlCertPassword}" FontWeight="Bold"/>
- <TextBox Grid.Row="4" Grid.Column="1" Margin="5,5,5,5" x:Name="txt_Wechat_SSlCertPassword" Text=""/>
- </Grid>
- </GroupBox>
- </StackPanel>
- </TabItem>
- <TabItem Header="{common:Translater IPWhiteList}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height ="50"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="300"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Button x:Name="btn_Add" Content="{common:Translater Add }" Grid.Row="0" Grid.Column="0" FontSize="14" Margin="5,5,5,5" Click="Btn_Add_Click" />
- <TextBox x:Name="txt_IpAddress" Grid.Row="0" Grid.Column="1" Height="30" Margin="5,5,5,5" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" ></TextBox>
- <DataGrid Name="dtgIpWhiteList" IsReadOnly="True" AutoGenerateColumns="False" Grid.Row="1" Grid.ColumnSpan="3" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
- <DataGrid.Columns>
- <DataGridTextColumn Header="IP" Width="80*" Binding="{Binding IP}" />
- <DataGridTemplateColumn x:Name="UserAction" Header="" Width="10*">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal">
- <Button x:Name="DeleteIP" Click="DeleteIP_Click" Content="{common:Translater Delete}" Height="34" Width="80" FontSize="14" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
- </Button>
- </StackPanel>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </Grid>
- </TabItem>
- <TabItem Header="{common:Translater Languages}">
- <ComboBox Width="130" Height="40" x:Name="cb_ChooseLanguage" HorizontalAlignment="Center" VerticalAlignment="Center" DropDownClosed="Cb_ChooseLanguage_DropDownClosed" SelectedIndex="0" FontSize="24">
- <TextBlock x:Name="tb_English" Text="{common:Translater English}" Tag="English" />
- <TextBlock x:Name="tb_Chinese" Text="{common:Translater Chinese}" Tag="Chinese" />
- </ComboBox>
- </TabItem>
- </TabControl>
- <Grid Grid.Row="1" Grid.Column="0" DockPanel.Dock="Bottom" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="30*"></ColumnDefinition>
- <ColumnDefinition Width="50*"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <CheckBox Grid.Row="0" Grid.Column="0" x:Name="cb_useTestServer" Content="{common:Translater UseTestServer }" Margin="5,5,5,5" VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="False"/>
- <CheckBox Grid.Row="0" Grid.Column="1" x:Name="cb_isBak" Content="{common:Translater InstallHint }" Margin="5,5,5,5" VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="True"/>
- </Grid>
- <Grid Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Button x:Name="Install" Grid.Row="0" Grid.Column="0" Content="{common:Translater Install }" Width="200" Height="50" Margin="15,15,15,15" HorizontalAlignment="Center" FontSize="20" Click="Install_Click" />
- <Button x:Name="Export" Grid.Row="0" Grid.Column="1" Content="{common:Translater Export }" Width="155" Height="50" Margin="15,15,15,15" HorizontalAlignment="Center" FontSize="20" Click="Export_Click" />
- <Button x:Name="Exit" Grid.Row="0" Grid.Column="2" Content="{common:Translater Exit }" Width="80" Height="50" Margin="15,15,15,15" HorizontalAlignment="Center" FontSize="20" Click="Exit_Click" />
- </Grid>
- </Grid>
- </DockPanel>
- </Grid>
- </common:BaseWindow>
|