Beispiel #1
0
 private void UpdateConditionDisplay()
 {
     if (_SelectedCondition == null)
     {
         ConditionDetailWebView.LoadHtmlString("", new NSUrl("http://localhost/"));
     }
     else
     {
         ConditionDetailWebView.LoadHtmlString(ConditionHTML(_SelectedCondition), new NSUrl("http://localhost/"));
     }
 }
Beispiel #2
0
 private void UpdateConditionDisplay()
 {
     if (_SelectedCondition == null)
     {
         ConditionDetailWebView.LoadHtmlString("", new NSUrl("http://localhost/"));
         DeleteButton.Hidden = true;
     }
     else
     {
         DeleteButton.Hidden = !_SelectedCondition.Custom;
         ConditionDetailWebView.LoadHtmlString(ConditionHTML(_SelectedCondition), new NSUrl("http://localhost/"));
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (AfflictionsTab != null)
            {
                AfflictionsTab.Dispose();
                AfflictionsTab = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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