public void NewbieSelActivityByType(int inTypeId) { Activity_title activity_title = null; if (this.dicComs != null && this.dicComs.TryGetValue(inTypeId, out activity_title) && activity_title != null && activity_title.toggle != null) { activity_title.Checked = true; } }
private void OnSelectTitle(Activity_title com) { if (this.OnTopTitleChange != null && this.curTitle != com.Info.id && this.config.ContainsKey(this.curTitle)) { this.curTitle = com.Info.id; this.AType = com.AType; this.OnTopTitleChange(); } }