Skip to content

Commit 6ca4433

Browse files
committed
[NoteIt]: upload all files
1 parent 7bfa338 commit 6ca4433

File tree

333 files changed

+5288
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+5288
-0
lines changed
96.6 KB
Binary file not shown.

.vs/NoteIt/project-colors.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"Version": 1,
3+
"ProjectMap": {
4+
"e50bc7c6-ee93-4796-a439-1b71aba02621": {
5+
"ProjectGuid": "e50bc7c6-ee93-4796-a439-1b71aba02621",
6+
"DisplayName": "NoteIt",
7+
"ColorIndex": 0
8+
},
9+
"a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": {
10+
"ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3",
11+
"DisplayName": "Fichiers divers",
12+
"ColorIndex": -1
13+
}
14+
},
15+
"NextColorIndex": 1
16+
}

.vs/NoteIt/v17/.futdcache.v1

225 Bytes
Binary file not shown.

.vs/NoteIt/v17/.suo

59.5 KB
Binary file not shown.

NoteIt.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32126.317
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NoteIt", "NoteIt\NoteIt.csproj", "{E50BC7C6-EE93-4796-A439-1B71ABA02621}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{E50BC7C6-EE93-4796-A439-1B71ABA02621}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{E50BC7C6-EE93-4796-A439-1B71ABA02621}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{E50BC7C6-EE93-4796-A439-1B71ABA02621}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{E50BC7C6-EE93-4796-A439-1B71ABA02621}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {D56CE1FE-F57C-4EA5-A5E1-67E8FC599B69}
24+
EndGlobalSection
25+
EndGlobal

NoteIt/App.xaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<Application x:Class="test_note.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:test_note"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
<Style x:Key="CaptionButtonStyleDefault" TargetType="Button">
8+
<Setter Property="Template">
9+
<Setter.Value>
10+
<ControlTemplate TargetType="Button">
11+
<Grid x:Name="LayoutRoot" Background="Transparent" Width="46" Height="30">
12+
<TextBlock x:Name="txt" Text="{TemplateBinding Content}" FontFamily="Segoe MDL2 Assets" FontSize="10"
13+
Foreground="#E5E5E5" HorizontalAlignment="Center" VerticalAlignment="Center"
14+
RenderOptions.ClearTypeHint="Auto" TextOptions.TextRenderingMode="Aliased" TextOptions.TextFormattingMode="Display"/>
15+
</Grid>
16+
<ControlTemplate.Triggers>
17+
<Trigger Property="IsMouseOver" Value="True">
18+
<Setter TargetName="LayoutRoot" Property="Background" Value="#E5E5E5"/>
19+
<Setter TargetName="txt" Property="Foreground" Value="#000000"/>
20+
</Trigger>
21+
</ControlTemplate.Triggers>
22+
</ControlTemplate>
23+
</Setter.Value>
24+
</Setter>
25+
</Style>
26+
<Style x:Key="CaptionButtonStyleClose" TargetType="Button">
27+
<Setter Property="Template">
28+
<Setter.Value>
29+
<ControlTemplate TargetType="Button">
30+
<Grid x:Name="LayoutRoot" Background="Transparent" Width="46" Height="30">
31+
<TextBlock x:Name="txt" Text="{TemplateBinding Content}" FontFamily="Segoe MDL2 Assets" FontSize="10"
32+
Foreground="#E5E5E5" HorizontalAlignment="Center" VerticalAlignment="Center"
33+
RenderOptions.ClearTypeHint="Auto" TextOptions.TextRenderingMode="Aliased" TextOptions.TextFormattingMode="Display"/>
34+
</Grid>
35+
<ControlTemplate.Triggers>
36+
<Trigger Property="IsMouseOver" Value="True">
37+
<Setter TargetName="LayoutRoot" Property="Background" Value="#E81123"/>
38+
<Setter TargetName="txt" Property="Foreground" Value="#FFFFFF"/>
39+
</Trigger>
40+
</ControlTemplate.Triggers>
41+
</ControlTemplate>
42+
</Setter.Value>
43+
</Setter>
44+
</Style>
45+
46+
<Style x:Key="MinimizeButtonStyle" TargetType="Button" BasedOn="{StaticResource CaptionButtonStyleDefault}">
47+
<Setter Property="Content" Value="&#xE949;"/>
48+
</Style>
49+
50+
<Style x:Key="MaximizeButtonStyle" TargetType="Button" BasedOn="{StaticResource CaptionButtonStyleDefault}">
51+
<Setter Property="Content" Value="&#xE739;"/>
52+
</Style>
53+
54+
<Style x:Key="RestoreButtonStyle" TargetType="Button" BasedOn="{StaticResource CaptionButtonStyleDefault}">
55+
<Setter Property="Content" Value="&#xE923;"/>
56+
</Style>
57+
58+
<Style x:Key="CloseButtonStyle" TargetType="Button" BasedOn="{StaticResource CaptionButtonStyleClose}">
59+
<Setter Property="Content" Value="&#xE8BB;"/>
60+
</Style>
61+
</Application.Resources>
62+
</Application>

NoteIt/App.xaml.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace test_note
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}

NoteIt/AssemblyInfo.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Windows;
2+
3+
[assembly: ThemeInfo(
4+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
5+
//(used if a resource is not found in the page,
6+
// or application resource dictionaries)
7+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
8+
//(used if a resource is not found in the page,
9+
// app, or any theme specific resource dictionaries)
10+
)]

NoteIt/MainWindow.xaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<Window x:Class="test_note.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:test_note"
7+
mc:Ignorable="d"
8+
Background="#212121"
9+
Title="Test-Note" Height="470" Width="800"
10+
WindowStyle="None" ResizeMode="CanMinimize" WindowState="Normal" WindowStartupLocation="CenterScreen"
11+
BorderBrush="White" BorderThickness="1">
12+
<Window.Resources>
13+
<Storyboard x:Key="MyAnimation">
14+
<!-- animation steps go here -->
15+
</Storyboard>
16+
<Style TargetType="Border">
17+
<Setter Property="CornerRadius" Value="0" />
18+
</Style>
19+
<Style x:Key="RectBorderStyle" TargetType="Rectangle">
20+
<Setter Property="Focusable" Value="False" />
21+
<Setter Property="Fill" Value="Transparent" />
22+
<Setter Property="Tag" Value="{Binding RelativeSource={RelativeSource AncestorType=Window}}" />
23+
<EventSetter Event="MouseLeftButtonDown" Handler="Resize_Init"/>
24+
<EventSetter Event="MouseLeftButtonUp" Handler="Resize_End"/>
25+
<EventSetter Event="MouseMove" Handler="Resizeing_Form"/>
26+
</Style>
27+
</Window.Resources>
28+
29+
<Grid Cursor="">
30+
31+
<Rectangle Name="topLeftSizeGrip" Width="7" Height="7" HorizontalAlignment="Left" VerticalAlignment="Top" Cursor="SizeNWSE" Style="{StaticResource RectBorderStyle}" />
32+
<Rectangle Name="bottomRightSizeGrip" Width="7" Height="7" HorizontalAlignment="Right" VerticalAlignment="Bottom" Cursor="SizeNWSE" Style="{StaticResource RectBorderStyle}" />
33+
<Rectangle Name="topRightSizeGrip" Width="7" Height="7" HorizontalAlignment="Right" VerticalAlignment="Top" Cursor="SizeNESW" Style="{StaticResource RectBorderStyle}" />
34+
<Rectangle Name="bottomLeftSizeGrip" Width="7" Height="7" HorizontalAlignment="Left" VerticalAlignment="Bottom" Cursor="SizeNESW" Style="{StaticResource RectBorderStyle}" Fill="Transparent" />
35+
<Grid MouseDown="StackPanel_MouseDown" VerticalAlignment="Top" Margin="0" Background="#212121">
36+
<Grid.ColumnDefinitions>
37+
<ColumnDefinition Width="Auto" />
38+
<ColumnDefinition Width="*" />
39+
<ColumnDefinition Width="Auto" />
40+
</Grid.ColumnDefinitions>
41+
<Image x:Name="HeaderIcon" Grid.Column="0" Width="20" Height="20" Margin="5, 4, 5, 4" HorizontalAlignment="Left" />
42+
<TextBlock x:Name="HeaderTitle" Grid.Column="1" Margin="5" TextAlignment="Left" Foreground="#FFFFFF" FontSize="13" HorizontalAlignment="Left" />
43+
<StackPanel Grid.Column="2" VerticalAlignment="Top" Orientation="Horizontal" HorizontalAlignment="Right">
44+
<Button x:Name="MinimizeButton" Style="{DynamicResource MinimizeButtonStyle}" Click="MinimizeWindow" KeyboardNavigation.IsTabStop="False" />
45+
<Button x:Name="MaximizeButton" Style="{DynamicResource MaximizeButtonStyle}" Click="MaximizeClick" KeyboardNavigation.IsTabStop="False" />
46+
<Button x:Name="CloseButton" Style="{DynamicResource CloseButtonStyle}" Click="CloseButton_Click" KeyboardNavigation.IsTabStop="False" />
47+
</StackPanel>
48+
</Grid>
49+
50+
<DockPanel Margin="0" Height="440" VerticalAlignment="Top">
51+
<WrapPanel HorizontalAlignment="Left" DockPanel.Dock="Top" Margin="5,0,0,10">
52+
<Label Name="Filename" Content="Undefined.txt" Foreground="White"/>
53+
<Button x:Name="btnOpenFile" Click="btnOpenFile_Click" Content="Open" Margin="4" Background="Transparent" Foreground="white" BorderThickness="0"/>
54+
<Button x:Name="btnSaveFile" Click="btnSaveFile_Click" Content="Save" Margin="4" Background="Transparent" Foreground="white" BorderThickness="0"/>
55+
<Button x:Name="btnSendFile" Click="btnSendFile_Click" Content="Send?" Margin="4" Background="Transparent" Foreground="white" BorderThickness="0"/>
56+
<TextBox Name="webhookInput" TextChanged="Webhook_Changed" Width="450" Height="16" Background="#2D2D2D" BorderThickness="0" Foreground="white" Visibility="Hidden"/>
57+
</WrapPanel>
58+
<TextBox Name="textWriter" TextChanged="Text_Changed" Background="#2D2D2D" BorderThickness="0" Foreground="white" TextWrapping="Wrap" AcceptsReturn="True"/>
59+
</DockPanel>
60+
<WrapPanel VerticalAlignment="Bottom">
61+
<Label Name="line" Content="Line 0" Foreground="White"/>
62+
<Label Name="cols" Content="Col 0" Foreground="White"/>
63+
</WrapPanel>
64+
65+
</Grid>
66+
</Window>

0 commit comments

Comments
 (0)