This commit is contained in:
Stone-Red-Code
2021-03-27 00:35:24 +01:00
parent ad3d58b967
commit 4fa7fb9597
21 changed files with 40 additions and 53 deletions
Binary file not shown.
Binary file not shown.
-3
View File
@@ -1,7 +1,4 @@
using Imgur.API.Authentication;
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows;
using System.Windows.Controls;
+4 -2
View File
@@ -31,8 +31,10 @@
<RowDefinition Height="8*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<Button Background="#2C2C2C" Style="{StaticResource FancyButton}" MouseEnter="EditButton_MouseEnter" MouseLeave="EditButton_MouseLeave" Click="EditButton_Click" Cursor="Hand">
<Button Style="{StaticResource FancyButton}" MouseEnter="EditButton_MouseEnter" MouseLeave="EditButton_MouseLeave" Click="EditButton_Click" Cursor="Hand">
<Button.Background>
<ImageBrush />
</Button.Background>
<Grid>
<Image x:Name="imageBox" Stretch="Uniform" />
<Label x:Name="editLabel" Content="EDIT" Visibility="Collapsed" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="36" FontWeight="Bold" FontFamily="Myanmar Text" />
-5
View File
@@ -1,11 +1,6 @@
using Imgur.API.Authentication;
using Imgur.API.Endpoints;
using System;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using System.Windows.Threading;
-4
View File
@@ -1,13 +1,9 @@
using Imgur.API.Authentication;
using Imgur.API.Endpoints;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
namespace ImgurAutoUploader
@@ -1,11 +1,10 @@
#pragma checksum "..\..\..\EditWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FF464D22B32577E51CF7AA00EA9135DC1EF04854"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
// This code was generated by a tool.
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -101,7 +101,7 @@ namespace ImgurAutoUploader {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;component/editwindow.xaml", System.UriKind.Relative);
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;V1.0.0.0;component/editwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\EditWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -1,11 +1,10 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "43CFCDD3DC27B6CD023BA81B4A8154CE4E084BD4"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
// This code was generated by a tool.
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -53,7 +53,7 @@ namespace ImgurAutoUploader {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;component/mainwindow.xaml", System.UriKind.Relative);
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -1,11 +1,10 @@
#pragma checksum "..\..\..\Popup.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E8BB361697A9B980F7443BA56E1FE22F9F6F77C4"
#pragma checksum "..\..\..\Popup.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7167FD1403ED7403C07D0AE4DD8C1AC886B28BA1"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
// This code was generated by a tool.
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -50,7 +49,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 37 "..\..\..\Popup.xaml"
#line 39 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imageBox;
@@ -58,7 +57,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 38 "..\..\..\Popup.xaml"
#line 40 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label editLabel;
@@ -66,7 +65,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 46 "..\..\..\Popup.xaml"
#line 48 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ProgressBar UploadProgressBar;
@@ -74,7 +73,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 47 "..\..\..\Popup.xaml"
#line 49 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock LinkTextBlock;
@@ -82,7 +81,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 48 "..\..\..\Popup.xaml"
#line 50 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button UploadButton;
@@ -90,7 +89,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 49 "..\..\..\Popup.xaml"
#line 51 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button SecretButton;
@@ -144,19 +143,19 @@ namespace ImgurAutoUploader {
return;
case 2:
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.EditButton_MouseEnter);
#line default
#line hidden
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.EditButton_MouseLeave);
#line default
#line hidden
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);
#line default
@@ -177,7 +176,7 @@ namespace ImgurAutoUploader {
case 7:
this.UploadButton = ((System.Windows.Controls.Button)(target));
#line 48 "..\..\..\Popup.xaml"
#line 50 "..\..\..\Popup.xaml"
this.UploadButton.Click += new System.Windows.RoutedEventHandler(this.UploadButton_Click);
#line default
@@ -186,7 +185,7 @@ namespace ImgurAutoUploader {
case 8:
this.SecretButton = ((System.Windows.Controls.Button)(target));
#line 49 "..\..\..\Popup.xaml"
#line 51 "..\..\..\Popup.xaml"
this.SecretButton.Click += new System.Windows.RoutedEventHandler(this.SecretButton_Click);
#line default
@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\Popup.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E8BB361697A9B980F7443BA56E1FE22F9F6F77C4"
#pragma checksum "..\..\..\Popup.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7167FD1403ED7403C07D0AE4DD8C1AC886B28BA1"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@@ -50,7 +50,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 37 "..\..\..\Popup.xaml"
#line 39 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image imageBox;
@@ -58,7 +58,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 38 "..\..\..\Popup.xaml"
#line 40 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label editLabel;
@@ -66,7 +66,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 46 "..\..\..\Popup.xaml"
#line 48 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ProgressBar UploadProgressBar;
@@ -74,7 +74,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 47 "..\..\..\Popup.xaml"
#line 49 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock LinkTextBlock;
@@ -82,7 +82,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 48 "..\..\..\Popup.xaml"
#line 50 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button UploadButton;
@@ -90,7 +90,7 @@ namespace ImgurAutoUploader {
#line hidden
#line 49 "..\..\..\Popup.xaml"
#line 51 "..\..\..\Popup.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button SecretButton;
@@ -109,7 +109,7 @@ namespace ImgurAutoUploader {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;component/popup.xaml", System.UriKind.Relative);
System.Uri resourceLocater = new System.Uri("/ImgurAutoUploader;V1.0.0.0;component/popup.xaml", System.UriKind.Relative);
#line 1 "..\..\..\Popup.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
@@ -144,19 +144,19 @@ namespace ImgurAutoUploader {
return;
case 2:
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.EditButton_MouseEnter);
#line default
#line hidden
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.EditButton_MouseLeave);
#line default
#line hidden
#line 35 "..\..\..\Popup.xaml"
#line 34 "..\..\..\Popup.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);
#line default
@@ -177,7 +177,7 @@ namespace ImgurAutoUploader {
case 7:
this.UploadButton = ((System.Windows.Controls.Button)(target));
#line 48 "..\..\..\Popup.xaml"
#line 50 "..\..\..\Popup.xaml"
this.UploadButton.Click += new System.Windows.RoutedEventHandler(this.UploadButton_Click);
#line default
@@ -186,7 +186,7 @@ namespace ImgurAutoUploader {
case 8:
this.SecretButton = ((System.Windows.Controls.Button)(target));
#line 49 "..\..\..\Popup.xaml"
#line 51 "..\..\..\Popup.xaml"
this.SecretButton.Click += new System.Windows.RoutedEventHandler(this.SecretButton_Click);
#line default