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

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

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

            if (NavigationItem != null)
            {
                NavigationItem.Dispose();
                NavigationItem = null;
            }
        }
예제 #2
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;
            }
        }