Beispiel #1
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                string silKod = gridView1.GetFocusedRowCellValue("KoruyucuTur").ToString();

                string          executableLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\Koruyucular";
                string          xslLocation        = Path.Combine(executableLocation, gridView1.GetFocusedRowCellValue("KoruyucuAdı").ToString() + " " + gridView1.GetFocusedRowCellValue("KoruyucuSoyadı").ToString() + " " + gridView1.GetFocusedRowCellValue("KoruyucuTCNO").ToString() + ".xml");
                KoruyucuOlustur duzenle            = new KoruyucuOlustur(xslLocation);
                this.Close();
                duzenle.Show();
            }
            catch (Exception ex) {
                MessageBox.Show("Lütfen bir görev koruyucu üzerine çift basın.");
            }
        }
Beispiel #2
0
        private void tileItem1_ItemClick_1(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            KoruyucuOlustur olustur = new KoruyucuOlustur();

            olustur.Show();
        }