Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/uy/public_html/wp-includes/functions.php on line 6114
Dev Express arşivleri – Sayfa 3 / 3 – Umut Yazılım - Ümit AYDIN

Kategori: Dev Express

Umut Yazılım - Logo Ürünlerinde ve Yazılımda 20 yıllık tecrübe..

pivotGridControl export

SaveFileDialog save = new SaveFileDialog();if (save.ShowDialog() == DialogResult.OK) //Pencerede kayıt düğmesine basıldıysa{//pivotGridControl1.ExportToHtml(save.FileName + “.html”); //İstediğimiz formatlarda dışarı aktarıyoruz.//pivotGridControl1.ExportToMht(save.FileName + “.mth”);// pivotGridControl1.ExportToPdf(save.FileName + “.pdf”);// pivotGridControl1.ExportToRtf(save.FileName + “.rtf”);// pivotGridControl1.ExportToText(save.FileName + “.txt”);// pivotGridControl1.ExportToXls(save.FileName + “.xls”);gridControl1.ExportToXlsx(save.FileName + “.xlsx”);}

gridview satıra focuslanma

gridview1.focusedrowIndex=1;

gridView Satırları silme

for (int i = 0; i < gridView1.RowCount;)gridView1.DeleteRow(i);

GridView Sıralama

GridView gridView = gridControl1.FocusedView as GridView;gridView.BeginSort();try {gridView.ClearSorting();gridView.Columns[“Country”].SortOrder = ColumnSortOrder.Ascending;gridView.Columns[“City”].SortOrder = ColumnSortOrder.Descending;}finally {gridView.EndSort();}

XtraMessageBox Kullanımı

XtraMessageBox.Show(ex.ToString(), “Information..”, MessageBoxButtons.OK, MessageBoxIcon.Error);

Devexpress Grid Layout save and restore

private void btndizaynkatdet_Click(object sender, EventArgs e){string yol = Application.StartupPath;string fileName = yol + “\gridlayout\MarkaBazliSatislar.xml”;pivotGridControl1.SaveLayoutToXml(fileName);// …} private void btnmarkabazlisatis_Click(object sender, EventArgs e) { string yol = Application.StartupPath; string fileName = yol + “\\gridlayout\\MarkaBazliSatislar.xml”; try { pivotGridControl1.RestoreLayoutFromXml(fileName); } catch (Exception) { } } Registry ye yazma okuma

SaveFileDialog Kullanımı

SaveFileDialog save = new SaveFileDialog();if (save.ShowDialog() == DialogResult.OK) //Pencerede kayıt düğmesine basıldıysa{gridControl2.ExportToXlsx(save.FileName + “.xlsx”);DialogResult basilan = DevExpress.XtraEditors.XtraMessageBox.Show(“Excel Sayfası Açılsın mı?????”, “Uyarı”, MessageBoxButtons.YesNo, MessageBoxIcon.Question);if (basilan == DialogResult.Yes){System.Diagnostics.Process.Start(save.FileName + “.xlsx”);}}

SplashScreenManager Kullanımı

SplashScreenManager.ShowForm(typeof(Bekleyiniz));DataGetir();SplashScreenManager.CloseForm();