12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <Window x:Class="Venus_MainPages.Views.UserItemView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Venus_MainPages.Views"
- mc:Ignorable="d"
- xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
- Title="Create User" Height="300" Width="880" ResizeMode="NoResize"
- WindowStartupLocation="CenterOwner" ShowInTaskbar="False">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="439*"/>
- <ColumnDefinition Width="441*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="100*" />
- <RowDefinition Height="40" />
- </Grid.RowDefinitions>
- <Border BorderThickness="2" BorderBrush="Black" Margin="12,12,12,40" Grid.ColumnSpan="2" Grid.RowSpan="2">
- <Grid HorizontalAlignment="Center" Name="NewAccountViewGrid" VerticalAlignment="Center">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150" />
- <ColumnDefinition Width="270" />
- <ColumnDefinition Width="150" />
- <ColumnDefinition Width="270" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
-
- <RowDefinition Height="60" />
- <RowDefinition Height="60" />
- <RowDefinition Height="60" />
- </Grid.RowDefinitions>
- <TextBlock Text="Name" Grid.Column="0" Grid.Row="0" Padding="10 22 0 0" FontSize="15" FontFamily="Arial,SimSun" ClipToBounds="True" />
- <TextBlock Text="Password" Grid.Column="2" Grid.Row="0" Padding="10 22 0 0" FontSize="15" FontFamily="Arial,SimSun" />
- <TextBlock Text="Confire Password" Grid.Column="0" Grid.Row="1" Padding="10 22 0 0" FontSize="15" FontFamily="Arial,SimSun" />
- <TextBlock Text="Role" Grid.Column="2" Grid.Row="1" Padding="10 22 0 0" FontSize="15" FontFamily="Arial,SimSun" />
- <TextBlock Text="Notes" Grid.Column="0" Grid.Row="2" Padding="10 22 0 0" FontSize="15" FontFamily="Arial,SimSun" />
- <!--<Label Content="Department" Grid.Column="0" Grid.Row="3" Margin="10,15" Name="label42" FontSize="15" FontFamily="Arial,SimSun" />
- <Label Content="Telephone" Grid.Column="2" Grid.Row="3" Margin="10,15" Name="labe51" FontSize="15" FontFamily="Arial,SimSun" />
- <Label Content="Mailbox" Grid.Column="0" Grid.Row="4" Margin="10,15" Name="label52" FontSize="15" FontFamily="Arial,SimSun" />
- <Label Content="Description" Grid.Column="0" Grid.Row="5" Margin="10,15" Name="label61" FontSize="15" FontFamily="Arial,SimSun" />
- <TextBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" IsEnabled="True" Margin="0,18,0,12" Name="textBoxAccountIdEdit" Width="270" VerticalAlignment="Center" Height="30" FontSize="15">
-
- </TextBox>-->
- <TextBox Grid.Column="1" Grid.Row="0" Name="textBoxName" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalContentAlignment="Center" Width="220" Height="30" FontSize="15" Margin="0,15" Padding="10 2 0 0"/>
- <customControls:CustomPasswordBox Grid.Column="3" Grid.Row="0" Name="textBoxPassword" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalContentAlignment="Center" Width="220" Height="30" FontSize="15" Margin="0,15" Padding="10 5 0 0"/>
- <customControls:CustomPasswordBox Grid.Column="1" Grid.Row="1" Name="textBoxConfirePassword" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalContentAlignment="Center" Width="220" Height="30" FontSize="15" Margin="0,15" Padding="10 5 0 0"/>
- <!--<TextBox Grid.Column="1" Grid.Row="2" Name="textBoxDepartment" Text="{Binding Path=Department}" VerticalAlignment="Center" HorizontalAlignment="Left" Width="220" Height="30" FontSize="15" Margin="0,15" />-->
- <ComboBox Grid.Column="3" Grid.Row="1" Height="29" HorizontalAlignment="Left" Margin="0,15,0,0" Name="comBoboxRole" VerticalAlignment="Top" Width="220" FontSize="15" Style="{StaticResource customeComboBoxStyle}" SelectedIndex="0">
- <ComboBoxItem>Manager</ComboBoxItem>
- <ComboBoxItem>Engineer</ComboBoxItem>
- <ComboBoxItem>Technician</ComboBoxItem>
- <ComboBoxItem>Operator</ComboBoxItem>
- </ComboBox>
- <TextBox Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="3" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="30" Width="640" x:Name="textBoxNotes"/>
- <!--<TextBox Grid.Column="3" Grid.Row="3" Name="textBoxPhone" VerticalAlignment="Center" HorizontalAlignment="Left" Width="270" Height="30" FontSize="15" Margin="0,15">
-
- </TextBox>
- <TextBox Grid.Column="1" Grid.Row="4" Name="textBox5" VerticalAlignment="Center" HorizontalAlignment="Left" Width="270" Height="30" FontSize="15" Margin="0,15">
-
- </TextBox>
- <TextBox Grid.Column="1" Grid.Row="5" Name="textBox51" Text="{Binding Path=Description}" VerticalAlignment="Center" HorizontalAlignment="Left" Width="270" Height="30" FontSize="15" Margin="0,15" />
- <Label Content="Role" FontFamily="Arial,SimSun" FontSize="15" Margin="10,15" Name="label2" Grid.Column="2" Grid.Row="4" />
- --><!--<CheckBox Content="{DynamicResource GlobalLableAccountViewEnabled}" Grid.Column="3" Grid.Row="5" Height="19" HorizontalAlignment="Left" Margin="0,20,0,0" Name="checkBox1" VerticalAlignment="Top" FontSize="15" Width="103" IsChecked="{Binding AccountStatus}" />--><!--
- <Label Content="Status:" FontFamily="Arial,SimSun" FontSize="15" Grid.Row="5" Margin="10,15" Name="label3" Grid.Column="2" Visibility="Hidden" />-->
- <!--<ComboBox Style="{StaticResource customeComboBoxStyle}" Grid.Column="3" Grid.Row="4" Height="29" HorizontalAlignment="Left" Margin="0,15,0,0" Name="comboBoxGroup" VerticalAlignment="Top" Width="270" FontSize="15" />-->
- </Grid>
- </Border>
- <Grid Grid.Row="1" Grid.ColumnSpan="2">
- <Button Content="Create" Height="29" HorizontalAlignment="Left" Margin="673,6,0,0" Name="button1" VerticalAlignment="Top" Width="81" FontSize="15" Click="CreateButton_Click"/>
- </Grid>
- </Grid>
- </Window>
|