private void btnEdit_Click(object sender, EventArgs e)
        {
            if (trvList.SelectedNode != null)
            {
                //ProspectClient prospClient = convertSelectedRowDataToProspectCustomer();
                //ProspectCustomer frmProspectCustomer = new ProspectCustomer(prospClient);
                //frmProspectCustomer.TopLevel = false;
                //splitContainer.Panel2.Controls.Add(frmProspectCustomer);
                //frmProspectCustomer.Dock = DockStyle.Fill;
                //frmProspectCustomer.BringToFront();
                //frmProspectCustomer.Show();

                ProspectClient   prospClient         = convertSelectedRowDataToProspectCustomer();
                ProspectCustomer frmProspectCustomer = new ProspectCustomer(prospClient);
                frmProspectCustomer.TopLevel = false;
                TabPage prospectCustomerpage = new TabPage();
                prospectCustomerpage.Name     = trvList.SelectedNode.Tag.ToString();
                prospectCustomerpage.Text     = trvList.SelectedNode.Text;
                prospectCustomerpage.ImageKey = "icons8-reception-16 - Copy.png";
                prospectCustomerpage.Controls.Add(frmProspectCustomer);
                tabControl1.TabPages.Add(prospectCustomerpage);
                tabControl1.SelectTab(tabControl1.TabPages.Count - 1);
                frmProspectCustomer.Dock = DockStyle.Fill;
                frmProspectCustomer.Show();
            }
            else
            {
                MessageBox.Show("Please select valid client.", "Invalid client selection", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
        //private void gridDisplaySetting()
        //{
        //    dataGridProspClients.Columns["ID"].Visible = false;
        //    //dataGridProspClients.Columns["Name"].Visible = false;
        //    //dataGridProspClients.Columns["PhoneNo"].Visible = false;
        //    dataGridProspClients.Columns["CreatedBy"].Visible = false;
        //    dataGridProspClients.Columns["CreatedOn"].Visible = false;
        //    //dataGridProspClients.Columns["CreatedByUserName"].Visible = false;
        //    dataGridProspClients.Columns["UpdatedBy"].Visible = false;
        //    //dataGridProspClients.Columns["UserName"].HeaderText = "User Name";
        //    //dataGridProspClients.Columns["FirstName"].HeaderText = "First Name";
        //    //dataGridProspClients.Columns["LastName"].HeaderText = "Last Name";
        //    dataGridProspClients.Columns["UpdatedOn"].HeaderText = "Updated On";
        //    dataGridProspClients.Columns["UpdatedByUserName"].HeaderText = "Updated By";
        //}

        private void btnAdd_Click(object sender, EventArgs e)
        {
            //ProspectCustomer frmProspectCustomer = new ProspectCustomer();
            //frmProspectCustomer.TopLevel = false;
            //splitContainer.Panel2.Controls.Add(frmProspectCustomer);
            //frmProspectCustomer.Dock = DockStyle.Fill;
            //frmProspectCustomer.Show();

            ProspectCustomer frmProspectCustomer = new ProspectCustomer();

            frmProspectCustomer.TopLevel = false;
            TabPage prospectCustomerpage = new TabPage();

            prospectCustomerpage.Name = "New Client";
            prospectCustomerpage.Text = "New Client";
            prospectCustomerpage.Controls.Add(frmProspectCustomer);
            tabControl1.TabPages.Add(prospectCustomerpage);
            frmProspectCustomer.Dock = DockStyle.Fill;
            frmProspectCustomer.Show();
        }