示例#1
0
        private void btn_YeniHesapHareketi_Click(object sender, EventArgs e)
        { //Cari Hesap Liste > Yeni Hareket
            YeniHesapHareketEkran y = new YeniHesapHareketEkran();

            if (dataGridView1.SelectedRows.Count != 0)
            {
                y.SecilenCariOzet = (CariHesapViewModel)dataGridView1.SelectedRows[0].DataBoundItem;
            }
            y.Show();
        }
示例#2
0
        private void btn_YeniHesapHareketi_Click(object sender, EventArgs e)
        {
            YeniHesapHareketEkran y = new YeniHesapHareketEkran();

            if (dataGridView1.SelectedRows.Count != 0)
            {
                int SecilenCariKod = ((HesapHareketViewModel)dataGridView1.SelectedRows[0].DataBoundItem).CariKod;
                y.SecilenCariOzet         = new CariHesapViewModel();
                y.SecilenCariOzet.CariKod = SecilenCariKod;
            }
            y.Show();
        }