Exemplo n.º 1
0
 private void btnKartSec_Click(object sender, EventArgs e)
 {
     using (Stok.frmStokKartSec sec = new frmStokKartSec())
     {
         if (sec.ShowDialog() == DialogResult.OK)
         {
             Yukle_Kart(sec.Secilen_KartID);
         }
     }
 }
Exemplo n.º 2
0
 private void btnEsdegerStokKart_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     using (Stok.frmStokKartSec sec = new frmStokKartSec())
     {
         if (sec.ShowDialog() == DialogResult.OK)
         {
             btnEsdegerStokKart.Tag  = sec.Secilen_KartID.ToString();
             btnEsdegerStokKart.Text = sec.Secilen_KalemAdi;
             btnEsdegerEkle.Enabled  = true;
         }
         else
         {
             btnEsdegerStokKart.Tag  = null;
             btnEsdegerStokKart.Text = "";
             btnEsdegerEkle.Enabled  = false;
         }
     }
 }