예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            carmgt f1 = new carmgt();

            f1.Show();
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            carmgt c = new carmgt();

            this.Close();
            c.Show();

            /*string cmd = "Select * from car";
             * SqlDataAdapter dp = new SqlDataAdapter(cmd, con);
             * //  SqlCommandBuilder cb = new SqlCommandBuilder(dp);
             * DataTable dt = new DataTable();
             * dp.Fill(dt);
             * BindingSource bs = new BindingSource();
             * bs.DataSource = dt;
             * dataGridView1.DataSource = bs;*/
        }