}//end load user list /// <summary> /// this method is for appList which will fill the text values based on the select indexs for apps /// </summary> /// <param name="sender">sender object</param> /// <param name="e">argument e</param> private void AppList_SelectedIndexChanged(object sender, EventArgs e) { App selectedApp = (App)AppList.SelectedValue; if (selectedApp.ApplicationID != 0) { AppID.Enabled = true; AppID.Text = selectedApp.ApplicationID.ToString(); AppName.Text = selectedApp.ApplicationName; AppVersion.Text = selectedApp.ApplicationVersion; AppDesc.Text = selectedApp.ApplicationDescription; } else { AppID.Enabled = false; AppID.Text = selectedApp.ApplicationID.ToString(); AppName.Clear(); AppVersion.Clear(); AppDesc.Clear(); } }//end applist