private void button1_Click(object sender, EventArgs e)
        {
            ModeofTransport obj = new ModeofTransport(searchdetails.d_id);

            this.Hide();
            obj.Show();
        }
        private void button3_Click(object sender, EventArgs e)
        {
            int.TryParse(textBox1.Text, out d_id);
            ModeofTransport obj = new ModeofTransport(d_id);

            this.Hide();
            obj.Show();
        }