Example #1
0
        private void frmMarkaListe_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Hide();
            frmMarka frm = new frmMarka();

            frm.Show();
        }
Example #2
0
        private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            DataGridViewRow dr = dataGridView1.SelectedRows[0];

            this.Hide();
            frmMarka frm = new frmMarka();

            frm.Show();
            frm.txtMarkaAdi.Text    = dr.Cells[0].Value.ToString();
            frm.textBox1.Text       = dr.Cells[0].Value.ToString();
            frm.btnSil.Enabled      = true;
            frm.btnGuncelle.Enabled = true;
            frm.txtMarkaAdi.Focus();
            frm.btnKaydet.Enabled = false;
        }
 private void btnFirma_Click(object sender, EventArgs e)
 {
     frmMarka frm = new frmMarka(); frm.Show();
 }