Exemple #1
0
 public override string ToString()
 {
     return($"{OneMinute.ToString("0.00", CultureInfo.InvariantCulture)} {FiveMinutes.ToString("0.00", CultureInfo.InvariantCulture)} {FifteenMinutes.ToString("0.00", CultureInfo.InvariantCulture)}");
 }
        void ReleaseDesignerOutlets()
        {
            if (APIKeyInput != null)
            {
                APIKeyInput.Dispose();
                APIKeyInput = null;
            }

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

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

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

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

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

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

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

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

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

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