예제 #1
0
 private void borçEkleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (Form frm in this.MdiChildren)
     {
         frm.Close();
     }
     borcEkle           = new BorçEkle();
     borcEkle.MdiParent = this;
     borcEkle.Show();
 }
예제 #2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            BorçEkle gonder = new BorçEkle();

            gonder.adiSoyadi = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            gonder.borcumuz  = dataGridView1.CurrentRow.Cells[2].Value.ToString();
            gonder.odemeTar  = dataGridView1.CurrentRow.Cells[4].Value.ToString();
            gonder.telNo     = dataGridView1.CurrentRow.Cells[5].Value.ToString();
            gonder.adres     = dataGridView1.CurrentRow.Cells[6].Value.ToString();

            this.Close();
            gonder.ShowDialog();
        }