public bool Save() { bool saveResult = false; if (SaveCheck()) { sessionGeneralControl1.Save(); _session.AddSigns(signList1.SignListItems.ToArray()); categoryControl1.Save(); hotButtonControl1.Save(); if (_session.IsNew) { if (SessionCommon.AddSession(_session.Copy())) { MsgBox.Information(Resource.GetString(Resource.Strings.LiveSessionAddSuccessful)); _session.ChangedService.AcceptChanged(); } else { MsgBox.Information(Resource.GetString(Resource.Strings.LiveSessionAddFailure)); } } else { if (SessionCommon.UpdateSession()) { MsgBox.Information(Resource.GetString(Resource.Strings.LiveSessionUpdateSuccessful)); _session.ChangedService.AcceptChanged(); } else { MsgBox.Information(Resource.GetString(Resource.Strings.LiveSessionUpdateFailure)); } } saveResult = true; } //LiveModule live = new LiveModule(); //live.InitTabControl(); return(saveResult); }