private static void SetupButton(BorderIconButton button, BooleanQuestionButton booleanQuestionButton) { button.Icon = booleanQuestionButton.Icon; button.Header = booleanQuestionButton.Header; button.Text = booleanQuestionButton.Description; button.HighlightColour = booleanQuestionButton.Highlight; }
private void ModelSystemSelector_ItemRightClicked(BorderIconButton buttonPressed, object data) { this.CurrentModelSystem = data as IModelSystemStructure; }
private void PastRuns_ItemRightClicked(BorderIconButton button, object obj) { this.SelectedButton = button; this.SelectedRunName = obj as string; }
private void Selector_ItemRightClicked(BorderIconButton button, object data) { this.CurrentModelSystem = data as IModelSystem; }