Ejemplo n.º 1
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (this.lvWindowTheme.SelectedItems.Count > 0)
                userProfile.WindowTheme = this.lvWindowTheme.Items[this.lvWindowTheme.SelectedIndices[0]].Text;
            //userProfile.DefaultModuleId = (Int32)this.lvSystemModule.Items[this.lvSystemModule.SelectedIndices[1]].Tag;

            var args = new UserProfileChangedEventArgs(this.userProfile);

            UserProfileChanged(this, args);
        }
Ejemplo n.º 2
0
 public void userProfileForm_UserProfileChanged(object sender, UserProfileChangedEventArgs e)
 {
     SessionContext.UserProfile = e.UserProfile;
 }