1 Star 0 Fork 6

笑傲_紫月圣君/wnmp PHP集成环境

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webSite.xaml 4.79 KB
一键复制 编辑 原始数据 按行查看 历史
<Window x:Class="wnmp.WebSite"
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:local="clr-namespace:wnmp"
mc:Ignorable="d"
Title="网站管理" Height="450" Width="800" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
<Grid>
<GroupBox Header="常规设置" Margin="19,12,405,47">
<Canvas Margin="0,0,-2,-3">
<Label Style="{StaticResource defautBtnLable}" Content="保 存" Height="25" Width="48" Padding="10,5,5,5" Canvas.Left="696.6" Canvas.Top="351.8" MouseDown="Label_MouseDown"/>
<TextBox x:Name="domainNameInput" Height="24" Text="www.jh.xyz" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="37" Canvas.Left="2" ToolTip="多域名间用英文空格隔开"/>
<Label Content="网站域名" Height="26" Width="74" Canvas.Top="6" Canvas.Left="-1"/>
<TextBox x:Name="siteRootInput" Height="24" Text="D:\\www" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="98" Canvas.Left="2" ToolTip="网站根目录" IsEnabled="False"/>
<Label Content="网站目录" Height="26" Width="172" Canvas.Top="67" Canvas.Left="-1"/>
<Label Style="{StaticResource defautBtnLable}" Content="目录" Height="25" Width="41" Padding="9,5,5,5" Canvas.Left="309" Canvas.Top="98" MouseDown="Label_MouseDown_1"/>
<TextBox x:Name="sitePortInput" Height="24" Text="80" TextWrapping="Wrap" Width="41" Padding="0,3,0,0" Canvas.Left="309" Canvas.Top="37" LostFocus="sitePortInput_LostFocus"/>
<Label Content="端口" Height="26" Width="41" Canvas.Left="309" Canvas.Top="6"/>
<TextBox x:Name="siteFileInput" Height="24" Text="index.html,index.htm" TextWrapping="Wrap" Width="302" Padding="0,3,0,0" Canvas.Top="158" Canvas.Left="2" LostFocus="siteFileInput_LostFocus" ToolTip="多个文件类型用英文空格隔开"/>
<Label Content="网站默认文件" Height="26" Width="172" Canvas.Top="127" Canvas.Left="-1"/>
<Label x:Name="removeWebSite" Style="{StaticResource dangerBtnLable}" Content="删 除" Height="25" Width="48" Padding="10,5,5,5" Canvas.Left="624" Canvas.Top="352" Visibility="Visible" MouseDown="removeWebSite_MouseDown"/>
</Canvas>
</GroupBox>
<GroupBox Header="高级设置" Margin="400,12,21,47">
<Canvas Margin="0,0,-2,0">
<GroupBox Header="伪静态" Height="111" Canvas.Left="10" Canvas.Top="10" Width="335">
<Canvas Margin="0,0,-12,-12">
<CheckBox x:Name="staticBox" Content="开启" Width="52" Height="20" Canvas.Left="73.8" Canvas.Top="25.38" IsChecked="True"/>
<Label Content="相对路径:" Height="26" Width="64" Canvas.Top="50.38" Canvas.Left="5.2"/>
<TextBox x:Name="staticInput" Height="24" Text="/" TextWrapping="Wrap" Width="151" Padding="0,3,0,0" Canvas.Top="50.38" Canvas.Left="73.8" LostFocus="staticInput_LostFocus"/>
<Label Content="状 态:" Height="26" Width="64" Canvas.Top="18.193" Canvas.Left="5.2"/>
</Canvas>
</GroupBox>
<GroupBox Header="其它" Height="178" Canvas.Left="10" Canvas.Top="137" Width="335">
<Canvas Margin="0,0,-12,-12">
<CheckBox x:Name="gzipBox" Content="开启" Width="52" Height="20" Canvas.Left="73.8" Canvas.Top="25.38" IsChecked="True"/>
<Label Content="Hosts同步:" Height="26" Width="71" Canvas.Top="70" Canvas.Left="1"/>
<Label Content="压 缩:" Height="26" Width="64" Canvas.Top="18.193" Canvas.Left="2.2"/>
<CheckBox x:Name="crossBox" Content="开启" Width="68" Height="20" Canvas.Left="74" Canvas.Top="50.193"/>
<Label Content="网站跨域:" Height="26" Width="61" Canvas.Top="44.193" Canvas.Left="2"/>
<CheckBox x:Name="hostBox" Content="开启" Width="68" Height="20" Canvas.Left="74" Canvas.Top="76.193" IsChecked="True"/>
<Label Content="查看Hosts" Height="24" Canvas.Left="140" Canvas.Top="71" Width="67" Foreground="#FF021FBA" Cursor="Hand" MouseUp="Label_MouseUp"/>
<Label x:Name="site_conf_btn" Content="查看conf" Height="24" Canvas.Left="207" Canvas.Top="71" Width="67" Foreground="#FF021FBA" Cursor="Hand" MouseUp="Label_MouseUp_1"/>
</Canvas>
</GroupBox>
</Canvas>
</GroupBox>
</Grid>
</Window>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/weilai1437/wnmp.git
git@gitee.com:weilai1437/wnmp.git
weilai1437
wnmp
wnmp PHP集成环境
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385