protected override void OnTerminated() { base.OnTerminated(); UserDataPersistenceService service = new UserDataPersistenceService("Project"); service["ActiveView"] = _isShowChart ? "Diagram" : "List"; service.Save(); }
protected override void OnClosed(EventArgs e) { _persistenceService["SplitterPosition"] = splitContainerControl1.SplitterPosition; _ribbonPersistenceService["Check"] = ribbon.SelectedPage.PageIndex; _ribbonPersistenceService["Exspan"] = ribbon.Minimized; _persistenceService.Save(); _ribbonPersistenceService.Save(); base.OnClosed(e); }
protected override void OnClosed(EventArgs e) { base.OnClosed(e); var parameter = CreateUserLoginParameter(); parameter.ServerName = RemoveProtocal(parameter.ServerName); parameter.ServiceName = RemoveProtocal(parameter.ServiceName); _persistenceService[ParameterSettingName] = parameter; _persistenceService.Save(); }
protected override void OnTerminated() { base.OnTerminated(); UserDataPersistenceService service = new UserDataPersistenceService("ProjectTask"); service["ActiveView"] = _isShowChart ? "Diagram" : "List"; service["ProjectId"] = Filter.ProjectId; service["ProjectIterationId"] = Filter.ProjectIterationId; service["MemberId"] = Filter.MemberId; service.Save(); }