public void SetPage(Troop.Page page) { this._page = page; this.eventTextBox.Parse(page.list); }
private void DataObjectListOnListBoxIndexChanged(object sender, EventArgs e) { var index = this.dataObjectList.SelectedIndex; if (index < 0) return; this._troop = this.Data[index + 1]; this.RefreshCurrentObject(); }