コード例 #1
0
        //Faturadetay formuna id taşıma
        private void gridFaturalar1_DoubleClick(object sender, EventArgs e)
        {
            DataRow satir = gridFaturalar1.GetDataRow(gridFaturalar1.FocusedRowHandle);

            if (satir != null)
            {
                FormFaturaDetay detay = new FormFaturaDetay();
                detay.id   = satir["FATURABILGIID"].ToString();
                detay.isim = satir["ALICI"].ToString();
                detay.Show();
            }
        }
コード例 #2
0
        //Form Kapatılınca
        private void FormFaturaDetayDuzenleme_FormClosed(object sender, FormClosedEventArgs e)
        {
            FormFaturaDetay detayform = (FormFaturaDetay)Application.OpenForms["FormFaturaDetay"];

            detayform.listele();
        }