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

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

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

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

            if (RegistrationButton != null)
            {
                RegistrationButton.Dispose();
                RegistrationButton = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (LoginField != null)
            {
                LoginField.Dispose();
                LoginField = null;
            }

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

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

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

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

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

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

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

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

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

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

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