예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (AddFileInTaskButton != null)
            {
                AddFileInTaskButton.Dispose();
                AddFileInTaskButton = null;
            }

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

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

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

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

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

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

            if (TaskName != null)
            {
                TaskName.Dispose();
                TaskName = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (DeleteMarkerButton != null)
            {
                DeleteMarkerButton.Dispose();
                DeleteMarkerButton = null;
            }

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

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

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

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

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

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

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