Ejemplo n.º 1
0
        private void btnDegistir_Click(object sender, EventArgs e)
        {
            PaletDesigner pd = new PaletDesigner(_pekpanDal, _kullaniciAdi, Convert.ToInt32(_pekpanDal.ExecuteScalarStr("select ID from TARA_PalDesign where Aciklama= '" + grDesigns.CurrentRow.Cells[1].Value.ToString() + "'")), _pekpanDal.GetDataReaderListColumn("select Aciklama, XBaslangic, YBaslangic, XOffset, YOffset, PaletZ, Tork, GenislikMin, GenislikMax, BoyMin, BoyMax from TARA_PalDesign where ID=" + Convert.ToInt32(_pekpanDal.ExecuteScalarStr("select ID from TARA_PalDesign where Aciklama= '" + grDesigns.CurrentRow.Cells[1].Value.ToString() + "'")) + "", 11));

            if (pd.ShowDialog() == DialogResult.OK)
            {
                listDesigns();
            }
        }
Ejemplo n.º 2
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            PaletDesigner pd = new PaletDesigner(_pekpanDal, _kullaniciAdi);

            if (pd.ShowDialog() == DialogResult.OK)
            {
                listDesigns();
            }
        }