Files
MPF/MPF.UI/UserControls/LogOutput.xaml

33 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2024-05-23 21:35:02 -04:00
<UserControl x:Class="MPF.UI.UserControls.LogOutput"
2021-02-28 02:28:53 -08:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
Log Window (#94) * Split type combobox into system combobox and disc type combobox * corrected indentation for xaml file * fixed merge with head * fixed format * fixed issues for PR, added KnownSystem.CUSTOM * removed Updater.cs which ended by error in commit * fixed GetOuptutName() for new drive/system combobox * created LogWindow and first tests of output gathering * integrated all the proof of concept related to stream fetching of DIC output into LogWindow * working on LogWindow\ncreated more efficient output matching management, improved handling of process termination * created Tasks file\nmoved some methods there, created DumpEnvironment to manage are arguments * moved additional methods to Tasks to make it more modular * changed StartDumping flow to avoid returning if extra tools are not found * moved main dump workflow into Tasks class * created specific DumpResult class for better error reporting/management * fixes * fixes Dispatcher thread issue with progress bar * continued refactor - split EnsureDiscInformation into an additional EnsureCorrectInformationForSystemAndMediaType - proof of concept of using custom extensions to enum types to give better functionality (and encapsulation) - changed cmb_MediaType to keep a List<MediaType?> and got rid of Tuple<string, MediaType?> * restored GetDiscType functionality * fixed btn_StartStop enabled on EnsureCorrect... error * fixed whitespace * fixed indentation * merged conflicts * moved log window * working on LogWindow resize/location behavior * working on message logging in LogWindow * added working integration between MenuItem for LogWindow and its visibility status, fixes issues with positioning and visibility, correctly bound Verbose flag to property * finished integrating LogWindow, added some verbose logs * added logs * fixed include order * added option to show log window at startup, removed useless QuietMode property from MainWindow
2018-07-14 00:48:35 +02:00
<Grid>
2021-02-28 10:28:31 -08:00
<StackPanel Orientation="Vertical">
2021-02-28 10:55:49 -08:00
<Border Height="180" Background="White" BorderBrush="Gainsboro" BorderThickness="1" Margin="10">
<ScrollViewer Name="OutputViewer" Template="{DynamicResource CustomScrollViewerControlStyle}">
<RichTextBox Name="Output" FontFamily="Consolas" Background="#FF202020" IsReadOnly="true" />
2021-02-28 10:28:31 -08:00
</ScrollViewer>
</Border>
Log Window (#94) * Split type combobox into system combobox and disc type combobox * corrected indentation for xaml file * fixed merge with head * fixed format * fixed issues for PR, added KnownSystem.CUSTOM * removed Updater.cs which ended by error in commit * fixed GetOuptutName() for new drive/system combobox * created LogWindow and first tests of output gathering * integrated all the proof of concept related to stream fetching of DIC output into LogWindow * working on LogWindow\ncreated more efficient output matching management, improved handling of process termination * created Tasks file\nmoved some methods there, created DumpEnvironment to manage are arguments * moved additional methods to Tasks to make it more modular * changed StartDumping flow to avoid returning if extra tools are not found * moved main dump workflow into Tasks class * created specific DumpResult class for better error reporting/management * fixes * fixes Dispatcher thread issue with progress bar * continued refactor - split EnsureDiscInformation into an additional EnsureCorrectInformationForSystemAndMediaType - proof of concept of using custom extensions to enum types to give better functionality (and encapsulation) - changed cmb_MediaType to keep a List<MediaType?> and got rid of Tuple<string, MediaType?> * restored GetDiscType functionality * fixed btn_StartStop enabled on EnsureCorrect... error * fixed whitespace * fixed indentation * merged conflicts * moved log window * working on LogWindow resize/location behavior * working on message logging in LogWindow * added working integration between MenuItem for LogWindow and its visibility status, fixes issues with positioning and visibility, correctly bound Verbose flag to property * finished integrating LogWindow, added some verbose logs * added logs * fixed include order * added option to show log window at startup, removed useless QuietMode property from MainWindow
2018-07-14 00:48:35 +02:00
2021-02-28 10:55:49 -08:00
<GroupBox Grid.Row="2" Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
2024-12-22 00:51:56 +09:00
<GroupBox.Template>
<ControlTemplate TargetType="GroupBox">
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="5">
<ContentPresenter Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}" />
</Border>
</ControlTemplate>
</GroupBox.Template>
<UniformGrid Columns="4" Margin="5,5,5,5" Height="27">
2021-03-08 14:56:26 -08:00
<Label/> <!-- Empty label for padding -->
Initial UI lang code (#899) * Test using resources * Include system namespace in resource xaml * system namespace name * rename strings * Default strings * Window resources * add keys * just one key * Combo box example * window resources * Dropdown in menu bar * nullable * non nullable * string list init * simple * English default * Add menu item for language * parent is menuitem * fix * no null lang * Only build win-x64, GHA storage limit * Korean * test * Set resource strings at app level * remove lost endif * Better UI * Move langs next to buttons * update * fix button * More translations * Better menu size * too many semicolons * top right menu bar * Tweaks * Top bar positioning * title bar width * try again * final * Back to original publish script * more windows * pre-merge test * Test non-latin underscore * More strings * fix * FindResource is a function * space * cast spells * Log about text * semicolon * Good * cast spells * using System.Windows in Frontend * Translate in MainViewModel * Dynamic GetFormattedVolumeLabel * Nullability * Fix * using for dict * Translate func in MVM * Don't translate in init * Update MVM translations * closing brace * Deprecate resource string * test * test2 * set current system * trial field * field is preview * default empty string * default null * fix build * empty string * GIve up on no system selected text * Fix context menu border * Revert half fix * Translate more IRD Window strings * Loose string * Detect current locale * fix * System.Globalization * Locale detection for default lang * break on zh case * default startup lang * default lang option * fix * fix2 * fix3 * nonnullable * final fix * final final fix * default language option * use default language on startup * empty entry * semicolon
2025-10-17 00:47:36 +09:00
<Button Name="ClearButton" Height="25" Width="80" Content="{DynamicResource ClearButtonString}" Style="{DynamicResource CustomButtonStyle}" />
<Button Name="SaveButton" Height="25" Width="80" Content="{DynamicResource SaveButtonString}" Style="{DynamicResource CustomButtonStyle}" />
2021-03-08 14:56:26 -08:00
<Label/> <!-- Empty label for padding -->
2021-03-01 21:09:26 -08:00
</UniformGrid>
2021-02-28 10:55:49 -08:00
</GroupBox>
2021-02-28 10:28:31 -08:00
</StackPanel>
Log Window (#94) * Split type combobox into system combobox and disc type combobox * corrected indentation for xaml file * fixed merge with head * fixed format * fixed issues for PR, added KnownSystem.CUSTOM * removed Updater.cs which ended by error in commit * fixed GetOuptutName() for new drive/system combobox * created LogWindow and first tests of output gathering * integrated all the proof of concept related to stream fetching of DIC output into LogWindow * working on LogWindow\ncreated more efficient output matching management, improved handling of process termination * created Tasks file\nmoved some methods there, created DumpEnvironment to manage are arguments * moved additional methods to Tasks to make it more modular * changed StartDumping flow to avoid returning if extra tools are not found * moved main dump workflow into Tasks class * created specific DumpResult class for better error reporting/management * fixes * fixes Dispatcher thread issue with progress bar * continued refactor - split EnsureDiscInformation into an additional EnsureCorrectInformationForSystemAndMediaType - proof of concept of using custom extensions to enum types to give better functionality (and encapsulation) - changed cmb_MediaType to keep a List<MediaType?> and got rid of Tuple<string, MediaType?> * restored GetDiscType functionality * fixed btn_StartStop enabled on EnsureCorrect... error * fixed whitespace * fixed indentation * merged conflicts * moved log window * working on LogWindow resize/location behavior * working on message logging in LogWindow * added working integration between MenuItem for LogWindow and its visibility status, fixes issues with positioning and visibility, correctly bound Verbose flag to property * finished integrating LogWindow, added some verbose logs * added logs * fixed include order * added option to show log window at startup, removed useless QuietMode property from MainWindow
2018-07-14 00:48:35 +02:00
</Grid>
2021-02-28 02:28:53 -08:00
</UserControl>