public static FormEditarCliente GetInstancia()
 {
     if (_Instancia == null)
     {
         _Instancia = new FormEditarCliente();
     }
     return(_Instancia);
 }
        private void btnSlctCliente_Click(object sender, EventArgs e)
        {
            FormEditarCliente form = FormEditarCliente.GetInstancia();
            string            par1, par2, par3, par4, par5, par6, par7, par8, par9, par10;

            par1  = this.label11.Text;
            par2  = this.label12.Text;
            par3  = this.label13.Text;
            par4  = this.label14.Text;
            par5  = this.label15.Text;
            par6  = this.label16.Text;
            par7  = this.label17.Text;
            par8  = this.label18.Text;
            par9  = this.label19.Text;
            par10 = this.label20.Text;
            form.SetCliente(par1, par2, par3, par4, par5, par6, par7, par8, par9, par10);
            form.ShowDialog();
        }
 private void button1_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dataListado.Rows)
     {
         if (Convert.ToBoolean(row.Cells[0].Value))
         {
             FormEditarCliente form = FormEditarCliente.GetInstancia();
             string            par1, par2, par3, par4, par5, par6, par8, par9, par10;
             string            par7;
             par1  = Convert.ToString(row.Cells[1].Value);
             par2  = Convert.ToString(row.Cells[2].Value);
             par3  = Convert.ToString(row.Cells[3].Value);
             par4  = Convert.ToString(row.Cells[4].Value);
             par5  = Convert.ToString(row.Cells[5].Value);
             par6  = Convert.ToString(row.Cells[6].Value);
             par7  = Convert.ToString(row.Cells[7].Value);
             par8  = Convert.ToString(row.Cells[8].Value);
             par9  = Convert.ToString(row.Cells[9].Value);
             par10 = Convert.ToString(row.Cells[10].Value);
             form.SetCliente(par1, par2, par3, par4, par5, par6, par7, par8, par9, par10);
             form.ShowDialog();
         }
     }
 }