Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Controls:MetroWindow
- RenderOptions.BitmapScalingMode="HighQuality"
- WindowStartupLocation="CenterScreen"
- Closing="MetroWindow_Closing"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
- xmlns:awe="http://schemas.awesomium.com/winfx"
- xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit" BorderBrush="White" BorderThickness="1"
- xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
- xmlns:Custom="http://metro.mahapps.com/winfx/xaml/controls" x:Class="PattConfigurator.Window1"
- Title="PattersonCode Configuration Utility" Height="857.552" Width="1519.104" Background="#FF515151" TitlebarHeight="32" TitleCaps="False">
- <Controls:MetroWindow.RightWindowCommands>
- <Controls:WindowCommands>
- <Button Click="Button_Click_3"
- ToolTip="Open Application Settings"
- Content="Settings" />
- <Button Click="cmdClick"
- ToolTip="Enter a developer command"
- Content="Command" />
- <Button Click="ShowProgressDialog"
- ToolTip="Puts the app into a standby state until a server malfunctions."
- Content="Watch Mode" />
- <Button Click="OpencPanel"
- ToolTip="Opens cPanel."
- Content="cPanel" />
- <Button Click="OpenWHM"
- ToolTip="Opens WHM."
- Content="WHM" />
- </Controls:WindowCommands>
- </Controls:MetroWindow.RightWindowCommands>
- <Grid Margin="0,0,-2197,-473" Loaded="Grid_Loaded">
- <Grid.RowDefinitions>
- <RowDefinition Height="68*"/>
- <RowDefinition Height="68*"/>
- <RowDefinition Height="68*"/>
- <RowDefinition Height="61"/>
- <RowDefinition Height="68*"/>
- <RowDefinition Height="68*"/>
- <RowDefinition Height="91*"/>
- <RowDefinition Height="331*"/>
- <RowDefinition Height="478*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="385*"/>
- <ColumnDefinition Width="467*"/>
- <ColumnDefinition Width="2778*"/>
- </Grid.ColumnDefinitions>
- <GroupBox x:Name="offlineControls" Header="Offline Controls" Margin="10,10,0,11" Grid.RowSpan="7" Custom:ControlsHelper.HeaderFontSize="13.3" Grid.ColumnSpan="2" HorizontalAlignment="Left" Width="384"/>
- <GroupBox x:Name="Server_Status" Header="Server Status" Margin="8.5,10,0,11" Grid.RowSpan="7" Custom:ControlsHelper.HeaderFontSize="13.3" Grid.Column="1" HorizontalAlignment="Left" Width="440"/>
- <Label x:Name="offlineCheckLabel" Margin="12,23,0,59" Grid.Row="1" Grid.Column="0" Content="isOnline?
- " Grid.RowSpan="2" HorizontalAlignment="Left" Width="373"/>
- <CheckBox x:Name="offlineCheck" Margin="107,8,0,62" Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" HorizontalAlignment="Left" Width="278" Click="offlineCheck_Click_1"/>
- <Label x:Name="titleboxLabel" Margin="10,19,476.5,1" Grid.Row="2" Grid.Column="0" Content="Offline Reason" Grid.ColumnSpan="2"/>
- <TextBox x:Name="titlebox" Margin="102,19,17.5,9" Grid.Row="2" Grid.Column="0" TextChanged="titlebox_TextChanged"/>
- <Label x:Name="msgboxLabel" Margin="10,17,476.5,0" Grid.Row="3" Grid.Column="0" Content="Offline Body" Grid.ColumnSpan="2"/>
- <TextBox x:Name="msgbox" Margin="102,9,0,0" Grid.Row="3" Grid.Column="0" TextChanged="msgbox_TextChanged" HorizontalAlignment="Left" Width="274"/>
- <Label x:Name="timeboxLabel" Margin="10,18,476.5,1" Grid.Row="4" Grid.Column="0" Content="Last Updated" Grid.ColumnSpan="2"/>
- <TextBox x:Name="timebox" Margin="102,18,17.5,11" Grid.Row="4" Grid.Column="0"/>
- <Button Content="Submit" Margin="148,0,137.5,6" Grid.Row="5" Grid.Column="0" Click="Button_Click" VerticalAlignment="Bottom" Height="26"/>
- <Label x:Name="mainServerLabel" Margin="18.5,19,0.5,0" Grid.Row="1" Grid.Column="1" Content="Main Server" />
- <Label x:Name="mainlabel" Margin="222.5,19,0.5,0" Grid.Row="1" Grid.Column="1" Content="0 ms" FontFamily="Segoe UI Semibold" />
- <Label x:Name="backupServerLabel" Margin="18.5,18,0.5,1" Grid.Row="2" Grid.Column="1" Content="Backup Server" />
- <Label x:Name="backuplabel" Margin="222.5,18,0.5,1" Grid.Row="2" Grid.Column="1" Content="0 ms" FontFamily="Segoe UI Semibold" />
- <Label x:Name="cdnServerLabel" Margin="18.5,19,0.5,0" Grid.Row="3" Grid.Column="1" Content="Content Distribution Network" />
- <Label x:Name="cdnlabel" Margin="222.5,19,0.5,0" Grid.Row="3" Grid.Column="1" Content="0 ms" FontFamily="Segoe UI Semibold" />
- <Label x:Name="server4Label" Margin="18.5,18,0.5,1" Grid.Row="4" Grid.Column="1" Content="Server 4" />
- <Label x:Name="server4label" Margin="222.5,18,0.5,1" Grid.Row="4" Grid.Column="1" Content="0 ms" FontFamily="Segoe UI Semibold" />
- <Label x:Name="refresh" Margin="18.5,19,0.5,1" Grid.Row="6" Grid.Column="1" Content="Time till refresh..." />
- <Label x:Name="timerLabel" Margin="222.5,19,0.5,1" Grid.Row="6" Grid.Column="1" Content="0 ms" FontFamily="Segoe UI Semibold" />
- <Label x:Name="serverresponse" Margin="18.5,17,0.5,1" Grid.Row="5" Grid.Column="1" Content="Server Response" />
- <Label x:Name="responseLabel" Margin="222.5,17,0.5,1" Grid.Row="5" Grid.Column="1" Content="404" FontFamily="Segoe UI Semibold" />
- <Button Content="Go" Grid.Column="1" HorizontalAlignment="Left" Margin="346.5,0,0,11" Grid.Row="7" VerticalAlignment="Bottom" Width="74" Click="Button_Click_2" Height="30" RenderTransformOrigin="0.33,-0.634"/>
- <Button Content="Save" Grid.Column="2" HorizontalAlignment="Left" Margin="497.5,0,0,10" Grid.Row="7" VerticalAlignment="Bottom" Width="74" Click="Button_Click_1" Height="26"/>
- <Button x:Name="Button_2" Grid.Row="6" Grid.Column="1" Content="Recheck" Margin="320.5,43,0,0" Click="Button2_Click" VerticalAlignment="Top" Height="26" HorizontalAlignment="Left" Width="116"/>
- <GroupBox x:Name="browserBox" Header="Browser" HorizontalAlignment="Left" Margin="9,90,0,307" Grid.Row="6" Custom:ControlsHelper.HeaderFontSize="13.67" Grid.ColumnSpan="2" Width="831" RenderTransformOrigin="0.5,0.5" Content="" Grid.RowSpan="2"/>
- <awe:WebControl x:Name="webControl1" Margin="10,25,0,52" Grid.Row="7" Grid.ColumnSpan="2" HorizontalAlignment="Left" Width="830" />
- <TextBox x:Name="urlfield" Grid.Row="7" Grid.ColumnSpan="2" Grid.Column="0" Margin="18,0,0,11" HorizontalAlignment="Left" Width="702" Height="30" VerticalAlignment="Bottom" TextChanged="urlfield_TextChanged" Text="http://pattersoncode.ca" />
- <ComboBox SelectionChanged="ComboBox_SelectionChanged" x:Name="cbox" Grid.Column="2" HorizontalAlignment="Left" Margin="269.5,0,0,10" Grid.Row="7" VerticalAlignment="Bottom" Width="197" Height="26" >
- <ComboBoxItem Content="config.php" HorizontalAlignment="Left" Width="177" Margin="0,0,0,0"/>
- <ComboBoxItem Content="debug.php" HorizontalAlignment="Left" Width="177" Margin="0,0,0,0"/>
- <ComboBoxItem Content="index.php" HorizontalAlignment="Left" Width="177" Margin="0,0,0,0"/>
- <ComboBoxItem Content="offline.php" HorizontalAlignment="Left" Width="177" Margin="0,0,0,0"/>
- <ComboBoxItem Content="error.php" HorizontalAlignment="Left" Width="177" Margin="0,0,0,0"/>
- </ComboBox>
- <CheckBox Visibility="Hidden" IsChecked="True" x:Name="UseAccentForDialogsMenuItem" Grid.ColumnSpan="2" Margin="0,0,476.5,0" />
- <Label Content="Select a file..." Grid.Column="2" HorizontalAlignment="Left" Margin="172.5,0,0,10" Grid.Row="7" VerticalAlignment="Bottom" Height="26" Width="78"/>
- <GroupBox Grid.Column="1" x:Name="editorBox" Header="Editor" HorizontalAlignment="Left" Margin="453.5,0,0,17" Width="675" Custom:ControlsHelper.HeaderFontSize="13.67" Grid.ColumnSpan="2" VerticalAlignment="Bottom" Custom:ControlsHelper.HeaderFontStretch="UltraExpanded" Height="41"/>
- <avalonEdit:TextEditor BorderBrush="{StaticResource AccentColorBrush}" BorderThickness="1" SyntaxHighlighting="PHP" x:Name="textEditor" Grid.Row="0" Grid.RowSpan="8" Grid.Column="1" Margin="453.5,0,2196,50" Loaded="textEditor_Loaded" Foreground="White" Background="#FFA29F9F" Grid.ColumnSpan="2" Height="732" VerticalAlignment="Bottom" />
- </Grid>
- </Controls:MetroWindow>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement