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

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

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

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

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

            if (RefreshBtn != null)
            {
                RefreshBtn.Dispose();
                RefreshBtn = null;
            }
        }
 public void TestTearDown()
 {
     NavigationItem.Dispose();
 }