Пример #1
0
 private void ButtonRecoverFormat_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (UIPublic.ShowYesNoCancelDialog("您是否需要默认格式?") == DialogReturn.Yes)
     {
         this.DataLayoutControl.RestoreDefaultLayout();
     }
 }