void ReleaseDesignerOutlets()
        {
            if (HistoryGraph != null)
            {
                HistoryGraph.Dispose();
                HistoryGraph = null;
            }

            if (InventoryIDLabel != null)
            {
                InventoryIDLabel.Dispose();
                InventoryIDLabel = null;
            }

            if (MachineStatesLogTable != null)
            {
                MachineStatesLogTable.Dispose();
                MachineStatesLogTable = null;
            }

            if (SensorSettingsButon != null)
            {
                SensorSettingsButon.Dispose();
                SensorSettingsButon = null;
            }

            if (ServiceButton != null)
            {
                ServiceButton.Dispose();
                ServiceButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CommentField != null)
            {
                CommentField.Dispose();
                CommentField = null;
            }

            if (ConfirmButton != null)
            {
                ConfirmButton.Dispose();
                ConfirmButton = null;
            }

            if (InventoryIDLabel != null)
            {
                InventoryIDLabel.Dispose();
                InventoryIDLabel = null;
            }

            if (RejectButton != null)
            {
                RejectButton.Dispose();
                RejectButton = null;
            }

            if (StateCommentLabel != null)
            {
                StateCommentLabel.Dispose();
                StateCommentLabel = null;
            }

            if (StateIcon != null)
            {
                StateIcon.Dispose();
                StateIcon = null;
            }

            if (StateTimeStartLabel != null)
            {
                StateTimeStartLabel.Dispose();
                StateTimeStartLabel = null;
            }

            if (StateUserLabel != null)
            {
                StateUserLabel.Dispose();
                StateUserLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AddPhotoButton != null)
            {
                AddPhotoButton.Dispose();
                AddPhotoButton = null;
            }

            if (DivisionLabel != null)
            {
                DivisionLabel.Dispose();
                DivisionLabel = null;
            }

            if (InventoryIDLabel != null)
            {
                InventoryIDLabel.Dispose();
                InventoryIDLabel = null;
            }

            if (MachineIcon != null)
            {
                MachineIcon.Dispose();
                MachineIcon = null;
            }

            if (MachineNameLabel != null)
            {
                MachineNameLabel.Dispose();
                MachineNameLabel = null;
            }

            if (MachinePhotosCollection != null)
            {
                MachinePhotosCollection.Dispose();
                MachinePhotosCollection = null;
            }
        }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (BorderFromField != null)
            {
                BorderFromField.Dispose();
                BorderFromField = null;
            }

            if (BorderToField != null)
            {
                BorderToField.Dispose();
                BorderToField = null;
            }

            if (ChancelButton != null)
            {
                ChancelButton.Dispose();
                ChancelButton = null;
            }

            if (CountersButton != null)
            {
                CountersButton.Dispose();
                CountersButton = null;
            }

            if (DivisionLabel != null)
            {
                DivisionLabel.Dispose();
                DivisionLabel = null;
            }

            if (HoursField != null)
            {
                HoursField.Dispose();
                HoursField = null;
            }

            if (InventoryIDLabel != null)
            {
                InventoryIDLabel.Dispose();
                InventoryIDLabel = null;
            }

            if (MachineIcon != null)
            {
                MachineIcon.Dispose();
                MachineIcon = null;
            }

            if (MachineNameLabel != null)
            {
                MachineNameLabel.Dispose();
                MachineNameLabel = null;
            }

            if (MinutesField != null)
            {
                MinutesField.Dispose();
                MinutesField = null;
            }

            if (OkButton != null)
            {
                OkButton.Dispose();
                OkButton = null;
            }

            if (PhotoButton != null)
            {
                PhotoButton.Dispose();
                PhotoButton = null;
            }

            if (SecondsField != null)
            {
                SecondsField.Dispose();
                SecondsField = null;
            }

            if (SensorIcon != null)
            {
                SensorIcon.Dispose();
                SensorIcon = null;
            }

            if (SensorsButton != null)
            {
                SensorsButton.Dispose();
                SensorsButton = null;
            }

            if (ValueSymbolFromLabel != null)
            {
                ValueSymbolFromLabel.Dispose();
                ValueSymbolFromLabel = null;
            }

            if (ValueSymbolToLabel != null)
            {
                ValueSymbolToLabel.Dispose();
                ValueSymbolToLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ChancelButton != null)
            {
                ChancelButton.Dispose();
                ChancelButton = null;
            }

            if (DivisionLabel != null)
            {
                DivisionLabel.Dispose();
                DivisionLabel = null;
            }

            if (InventoryIDLabel != null)
            {
                InventoryIDLabel.Dispose();
                InventoryIDLabel = null;
            }

            if (MachineIcon != null)
            {
                MachineIcon.Dispose();
                MachineIcon = null;
            }

            if (MachineNameLabel != null)
            {
                MachineNameLabel.Dispose();
                MachineNameLabel = null;
            }

            if (OkButton != null)
            {
                OkButton.Dispose();
                OkButton = null;
            }

            if (Setting1Field != null)
            {
                Setting1Field.Dispose();
                Setting1Field = null;
            }

            if (Setting1Label != null)
            {
                Setting1Label.Dispose();
                Setting1Label = null;
            }

            if (Setting2Field != null)
            {
                Setting2Field.Dispose();
                Setting2Field = null;
            }

            if (Setting2Label != null)
            {
                Setting2Label.Dispose();
                Setting2Label = null;
            }

            if (Setting3Field != null)
            {
                Setting3Field.Dispose();
                Setting3Field = null;
            }

            if (Setting3Label != null)
            {
                Setting3Label.Dispose();
                Setting3Label = null;
            }

            if (SettingsTotalLabel != null)
            {
                SettingsTotalLabel.Dispose();
                SettingsTotalLabel = null;
            }
        }