views/InstalleOne.xaml
<Grid
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"> <Grid Margin="10,-30,0,0"> <Grid.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" /> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Cobalt.xaml" /> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Grid.Resources> <StackPanel> <StackPanel Orientation="Horizontal"> <iconPacks:PackIconOcticons Kind="Terminal" Height="32" Width="32" Margin="0,20,10,10"/> <Label FontSize="30" Content=" Install one PowerShell Module" Foreground="#FF444444" Margin="05,10,0,0" ></Label> </StackPanel > <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,30,0,0"> <Label FontSize="12" Content=" Name" Foreground="#FF444444" Margin="15,0,0,0" FontWeight="Bold" ></Label> <TextBox Name="Name" Width="180" Height="25" Margin="15,0,0,0" ToolTip="Module Name" Controls:TextBoxHelper.Watermark="Pwsh Module" Controls:TextBoxHelper.ClearTextButton="True"/> <Label FontSize="12" Content="*" Foreground="#FF444444" Margin="0,-9,0,0" FontWeight="Bold" ></Label> <Label FontSize="12" Content="Version" FontWeight="Bold" Foreground="#FF444444" Margin="65,0,0,0" ></Label> <ComboBox Name="Version" Width="180" Height="25" Margin="10,0,0,0"/> </StackPanel> <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,5,0,0"> <Label FontSize="11" Content="* Need Full module Name no Wilcard characters " Foreground="#FF444444" Margin="15,0,0,0" FontStyle="Italic" FontWeight="Bold" ></Label> </StackPanel> <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,15,0,0"> <Label FontSize="12" Content=" Author :" Foreground="#FF444444" Margin="15,0,0,0" FontWeight="Bold" ></Label> <Label FontSize="12" Name="Author" Content="" Foreground="#FF444444" Margin="5,0,0,0" FontStyle="Italic" ></Label> </StackPanel> <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,30,0,0"> <Label FontSize="12" Content=" Description :" Foreground="#FF444444" Margin="15,0,0,0" FontWeight="Bold" ></Label> <Label FontSize="12" Name="Description" Content="" Foreground="#FF444444" Margin="5,0,0,0" Width="430" FontStyle="Italic" ></Label> <GroupBox Header="Advanced Option" HorizontalAlignment="Left" Margin="-30,-30,0,0" VerticalAlignment="Top" Height="130" Width="263"> <Grid HorizontalAlignment="Left" Height="226" VerticalAlignment="Top" Width="253" Margin="0,0,-2,-12"> <CheckBox Name="Allow" Content="AllowClobber" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/> <CheckBox Name="AllowP" Content="AllowPrerelease" HorizontalAlignment="Left" Margin="10,35,0,0" VerticalAlignment="Top"/> <CheckBox Name="Force" Content="Force" HorizontalAlignment="Left" Margin="10,60,0,0" VerticalAlignment="Top"/> </Grid> </GroupBox> </StackPanel> <StackPanel Orientation="Horizontal" Margin="5,5,5,5" VerticalAlignment="Bottom"> <Button x:Name="FindM" Content="Find-Module" Width="230" Background="#FF082C9D" Foreground="White" BorderThickness="0" Height="40" Margin="95,15,0,0"></Button> <Button x:Name="InstallM" Content="Install-Module" Width="230" Background="#FF082C9D" Foreground="White" BorderThickness="0" Height="40" Margin="10,15,0,0"></Button> </StackPanel> </StackPanel> </Grid> </Grid> |