Advertisement
ram7489

MembershipModifier XAML

Nov 14th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.35 KB | None | 0 0
  1. <Window x:Name="MembershipModifier" x:Class="MembershipModifier.MainWindow"
  2.        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5.        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6.        xmlns:local="clr-namespace:MembershipModifier"
  7.        mc:Ignorable="d"
  8.        Title="Membership Modifier" Height="350" Width="525" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" ToolTip="Tool to modify group membership for a user">
  9.     <Grid>
  10.  
  11.         <TextBlock x:Name="textBlock" HorizontalAlignment="Left" Height="55" Margin="10,11,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="499"><Run Text="Use Membership Modifier to copy the membership of the source user to the target user. "/><LineBreak/><Run Text="Please note that copying membership "/><Run Text="does "/><Run Text="not mirror the group membership, but just append"/><Run Text="s"/><Run Text=" the target user"/><Run Text="'"/><Run Text="s membership with the membership of the source user."/></TextBlock>
  12.         <Label x:Name="label_Copy" Content="Enter the username of the source user" HorizontalAlignment="Left" Height="27" VerticalAlignment="Top" Width="224" Margin="30,111,0,0"/>
  13.         <TextBox x:Name="textBox_Copy" HorizontalAlignment="Left" Height="27" TextWrapping="Wrap" VerticalAlignment="Top" Width="150" TextChanged="textBox_TextChanged" VerticalContentAlignment="Center" Margin="259,111,0,0"/>
  14.         <Label x:Name="label_Copy1" Content="Enter the username of the target user" HorizontalAlignment="Left" Height="27" VerticalAlignment="Top" Width="224" Margin="30,143,0,0"/>
  15.         <TextBox x:Name="textBox_Copy1" HorizontalAlignment="Left" Height="27" TextWrapping="Wrap" VerticalAlignment="Top" Width="150" TextChanged="textBox_TextChanged" VerticalContentAlignment="Center" Margin="259,143,0,0"/>
  16.         <Button x:Name="button_Copy" Content="Copy membership" HorizontalAlignment="Left" Height="27" VerticalAlignment="Top" Width="123" Margin="365,175,0,0"/>
  17.         <Separator HorizontalAlignment="Left" Height="4" Margin="10,81,0,0" VerticalAlignment="Top" Width="499"/>
  18.         <Separator HorizontalAlignment="Left" Height="4" Margin="10,207,0,0" VerticalAlignment="Top" Width="499"/>
  19.  
  20.     </Grid>
  21. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement