Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (HostField != null)
            {
                HostField.Dispose();
                HostField = null;
            }

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

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

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

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

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

            if (PasswordField != null)
            {
                PasswordField.Dispose();
                PasswordField = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (ServiceOptionsLabel != null)
            {
                ServiceOptionsLabel.Dispose();
                ServiceOptionsLabel = null;
            }

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

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

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

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

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

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

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

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

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