Beispiel #1
0
 public HeaderForm()
 {
     InitializeComponent();
     this.CenterToParent();
     OfficeDDL.DataSource    = XLDocument.GetList("Office");
     OfficeDDL.DisplayMember = "name";
     OfficeDDL.ValueMember   = "dbTag";
     DeptDDL.DataSource      = XLDocument.GetList("Footer");
     DeptDDL.DisplayMember   = "name";
     DeptDDL.ValueMember     = "dbTag";
 }