Lekka poprawka

This commit is contained in:
Christopher
2020-12-20 17:14:22 +01:00
parent 55afc07890
commit 426ad04fbf
19 changed files with 69 additions and 37 deletions
Binary file not shown.
+20 -7
View File
@@ -5,13 +5,26 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Notepad"
mc:Ignorable="d"
Title="Notepad" Height="450" Width="800" WindowStartupLocation="CenterScreen" Background="#FF2D2D30">
Title="Notepad" Height="600" Width="1024" WindowStartupLocation="CenterScreen" Background="#FF2D2D30">
<Grid>
<Rectangle Fill="#2D2D30" HorizontalAlignment="Left" Width="45"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,10,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="26" Content="&#xE8E5;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,43,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="26" Content="&#xE74E;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,76,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="26" Content="&#xE792;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Margin="30,204,0,195" VerticalAlignment="Center" Width="15" Height="20" FontFamily="Segoe MDL2 Assets" FontSize="14" Content="&#xE76C;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" BorderBrush="{x:Null}" Background="{x:Null}"/>
<TextBox Margin="45,0,0,0"/>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="49*"/>
<ColumnDefinition Width="967*"/>
</Grid.ColumnDefinitions>
<Rectangle Fill="#2D2D30" HorizontalAlignment="Left" Width="36"/>
<!-- Przyciski -->
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,20,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="24" Content="&#xE7C3;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,53,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="24" Content="&#xE8E5;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,86,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="24" Content="&#xE74E;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" Margin="0,119,0,0" VerticalAlignment="Top" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="24" Content="&#xE792;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<Button HorizontalAlignment="Left" Foreground="#FFFFFF" Background="#2D2D30" VerticalAlignment="Bottom" Width="36" Height="28" FontFamily="Segoe MDL2 Assets" FontSize="24" Content="&#xE8BB;" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0"/>
<!-- Koniec przycisków -->
<RichTextBox Name="poleTekstowe" Margin="36,10,0,0" Background="#FF1E1E1E" Foreground="#FFE6E6E6" BorderBrush="{x:Null}" BorderThickness="0" FontFamily="Calibri" FontSize="16" Grid.ColumnSpan="2">
<RichTextBox.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Margin" Value="0" />
</Style>
</RichTextBox.Resources>
</RichTextBox>
</Grid>
</Window>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15 -1
View File
@@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6965967BF75FEB31AACADADD250B73AE789AAB2D952F41D5DE9003EFAE7C3549"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "31BC37DDBB4D30D76647A4C29A12B5928C74181F20D1ED11F288C181F7F09BDC"
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
@@ -40,6 +40,14 @@ namespace Notepad {
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 18 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RichTextBox poleTekstowe;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
@@ -68,6 +76,12 @@ namespace Notepad {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.poleTekstowe = ((System.Windows.Controls.RichTextBox)(target));
return;
}
this._contentLoaded = true;
}
}
+15 -1
View File
@@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6965967BF75FEB31AACADADD250B73AE789AAB2D952F41D5DE9003EFAE7C3549"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "31BC37DDBB4D30D76647A4C29A12B5928C74181F20D1ED11F288C181F7F09BDC"
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
@@ -40,6 +40,14 @@ namespace Notepad {
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 18 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RichTextBox poleTekstowe;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
@@ -68,6 +76,12 @@ namespace Notepad {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.poleTekstowe = ((System.Windows.Controls.RichTextBox)(target));
return;
}
this._contentLoaded = true;
}
}
@@ -1 +1 @@
1470e97796c8745e060ebe0a17ce61234c339d80
8a14e6e71396ecfee9a76cb47f21921123f587ae
@@ -13,3 +13,18 @@ C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.csproj.Generate
C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.exe
C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\Notepad.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\bin\Debug\Notepad.exe.config
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\bin\Debug\Notepad.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\bin\Debug\Notepad.pdb
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.csprojAssemblyReference.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\MainWindow.g.cs
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\App.g.cs
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad_MarkupCompile.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad_MarkupCompile.lref
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\MainWindow.baml
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.g.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.Properties.Resources.resources
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.csproj.GenerateResource.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.csproj.CoreCompileInputs.cache
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.exe
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\Notepad.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,12 +4,12 @@
winexe
C#
.cs
C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\obj\Debug\
Notepad
none
false
DEBUG;TRACE
C:\Users\Krzysiek\source\repos\Notepad\Notepad\App.xaml
C:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\App.xaml
11151548125
5-2017746502
@@ -1,20 +0,0 @@
Notepad
winexe
C#
.cs
C:\Users\Krzysiek\source\repos\Notepad\Notepad\obj\Debug\
Notepad
none
false
DEBUG;TRACE
C:\Users\Krzysiek\source\repos\Notepad\Notepad\App.xaml
11151548125
6-1465360305
13-1142990016
MainWindow.xaml;
True
@@ -1,4 +0,0 @@
FC:\Users\Krzysiek\source\repos\Notepad\Notepad\MainWindow.xaml;;
@@ -1,4 +1,4 @@
FC:\Users\Krzysiek\source\repos\Notepad\Notepad\MainWindow.xaml;;
FC:\Users\Krzysiek\Documents\GitHub\Notepad\Notepad\Notepad\MainWindow.xaml;;