/// <summary>
        /// This event Handler takes place when user clicks the item in list-box.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProjectList_SelectionChanged(object sender, MouseButtonEventArgs e)
        {
            frmProjectInfo info = new frmProjectInfo(ProjectList);

            string outputName   = ProjectList[lstProjectList.SelectedIndex].ProjectName;
            string outBudget    = ProjectList[lstProjectList.SelectedIndex].Budget.ToString();
            string outputStatus = ProjectList[lstProjectList.SelectedIndex].Status;


            info.txtOutName.Text   = outputName;
            info.txtOutBudget.Text = outBudget;
            string outSpent = ProjectList[lstProjectList.SelectedIndex].AmountSpent.ToString();

            info.txtOutSpent.Text = outSpent;
            string outHour = ProjectList[lstProjectList.SelectedIndex].HoursRemaining.ToString();

            info.txtOutTimeLeft.Text = outHour;
            info.cmbOutStatus.Text   = outputStatus;

            info.ShowDialog();

            ProjectList[lstProjectList.SelectedIndex].ProjectName    = info.OutName;
            ProjectList[lstProjectList.SelectedIndex].Budget         = Convert.ToInt32(info.budget);
            ProjectList[lstProjectList.SelectedIndex].AmountSpent    = Convert.ToInt32(info.spent);
            ProjectList[lstProjectList.SelectedIndex].HoursRemaining = Convert.ToInt32(info.hour);
            ProjectList[lstProjectList.SelectedIndex].Status         = info.status;
        }
        /// <summary>
        /// This event takes place when user click the list view.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProjectList_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            frmProjectInfo info = new frmProjectInfo();

            string outputName = info.txtOutName.Text;
            int    outputBudget;
            int    outputSpent;
            int    outputTime;
            string outputStatus = info.cmbOutStatus.Text;


            outputName   = ProjectList[lstProjectList.SelectedIndex].ProjectName;
            outputBudget = ProjectList[lstProjectList.SelectedIndex].Budget;
            outputSpent  = ProjectList[lstProjectList.SelectedIndex].AmountSpent;
            outputTime   = ProjectList[lstProjectList.SelectedIndex].HoursRemaining;
            outputStatus = ProjectList[lstProjectList.SelectedIndex].Status;

            info.Show();
        }