void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.enabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 2:
                this.visibleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 3:
                this.DownButton = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 4:
                this.DownButton1 = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 5:
                this.SplitButton0 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;

            case 6:
                this.SplitButton1 = ((MahApps.Metro.Controls.SplitButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flyoutModuleInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:

            #line 128 "..\..\..\Views\PumpingWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyEnterUpdate);

            #line default
            #line hidden
                return;

            case 3:
                this.flyoutErrorInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

            case 5:
                this.radioButtonBoreHoleInsideDiameter16 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.radioButtonBoreHoleInsideDiameter24 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radioButtonBoreHoleInsideDiameter30 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.radioButtonBoreHoleInsideDiameter36 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.dropDownNominalPipeOutsideDiameter = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 10:
                this.dropDownEstimatedIronPipeSizeStandardDiameterRatioNumber = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 11:
                this.checkBoxAirVacuumReleaseAssemblies = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.checkBoxSoftStartVfd = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow_Window = ((Analyzer.MainWindow)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainWindow_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.sldSourceScale = ((System.Windows.Controls.Slider)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.sldSourceScale.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldSourceScale_ValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.cboDevices = ((System.Windows.Controls.ComboBox)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.cboDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDevices_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 5:
                this.spcSource = ((Analyzer.Spectrum)(target));
                return;

            case 6:
                this.btnNewDevice = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.btnNewDevice.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.BtnRefresh_Click_1);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.BtnSettings_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.btnNetworkscanner.Click += new System.Windows.RoutedEventHandler(this.BtnNetworkscanner_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.grpMaster = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.ddbSettings = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.sldSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldSpeed_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.btnReboot.Click += new System.Windows.RoutedEventHandler(this.btnReboot_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnAlexa = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.btnAlexa.Click += new System.Windows.RoutedEventHandler(this.btnAlexa_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnOTA = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.btnOTA.Click += new System.Windows.RoutedEventHandler(this.btnOTA_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.grpDevices = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 17:
                this.icDevices = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\MainWindow.xaml"
                ((EDEngineer.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindowLoaded);

            #line default
            #line hidden
                return;

            case 5:

            #line 116 "..\..\MainWindow.xaml"
                ((System.Windows.Media.Animation.DoubleAnimation)(target)).Completed += new System.EventHandler(this.WindowActivatedCompleted);

            #line default
            #line hidden
                return;

            case 6:

            #line 122 "..\..\MainWindow.xaml"
                ((System.Windows.Media.Animation.DoubleAnimation)(target)).Completed += new System.EventHandler(this.WindowDeactivatedCompleted);

            #line default
            #line hidden
                return;

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

            case 8:
                this.Commodities = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 9:
                this.Materials = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 10:
                this.Data = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 11:
                this.Splitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 12:
                this.IngredientFiltersDropDown = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 13:
                this.Blueprints = ((System.Windows.Controls.DataGrid)(target));

            #line 399 "..\..\MainWindow.xaml"
                this.Blueprints.Loaded += new System.Windows.RoutedEventHandler(this.BlueprintsDataGridLoaded);

            #line default
            #line hidden
                return;

            case 14:
                this.ResetWindowPositionButton = ((System.Windows.Controls.Button)(target));

            #line 582 "..\..\MainWindow.xaml"
                this.ResetWindowPositionButton.Click += new System.Windows.RoutedEventHandler(this.ResetWindowPositionButtonClicked);

            #line default
            #line hidden
                return;

            case 15:
                this.ToggleEditMode = ((System.Windows.Controls.Button)(target));

            #line 589 "..\..\MainWindow.xaml"
                this.ToggleEditMode.Click += new System.Windows.RoutedEventHandler(this.ToggleEditModeChecked);

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DeviceControlItem = ((Analyzer.DeviceControl)(target));
                return;

            case 2:
                this.grpDevice = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 4:
                this.tbtnPower = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 32 "..\..\DeviceControl.xaml"
                this.tbtnPower.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 32 "..\..\DeviceControl.xaml"
                this.tbtnPower.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.sld = ((System.Windows.Controls.Slider)(target));

            #line 42 "..\..\DeviceControl.xaml"
                this.sld.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.DeviceSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.ckbEnable = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 46 "..\..\DeviceControl.xaml"
                this.ckbEnable.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.CkbEnable_Changed);

            #line default
            #line hidden

            #line 46 "..\..\DeviceControl.xaml"
                this.ckbEnable.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.CkbEnable_Changed);

            #line default
            #line hidden
                return;

            case 9:
                this.ddbSettings = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 10:
                this.ckbSmoothing = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 52 "..\..\DeviceControl.xaml"
                this.ckbSmoothing.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.CkbSmoothing_Changed);

            #line default
            #line hidden

            #line 52 "..\..\DeviceControl.xaml"
                this.ckbSmoothing.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.CkbSmoothing_Changed);

            #line default
            #line hidden
                return;

            case 11:
                this.lblSpeed = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 59 "..\..\DeviceControl.xaml"
                this.sldSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldSpeed_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\DeviceControl.xaml"
                this.btnReboot.Click += new System.Windows.RoutedEventHandler(this.btnReboot_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnAlexa = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\DeviceControl.xaml"
                this.btnAlexa.Click += new System.Windows.RoutedEventHandler(this.btnAlexa_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnOTA = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\DeviceControl.xaml"
                this.btnOTA.Click += new System.Windows.RoutedEventHandler(this.btnOTA_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnWeb = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\DeviceControl.xaml"
                this.btnWeb.Click += new System.Windows.RoutedEventHandler(this.BtnWeb_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\DeviceControl.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.BtnEdit_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ddbVisualizers = ((MahApps.Metro.Controls.DropDownButton)(target));

            #line 76 "..\..\DeviceControl.xaml"
                this.ddbVisualizers.Click += new System.Windows.RoutedEventHandler(this.ddb_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 20:
                this.ddbPatterns = ((MahApps.Metro.Controls.DropDownButton)(target));

            #line 83 "..\..\DeviceControl.xaml"
                this.ddbPatterns.Click += new System.Windows.RoutedEventHandler(this.ddb_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 22:
                this.ddbTwinkles = ((MahApps.Metro.Controls.DropDownButton)(target));

            #line 90 "..\..\DeviceControl.xaml"
                this.ddbTwinkles.Click += new System.Windows.RoutedEventHandler(this.ddb_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 24:
                this.spcDev = ((Analyzer.Spectrum)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Planimetry = ((System.Windows.Controls.TabItem)(target));
                return;

            case 2:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.NomeStanza1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.ListaStanza1 = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.Grid2 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 8:
                this.ListaStanza2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.Grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 12:
                this.ListaStanza3 = ((System.Windows.Controls.ListView)(target));
                return;

            case 14:
                this.Grid4 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 16:
                this.ListaStanza4 = ((System.Windows.Controls.ListView)(target));
                return;

            case 18:
                this.UserTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.newUser = ((System.Windows.Controls.Button)(target));

            #line 206 "..\..\BigWindow.xaml"
                this.newUser.Click += new System.Windows.RoutedEventHandler(this.newUser_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Users = ((System.Windows.Controls.ListView)(target));
                return;

            case 22:
                this.VisitorTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.newVisitor = ((System.Windows.Controls.Button)(target));

            #line 312 "..\..\BigWindow.xaml"
                this.newVisitor.Click += new System.Windows.RoutedEventHandler(this.newVisitor_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.Visitors = ((System.Windows.Controls.ListView)(target));
                return;

            case 26:
                this.History = ((System.Windows.Controls.TabItem)(target));
                return;

            case 27:
                this.Utenti = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 29:
                this.Rooms = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 31:
                this.SelectedEmployees = ((System.Windows.Controls.ListView)(target));
                return;

            case 32:

            #line 417 "..\..\BigWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Employees);

            #line default
            #line hidden
                return;

            case 33:
                this.SelectedRooms = ((System.Windows.Controls.ListView)(target));
                return;

            case 34:

            #line 429 "..\..\BigWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Rooms);

            #line default
            #line hidden
                return;

            case 35:
                this.fromDate = ((System.Windows.Controls.DatePicker)(target));

            #line 438 "..\..\BigWindow.xaml"
                this.fromDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.fromDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.toDate = ((System.Windows.Controls.DatePicker)(target));

            #line 439 "..\..\BigWindow.xaml"
                this.toDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.toDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.listContent = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flyoutModuleInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:

            #line 128 "..\..\..\Views\ReactionTankWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyEnterUpdate);

            #line default
            #line hidden
                return;

            case 3:
                this.flyoutWaterQuality = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:
                this.flyoutErrorInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

            case 6:
                this.radioButtonReactionTankDesignFiberglass = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radioButtonReactionTankDesignConcreteSteel = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.dropDownFiberglassVolumes = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 9:
                this.dropDownConcreteSteelMaterials = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 10:
                this.dropDownConcreteSteelVolumes = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 11:
                this.dropDownTankProtectiveCoating = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 12:
                this.checkBoxMixer = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.radioButtonMixerEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.radioButtonMixerUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.dropDownMixers = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 16:
                this.checkBoxVariableFrequencyDrive = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.checkBoxCatwalk = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.checkBoxStairs = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.radioButtonCapitalCostInstallationCostMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.radioButtonCapitalCostInstallationCostUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.radioButtonAnnualCostOperationAndMaintanenceMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.radioButtonAnnualCostOperationAndMaintanenceUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.radioButtonAnnualCostElectricEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 24:
                this.radioButtonAnnualCostElectricUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flyoutModuleInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:

            #line 129 "..\..\..\Views\ClarifierWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyEnterUpdate);

            #line default
            #line hidden
                return;

            case 3:
                this.flyoutWaterQuality = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:
                this.flyoutErrorInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

            case 6:
                this.radioButtonConventional = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radioButtonSolidsContact = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.dropDownClarifierConstructionMaterial = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 9:
                this.checkBoxDensityCurrentBaffle = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.dropDownTankProtectiveCoating = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 11:
                this.radioButtonImpellerMotorEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.radioButtonImpellerMotorUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.checkBoxSludgeRecirculationPump = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.radioButtonSludgeRecirculationPumpEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 17:
                this.radioButtonSludgeDisposalPumpUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.dropDownNominalPipeOutsideDiameter = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 19:
                this.dropDownEstimatedIronPipeSizeStandardDiameterRatioNumber = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 20:
                this.checkBoxAirVacuumReleaseAssemblies = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.checkBoxPigLauncherReceiverAssemblies = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.radioButtonSludgeDisposalBorehole = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.checkBoxBorehole1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.dropDownBorehole1InsideDiameter = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 25:
                this.checkBoxBorehole2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.dropDownBorehole2InsideDiameter = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 27:
                this.checkBoxBorehole3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.dropDownBorehole3InsideDiameter = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 29:
                this.radioButtonSludgeDisposalGeotube = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.checkBoxPolymer = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 31:
                this.checkBoxLandfillTippingFee = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.radioButtonCapitalCostInstallationCostMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 33:
                this.radioButtonCapitalCostInstallationCostUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 34:
                this.radioButtonAnnualCostOperationAndMaintanenceMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 35:
                this.radioButtonAnnualCostOperationAndMaintanenceUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.radioButtonAnnualCostElectricEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 37:
                this.radioButtonAnnualCostElectricUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 38:
                this.radioButtonAnnualCostGeotubeSludgeDisposalEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.radioButtonAnnualCostGeotubeSludgeDisposalUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flyoutModuleInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:

            #line 128 "..\..\..\Views\DryLimeWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyEnterUpdate);

            #line default
            #line hidden
                return;

            case 3:
                this.flyoutWaterQuality = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:
                this.flyoutErrorInformation = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 5:
                this.radioButtonHydratedLime = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.radioButtonDryLime = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radioButtonChemicalConsumptionStoichiometric = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.radioButtonChemicalConsumptionTitration = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.radioButtonChemicalConsumptionUserSpecifiedQuantity = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.checkBoxSiloSystem = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.radioButtonSiloSystemEstimated = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.dropDownSiloSystemEstimated = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 13:
                this.radioButtonSiloSystemUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.checkBoxDustCollectorBlower = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.checkBoxBinActivator = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.checkBoxScrewFeeder = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.checkBoxSlurryMixerAndPump = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.checkBoxSiloExhaustFan = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.checkBoxSiloSpaceHeater = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.radioButtonFoundationEstimated = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.radioButtonFoundationUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.radioButtonSystemInstallCostMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.radioButtonSystemInstallCostUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 24:
                this.radioButtonAnnualCostChemicalEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.radioButtonAnnualCostChemicalUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 26:
                this.radioButtonAnnualCostOperationAndMaintanenceMultiplier = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 27:
                this.radioButtonAnnualCostOperationAndMaintanenceUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 28:
                this.radioButtonAnnualCostElectricEstimate = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 29:
                this.radioButtonAnnualCostElectricUserSpecified = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #10
0
        private static void IsExpandedPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            DropDownButton dropDownButton = (DropDownButton)dependencyObject;

            dropDownButton.SetContextMenuPlacementTarget(dropDownButton._contextMenu);
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.messageWindow = ((Messenger.MessageWindow)(target));
     
     #line 16 "..\..\MessageWindow.xaml"
     this.messageWindow.Closing += new System.ComponentModel.CancelEventHandler(this.OnClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 29 "..\..\MessageWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.buttonAttach_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 30 "..\..\MessageWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemAttachFolder_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 31 "..\..\MessageWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemClear_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ItemsControlMessage = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 7:
     this.grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.attachmentPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 9:
     this.listBoxAttachmentList = ((System.Windows.Controls.ListBox)(target));
     
     #line 334 "..\..\MessageWindow.xaml"
     this.listBoxAttachmentList.Drop += new System.Windows.DragEventHandler(this.listBoxAttachmentList_Drop);
     
     #line default
     #line hidden
     
     #line 337 "..\..\MessageWindow.xaml"
     this.listBoxAttachmentList.SizeChanged += new System.Windows.SizeChangedEventHandler(this.listBoxAttachmentList_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 355 "..\..\MessageWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.OnContextMenuOpenning);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 364 "..\..\MessageWindow.xaml"
     ((System.Windows.Controls.ContextMenu)(target)).ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.OnContextMenuOpenning);
     
     #line default
     #line hidden
     return;
     case 12:
     this.DownButton1 = ((MahApps.Metro.Controls.DropDownButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.enabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 2:
     this.visibleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 3:
     this.DownButton = ((MahApps.Metro.Controls.DropDownButton)(target));
     return;
     case 4:
     this.DownButton1 = ((MahApps.Metro.Controls.DropDownButton)(target));
     return;
     case 5:
     this.SplitButton0 = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 6:
     this.SplitButton1 = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     }
     this._contentLoaded = true;
 }