123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <Window x:Class="CollaborativePlatformMain.MainWindow"
- 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:HandyControl="clr-namespace:HandyControl.Controls;assembly=HandyControl"
- xmlns:LayUI="clr-namespace:LayUI.Wpf.Controls;assembly=LayUI.Wpf"
- mc:Ignorable="d"
- AllowsTransparency="True"
- Background=" Transparent"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None"
- Title="" Height="500" Width="350" ResizeMode="NoResize">
- <LayUI:LayTitleBar Background="{DynamicResource Blue}" CornerRadius="10"
- WindowState="{Binding WindowState, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
- <Border CornerRadius="0 0 10 10" Background="White">
- <StackPanel>
- <StackPanel Background="{DynamicResource Blue}" Height="150">
- <Canvas Background="White" Width="80" Height="80">
- <Image Width="80" Height="80" Panel.ZIndex="0">
- <Image.Clip>
- <EllipseGeometry RadiusX="40" RadiusY="40" Center="40,40" />
- </Image.Clip>
- </Image>
- </Canvas>
- <TextBlock Margin="0 10 0 0" Text="协同登录平台" HorizontalAlignment="Center" Foreground="Wheat" FontSize="18" />
- </StackPanel>
- <StackPanel Name="sp_Login" Margin="0 50 0 0" Visibility="Visible">
- <!--账户密码-->
- <DockPanel>
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="账号:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayTextBox Name="tb_userName" LayUI:Watermark="请输入账号" HorizontalAlignment="Left" Width="200"></LayUI:LayTextBox>
- </DockPanel>
- <DockPanel Margin=" 0 30 0 0">
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="密码:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayPasswordBox Name="tb_userPwd" HorizontalAlignment="Left" Width="200"></LayUI:LayPasswordBox>
- <!--<TextBox HorizontalAlignment="Left" Width="200"></TextBox>-->
- </DockPanel>
- <!--登陆按钮-->
- <DockPanel Margin=" 0 38 0 0">
- <LayUI:LayButton HorizontalAlignment="Left" Height="30" Margin="50 0 0 0" Content="登陆" FontSize="15"
- Click="LoginLayButton_Click" />
- <LayUI:LayButton HorizontalAlignment="Left" Height="30" Margin="60 0 0 0" Content="注册" FontSize="15"
- Click="RegisterLayButton_Click" />
- </DockPanel>
- <DockPanel Margin="0 20 0 0">
- <LayUI:LayButton HorizontalAlignment="Right" Height="30" Margin="0 0 38 0" Click="TemporaryLogin_Click" Content="临时登陆" FontSize="15"></LayUI:LayButton>
- </DockPanel>
- </StackPanel>
- <StackPanel Name="sp_Register" Margin="0 50 0 0" Visibility="Collapsed">
- <DockPanel>
- <Button Content="返回" HorizontalAlignment="Left" Margin="10,-60,0,0" Click="Button_Click_3"/>
- </DockPanel>
- <!--账户密码-->
- <DockPanel>
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="账号:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayTextBox Name="tb_rguserName" LayUI:Watermark="请输入账号" HorizontalAlignment="Left" Width="200"></LayUI:LayTextBox>
- </DockPanel>
- <DockPanel Margin=" 0 30 0 0">
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="密码:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayPasswordBox Name="tb_rguserPwd" HorizontalAlignment="Left" Width="200"></LayUI:LayPasswordBox>
- <!--<TextBox HorizontalAlignment="Left" Width="200"></TextBox>-->
- </DockPanel>
- <DockPanel Margin=" 0 30 0 0">
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="密码:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayPasswordBox Name="tb_rgconuserPwd" LayUI:Watermark="请确认密码" HorizontalAlignment="Left" Width="200"></LayUI:LayPasswordBox>
- <!--<TextBox HorizontalAlignment="Left" Width="200"></TextBox>-->
- </DockPanel>
- <DockPanel Margin="0 20 0 0">
- <LayUI:LayButton HorizontalAlignment="Center" Height="30" Content="注册" FontSize="15" Click="LayButton_Click"></LayUI:LayButton>
- </DockPanel>
- </StackPanel>
- <StackPanel Name="sp_temporaryLogin" Margin="0 100 0 0" Visibility="Collapsed">
- <DockPanel>
- <Button Content="返回" HorizontalAlignment="Left" Margin="10,-140,0,0" Click="Button_Click_2"/>
- </DockPanel>
- <!--账户密码-->
- <DockPanel>
- <LayUI:LayTextBlock Width="70" FontSize="18" Margin="30 0 0 0" Text="邀请码:" VerticalAlignment="Center"></LayUI:LayTextBlock>
- <LayUI:LayTextBox Name="tb_InvitationCode" LayUI:Watermark="请输入邀请码" HorizontalAlignment="Left" Width="200"></LayUI:LayTextBox>
- </DockPanel>
- <DockPanel Margin="0 50 0 0">
- <LayUI:LayButton HorizontalAlignment="Right" Height="30" Margin="0 0 38 0" Click="TemporaryLogin2_Click" Content="登陆" FontSize="15"></LayUI:LayButton>
- </DockPanel>
- </StackPanel>
- <!--<DockPanel>
- <Button Width="80" Content="楼栋管理器" Click="Button_Click"/>
- <Button Width="80" Content="再次楼栋" Click="Button_Click"/>
-
- <Button Width="80" Content="打开图纸" Click="Button_Click_1"/>
- <Button Width="80" Content="再次打开图纸" Click="Button_Click_1"/>
- </DockPanel>-->
- </StackPanel>
- </Border>
- </LayUI:LayTitleBar>
- </Window>
|