summaryrefslogtreecommitdiff
path: root/Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs')
-rw-r--r--Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs61
1 files changed, 61 insertions, 0 deletions
diff --git a/Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs b/Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs
new file mode 100644
index 0000000..22d7b65
--- /dev/null
+++ b/Decompiler/Gestor.Application.Views.Generic/DragOverPopup.cs
@@ -0,0 +1,61 @@
+using System;
+using System.CodeDom.Compiler;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Markup;
+using Gestor.Model.Domain.Ferramentas;
+
+namespace Gestor.Application.Views.Generic;
+
+public class DragOverPopup : UserControl, IComponentConnector
+{
+ internal TextBlock Titulo;
+
+ internal TextBlock Descricao;
+
+ private bool _contentLoaded;
+
+ public DragOverPopup(Tarefa tarefa)
+ {
+ InitializeComponent();
+ Titulo.Text = tarefa.Titulo;
+ Descricao.Text = tarefa.Descricao;
+ }
+
+ [DebuggerNonUserCode]
+ [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent()
+ {
+ if (!_contentLoaded)
+ {
+ _contentLoaded = true;
+ Uri uri = new Uri("/Gestor.Application;component/views/generic/dragoverpopup.xaml", UriKind.Relative);
+ Application.LoadComponent((object)this, uri);
+ }
+ }
+
+ [DebuggerNonUserCode]
+ [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ void IComponentConnector.Connect(int connectionId, object target)
+ {
+ //IL_000c: Unknown result type (might be due to invalid IL or missing references)
+ //IL_0016: Expected O, but got Unknown
+ //IL_0019: Unknown result type (might be due to invalid IL or missing references)
+ //IL_0023: Expected O, but got Unknown
+ switch (connectionId)
+ {
+ case 1:
+ Titulo = (TextBlock)target;
+ break;
+ case 2:
+ Descricao = (TextBlock)target;
+ break;
+ default:
+ _contentLoaded = true;
+ break;
+ }
+ }
+}