private void button_ekle_Click(object sender, EventArgs e)
        {
            Add_Siparis addSip = new Add_Siparis()
            {
                isUpdate = false
            };

            addSip.ShowDialog();
        }
        private void button_düzenle_Click(object sender, EventArgs e)
        {
            DataGridView Dtg = Items.panelSiparis.dataGridview;

            if (Dtg.Rows.Count > 0)
            {
                Add_Siparis addSip = new Add_Siparis()
                {
                    isUpdate        = true,
                    fisno           = Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Fiş Numarası"].Value.ToString(),
                    hasta_adsoyad   = Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Hasta İsmi"].Value.ToString(),
                    protez_id       = Sc.GET_TEKDEGER("select top 1 Id from Protez where adi=@parametre1", new string[] { Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Protez Tipi"].Value.ToString() }),
                    hastane_id      = Sc.GET_TEKDEGER("select top 1 Id from Hastane where ad=@parametre1", new string[] { Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Hastane"].Value.ToString() }),
                    doktor_id       = Sc.GET_TEKDEGER("select top 1 Id from Doktorlar where isim+' '+soyisim=@parametre1", new string[] { Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Doktor"].Value.ToString() }),
                    siparis_tarihi  = DateTime.Parse(Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Sipariş Tarihi"].Value.ToString()).ToString("dd/MM/yyyy 00:00:00"),
                    teslimat_tarihi = DateTime.Parse(Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Teslim Tarihi"].Value.ToString()).ToString("dd/MM/yyyy 00:00:00"),
                    renk_id         = Sc.GET_TEKDEGER("select top 1 Id from Renk where isim=@parametre1", new string[] { Dtg.Rows[Dtg.CurrentCell.RowIndex].Cells["Renk"].Value.ToString() })
                };
                addSip.ShowDialog();
            }
        }