コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\UI\Graficos.xaml"
                ((MetaWPF.UI.Graficos)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.graficoHistorico = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 3:
                this.tbMaxVl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.tbMinVl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.tbC3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.tbC4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.tbKWMedia = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.graficoTempoReal = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 9:
                this.gaugeCorrent = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 10:
                this.gaugePotencia = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 11:
                this.gaugeTensao = ((LiveCharts.Wpf.Gauge)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gaugeCorrent = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 2:
                this.gaugeTensao = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 3:
                this.gaugePotencia = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 4:
                this.graficoHistorico = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 5:
                this.graficoTempoReal = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 6:
                this.tbMaxVl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.tbMinVl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.tbC3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.tbC4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.tbKWMedia = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Field1 = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 2:
                this.Field2 = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 3:
                this.Field3 = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 4:
                this.Field4 = ((LiveCharts.Wpf.Gauge)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.preData = ((System.Windows.Controls.Label)(target));

            #line 94 "..\..\..\..\View\Sub_View\uc_DashBoard - 복사본.xaml"
                this.preData.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PreData_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 2:
                this.nextDate = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.workChart = ((LiveCharts.Wpf.Gauge)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 7:
                this.EnergySource = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 8:
                this.ProductionFromGenerators = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 9:
                this.EnergyFromSources = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 10:
                this.ManualCommanding = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\..\View\DERDashboardUserControl.xaml"
                this.ManualCommanding.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 11:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MeteoImage = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.WilayaLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.DateLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.SimilariteGauge = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 5:
                this.TmpMinGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.TempMin = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.TmpMaxGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.TempMax = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.HumiditeGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.HumiditeLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.HumiditeBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 12:
                this.PrecipitationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.PrecipitationLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.PrecipitationBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 15:
                this.DistanceDeVisibiliteGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.VisibiliteLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.VisibiliteBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 18:
                this.PressionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.PressionLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.PressionBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 21:
                this.NubulositeGrig = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.NubulisiteLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.NubulisiteBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Goal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.Rcal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.Gauge = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 4:
                this.Day1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Day2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Day3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Day4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.Day5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.Day6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.Day7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.day1v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.day2v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.day3v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.day4v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.day5v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.day6v = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.TodayIntake = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.CStep = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.GStep = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.StepProg = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.langButton = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 2:
                this.flagImg = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.enButton = ((System.Windows.Controls.MenuItem)(target));

            #line 37 "..\..\AnalysisWindow.xaml"
                this.enButton.Click += new System.Windows.RoutedEventHandler(this.EnButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ptButton = ((System.Windows.Controls.MenuItem)(target));

            #line 42 "..\..\AnalysisWindow.xaml"
                this.ptButton.Click += new System.Windows.RoutedEventHandler(this.PtButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.hbButton = ((System.Windows.Controls.MenuItem)(target));

            #line 47 "..\..\AnalysisWindow.xaml"
                this.hbButton.Click += new System.Windows.RoutedEventHandler(this.HbButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.leChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 7:
                this.selectProfilePicButton = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\AnalysisWindow.xaml"
                this.selectProfilePicButton.Click += new System.Windows.RoutedEventHandler(this.SelectProfilePicButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.profilePic = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.profileNameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.GaugeChart = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 11:
                this.accuracyText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.slValue = ((System.Windows.Controls.Slider)(target));

            #line 140 "..\..\AnalysisWindow.xaml"
                this.slValue.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlValue_ValueChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.lePieChart = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 14:
                this.sameFallLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.kmRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 171 "..\..\AnalysisWindow.xaml"
                this.kmRadioButton.Checked += new System.Windows.RoutedEventHandler(this.KmRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.miRadioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 172 "..\..\AnalysisWindow.xaml"
                this.miRadioButton.Checked += new System.Windows.RoutedEventHandler(this.MiRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.avgActDistLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\View\Sub_View\uc_DashBoard.xaml"
                ((WIFS.uc_DashBoard)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoad);

            #line default
            #line hidden
                return;

            case 2:
                this.lb_totalOverTime = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.leftOverTime = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.preData = ((System.Windows.Controls.Label)(target));

            #line 95 "..\..\..\..\View\Sub_View\uc_DashBoard.xaml"
                this.preData.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PreData_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.sDate = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.eDate = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lb_week = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.nextData = ((System.Windows.Controls.Label)(target));

            #line 121 "..\..\..\..\View\Sub_View\uc_DashBoard.xaml"
                this.nextData.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PreData_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.workChart = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 10:
                this.lb_workTime = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSettings_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitApplication_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 31 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenCredits_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.WebsiteUrlTextbox = ((System.Windows.Controls.TextBox)(target));

            #line 75 "..\..\..\UI\MainMenu.xaml"
                this.WebsiteUrlTextbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.WebsiteUrl_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.URLValidator = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 6:
                this.HitsTextbox = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\..\UI\MainMenu.xaml"
                this.HitsTextbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.HitsTextbox_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.HitsValidator = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 8:
                this.PageOneNextButton = ((System.Windows.Controls.Button)(target));
                return;

            case 9:

            #line 118 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddUserAgent_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.RemoveUserAgentButton = ((System.Windows.Controls.Button)(target));

            #line 123 "..\..\..\UI\MainMenu.xaml"
                this.RemoveUserAgentButton.Click += new System.Windows.RoutedEventHandler(this.RemoveUserAgent_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 131 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadUserAgents_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.UserAgentCountLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.UserAgentNextButton = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.UserAgentsDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 149 "..\..\..\UI\MainMenu.xaml"
                this.UserAgentsDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.UserAgentsDataGrid_SelectedCellsChanged);

            #line default
            #line hidden
                return;

            case 16:

            #line 189 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewReffererHost_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.RemoveReferrerButton = ((System.Windows.Controls.Button)(target));

            #line 194 "..\..\..\UI\MainMenu.xaml"
                this.RemoveReferrerButton.Click += new System.Windows.RoutedEventHandler(this.RemoveReferral_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 202 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadReferrals_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.ReferrerCountLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.ReferralNextButton = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.ReferrerDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 219 "..\..\..\UI\MainMenu.xaml"
                this.ReferrerDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.ReferralsDataGrid_SelectedCellsChanged);

            #line default
            #line hidden
                return;

            case 23:

            #line 259 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewProxyHost_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.RemoveProxyButton = ((System.Windows.Controls.Button)(target));

            #line 264 "..\..\..\UI\MainMenu.xaml"
                this.RemoveProxyButton.Click += new System.Windows.RoutedEventHandler(this.RemoveProxyButton_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 272 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadProxiesButton_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 280 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ScanProxiesButton_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 285 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.VerifyProxiesButton_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ProxyCountLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.ProxyNextButton = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.ProxiesDataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 302 "..\..\..\UI\MainMenu.xaml"
                this.ProxiesDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.ProxySelectedCell_Changed);

            #line default
            #line hidden
                return;

            case 32:

            #line 343 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TrafficBotStopButton_Click);

            #line default
            #line hidden
                return;

            case 33:

            #line 347 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.TrafficBotStartButton_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.TrafficProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 35:
                this.PreviewBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 36:
                this.HitsGauge = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 37:
                this.ConsoleBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.CreditHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 39:
                this.UserAgentHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 40:
                this.NewUserAgentTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:

            #line 471 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelNewUserAgent_Click);

            #line default
            #line hidden
                return;

            case 42:

            #line 473 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveNewUserAgent_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.NewReferralHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 44:
                this.NewReferralTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:

            #line 504 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelReferralHost_Click);

            #line default
            #line hidden
                return;

            case 46:

            #line 506 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveReferralHost_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.NewProxyHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 48:
                this.NewProxyTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.NewProxyPortTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:

            #line 541 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewProxyHostCancel_Click);

            #line default
            #line hidden
                return;

            case 51:

            #line 543 "..\..\..\UI\MainMenu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewProxyHostSave_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.SettingsHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 53:
                this.VerifyProxyHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 54:
                this.VerifyProxyProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 55:
                this.VerifyProxyLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.MessageQueue = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GaugeValue = ((LiveCharts.Wpf.Gauge)(target));
                return;

            case 2:
                this.OnGoingTasks_Bttn = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.OnGoingTasks_Bttn.Click += new System.Windows.RoutedEventHandler(this.OnGoingTasks_Bttn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.CompletedTasks_Bttn = ((System.Windows.Controls.Button)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.CompletedTasks_Bttn.Click += new System.Windows.RoutedEventHandler(this.CompletedTasks_Bttn_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 115 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 122 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.Date_Task = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.Time_Task = ((MaterialDesignThemes.Wpf.TimePicker)(target));
                return;

            case 8:
                this.Nameof_Task = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.Create_Task = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\MainWindow.xaml"
                this.Create_Task.Click += new System.Windows.RoutedEventHandler(this.Create_Task_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }