Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (CallApiButton != null)
            {
                CallApiButton.Dispose();
                CallApiButton = null;
            }

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

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

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

            if (RefreshButton != null)
            {
                RefreshButton.Dispose();
                RefreshButton = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (CallApiButton != null)
     {
         CallApiButton.Dispose();
         CallApiButton = null;
     }
     if (LoginButton != null)
     {
         LoginButton.Dispose();
         LoginButton = null;
     }
     if (OutputTextView != null)
     {
         OutputTextView.Dispose();
         OutputTextView = null;
     }
 }