private void dataGridView1_CellContentClick_1(object sender, DataGridViewCellEventArgs e)
        {
            FormVendor myForm = new FormVendor();

            myForm.vendorid.Text  = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            myForm.name.Text      = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            myForm.address.Text   = dataGridView1.CurrentRow.Cells[2].Value.ToString();
            myForm.landmark.Text  = dataGridView1.CurrentRow.Cells[3].Value.ToString();
            myForm.city.Text      = dataGridView1.CurrentRow.Cells[4].Value.ToString();
            myForm.state.Text     = dataGridView1.CurrentRow.Cells[5].Value.ToString();
            myForm.zipcode.Text   = dataGridView1.CurrentRow.Cells[6].Value.ToString();
            myForm.phone.Text     = dataGridView1.CurrentRow.Cells[7].Value.ToString();
            myForm.email.Text     = dataGridView1.CurrentRow.Cells[8].Value.ToString();
            myForm.mobile_no.Text = dataGridView1.CurrentRow.Cells[9].Value.ToString();
            myForm.fax_no.Text    = dataGridView1.CurrentRow.Cells[10].Value.ToString();
            myForm.notes.Text     = dataGridView1.CurrentRow.Cells[11].Value.ToString();


            myForm.ShowDialog();
        }
        private void vendorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormVendor f1 = new FormVendor();

            f1.Show();
        }