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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (StopSessionButton != null)
            {
                StopSessionButton.Dispose();
                StopSessionButton = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (CloseSessionButton != null)
     {
         CloseSessionButton.Dispose();
         CloseSessionButton = null;
     }
     if (FlushButton != null)
     {
         FlushButton.Dispose();
         FlushButton = null;
     }
     if (HTTPClientButton != null)
     {
         HTTPClientButton.Dispose();
         HTTPClientButton = null;
     }
     if (LogEventWithTagButton != null)
     {
         LogEventWithTagButton.Dispose();
         LogEventWithTagButton = null;
     }
     if (LogHandledException1Button != null)
     {
         LogHandledException1Button.Dispose();
         LogHandledException1Button = null;
     }
     if (LogHandledException2Button != null)
     {
         LogHandledException2Button.Dispose();
         LogHandledException2Button = null;
     }
     if (ModernHttpClientButton != null)
     {
         ModernHttpClientButton.Dispose();
         ModernHttpClientButton = null;
     }
     if (NSUrlConnectionButton != null)
     {
         NSUrlConnectionButton.Dispose();
         NSUrlConnectionButton = null;
     }
     if (NSUrlSessionButton != null)
     {
         NSUrlSessionButton.Dispose();
         NSUrlSessionButton = null;
     }
     if (StartSessionButton != null)
     {
         StartSessionButton.Dispose();
         StartSessionButton = null;
     }
     if (StartTransactionButton != null)
     {
         StartTransactionButton.Dispose();
         StartTransactionButton = null;
     }
     if (StopTransactionButton != null)
     {
         StopTransactionButton.Dispose();
         StopTransactionButton = null;
     }
     if (UnobservedTaskButton != null)
     {
         UnobservedTaskButton.Dispose();
         UnobservedTaskButton = null;
     }
     if (WebRequestButton != null)
     {
         WebRequestButton.Dispose();
         WebRequestButton = null;
     }
 }