Exemplo n.º 1
0
        private void btnUjTartozek_Click(object sender, EventArgs e)
        {
            if (cIKKBindingSource.Current != null)
            {
                frmCikkReceptAd fca = new frmCikkReceptAd();
                fca.Parent_cikk_id = (int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"];
                fca.ShowDialog();

                taReceptCikkek.Fill(dsReceptCikkek.RECEPT, (int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"]);
            }
        }
Exemplo n.º 2
0
        private void btnReceptCikkModosit_Click(object sender, EventArgs e)
        {
            if (cIKKBindingSource.Current != null)
            {
                frmCikkReceptAd fca = new frmCikkReceptAd();
                fca.Parent_cikk_id = (int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"];
                fca.load_cikk_id = (int)((DataRowView)bsReceptCikkek.Current)["OSSZ_CIKK_TARTOZEK_ID"];
                fca.ShowDialog();

                taReceptCikkek.Fill(dsReceptCikkek.RECEPT, (int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"]);
            }
        }
Exemplo n.º 3
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (cIKKBindingSource.Current != null)
     {
         frmCikkReceptAd fca = new frmCikkReceptAd();
         fca.rECEPTTableAdapter.Delete((int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"], (int)((DataRowView)bsReceptCikkek.Current)["OSSZ_CIKK_TARTOZEK_ID"]);
         fca.Dispose();
         taReceptCikkek.Fill(dsReceptCikkek.RECEPT, (int)((DataRowView)cIKKBindingSource.Current)["CIKK_ID"]);
     }
 }