private void grid_OnPropertySelected(object sender, PropertySelectedArgs e) { TranslationManager.TranslationDialogueLine.Line data = e.Item.Data as TranslationManager.TranslationDialogueLine.Line; if (data != null) { this.selectedLine = data; this.btnRemoveLine.Enabled = data.IsUser; } }
private void grid_OnPropertySelected(object sender, PropertySelectedArgs e) { this.SelectionControl.Text = e.Section.Name; this.DescriptionControl.Text = e.Item.Description; this.revertItem.Visible = this.Item.getState(e.Section.Name, e.Item.Data.ToString()) == GameData.State.MODIFIED; }
private void grid_OnPropertySelected(object sender, PropertySelectedArgs e) { this.SelectionControl.Text = e.Item.Name; this.DescriptionControl.Text = e.Item.Description; }
private void referenceList_OnPropertySelected(object sender, PropertySelectedArgs e) { this.selected.Text = e.Section.Name; this.description.Text = GameData.getDesc(this.Item.type, e.Section.Name).description; }