Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Name="MembershipModifier" x:Class="MembershipModifier.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:local="clr-namespace:MembershipModifier"
- mc:Ignorable="d"
- Title="Membership Modifier" Height="350" Width="525" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" ToolTip="Tool to modify group membership for a user">
- <Grid>
- <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>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <Button x:Name="button_Copy" Content="Copy membership" HorizontalAlignment="Left" Height="27" VerticalAlignment="Top" Width="123" Margin="365,175,0,0"/>
- <Separator HorizontalAlignment="Left" Height="4" Margin="10,81,0,0" VerticalAlignment="Top" Width="499"/>
- <Separator HorizontalAlignment="Left" Height="4" Margin="10,207,0,0" VerticalAlignment="Top" Width="499"/>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement