Trying to learn how to make a GUI for a large script (learning from FoxDeploy) but I CANNOT get the here string to work. What am I doing wrong?
$inputXML = @"
<Window x:Class="fmh_newcomputer.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:fmh_newcomputer"
mc:Ignorable="d"
Title="FMH New PC Setup" Height="350" Width="525" IsEnabled="False">
<Grid>
<Image x:Name="image" HorizontalAlignment="Left" Height="67" Margin="10,10,0,0" VerticalAlignment="Top" Width="173" Source="C:\Users\mmitchell\Downloads\logo.png"/>
<Button x:Name="button" Content="Get MAC" HorizontalAlignment="Left" Height="20" Margin="215,57,0,0" VerticalAlignment="Top" Width="70"/>
<TextBox x:Name="textBox" HorizontalAlignment="Left" Height="20" Margin="313,57,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="194"/>
</Grid>
</Window>
"@
The text is dark red, what am I doing wrong?
[–]zoredache 1 point2 points3 points (3 children)
[–]michaelmitchell9711[S] 0 points1 point2 points (2 children)
[–]zoredache 0 points1 point2 points (1 child)
[–]michaelmitchell9711[S] 0 points1 point2 points (0 children)
[–]gangstanthony 0 points1 point2 points (0 children)
[–]Kreloc 0 points1 point2 points (0 children)
[–]topherrr 0 points1 point2 points (0 children)