diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
| commit | 674ca83ba9243a9e95a7568c797668dab6aee26a (patch) | |
| tree | 4a905b3fb1d827665a34d63f67bc5559f8e7235b /Gestor.Application/Views/BI/AgendaBIView.cs | |
| download | gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.tar.gz gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.zip | |
feat: upload files
Diffstat (limited to 'Gestor.Application/Views/BI/AgendaBIView.cs')
| -rw-r--r-- | Gestor.Application/Views/BI/AgendaBIView.cs | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/Gestor.Application/Views/BI/AgendaBIView.cs b/Gestor.Application/Views/BI/AgendaBIView.cs new file mode 100644 index 0000000..33865eb --- /dev/null +++ b/Gestor.Application/Views/BI/AgendaBIView.cs @@ -0,0 +1,81 @@ +using System;
+using System.CodeDom.Compiler;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Markup;
+using System.Windows.Threading;
+
+namespace Gestor.Application.Views.BI
+{
+ public class AgendaBIView : UserControl, IComponentConnector
+ {
+ internal ContentControl NotasControl;
+
+ internal ContentControl TarefaControl;
+
+ internal ContentControl BiControl;
+
+ private bool _contentLoaded;
+
+ public AgendaBIView()
+ {
+ this.InitializeComponent();
+ System.Windows.Threading.Dispatcher dispatcher = base.Dispatcher;
+ if (dispatcher == null)
+ {
+ return;
+ }
+ dispatcher.BeginInvoke(DispatcherPriority.Render, new Action(this.ContentLoad));
+ }
+
+ private void ContentLoad()
+ {
+ NotasView notasView = new NotasView();
+ this.NotasControl.Content = notasView;
+ this.NotasControl.DataContext = notasView.DataContext;
+ TarefaView tarefaView = new TarefaView();
+ this.TarefaControl.Content = tarefaView;
+ this.TarefaControl.DataContext = tarefaView.DataContext;
+ }
+
+ [DebuggerNonUserCode]
+ [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent()
+ {
+ if (this._contentLoaded)
+ {
+ return;
+ }
+ this._contentLoaded = true;
+ System.Windows.Application.LoadComponent(this, new Uri("/Gestor.Application;component/views/bi/agendabiview.xaml", UriKind.Relative));
+ }
+
+ [DebuggerNonUserCode]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
+ {
+ switch (connectionId)
+ {
+ case 1:
+ {
+ this.NotasControl = (ContentControl)target;
+ return;
+ }
+ case 2:
+ {
+ this.TarefaControl = (ContentControl)target;
+ return;
+ }
+ case 3:
+ {
+ this.BiControl = (ContentControl)target;
+ return;
+ }
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
\ No newline at end of file |