Örnek Bir Bolum Otomosyonu Tablosu E-R Diyaramıdır.SqlServer de yapılmıstır.Bir fakultenın bolum otomosyonu için ornektir.Eksik gordugunuz noktaları bizimle paylasırsanız daha guzel veri tabanı tabloları ekleyebiliriz.
ProperyGridler bir classa ait özelliklerin gösterilmesi için DevExpressin en begendigim toollarından birisidir. Öncelikle property leri tuttugumuz classı olusturalım. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace PropertyGridExample { public class PropertyClass { [System.ComponentModel. Category ( "Person Properties" ), DisplayName ( "Name" )] public string Name { get ; set ; } [System.ComponentModel. Category ( "Person Properties" ), DisplayName ( "Number" )] public string Number { get ; set ; } ...
Devexpress'de GridConrol buton eklenmesi öncelikle GridControl'un ilk hali Öncesi : Buton eklemek için Run Designer ---> main --> columns--->add ---> ColumnEdit-->new--->ButtonEdit Butonu ekledik. Şimdi butonu duzenlememiz lazımki SimpleButton gibi kullanalım. Run Designer --->In -place Editor Repository --> Properties penceresinden Buttons--->Kind özelligini Glyph yapılır.aynı yerden TextEditStyle özelligi HideTextEditor secilir. Son görünümü :
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.XtraTreeList.Nodes; namespace TreeListApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); TreeListSetting(); TreelistLoad(); } void TreelistLoad() { ...
Yorumlar
Yorum Gönder