Пример #1
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     _popupFilter   = GetTemplateChild("popupFilter") as PopupExtession;
     _listBoxFilter = GetTemplateChild("listBoxFilter") as ListBox;
     _btnSearch     = GetTemplateChild("btnSearch") as UButton;
 }
Пример #2
0
        private static UButton CreateCtrlButton(string content)
        {
            UButton btn = new UButton();

            btn.Style     = Application.Current.FindResource("MessageBoxUButton") as System.Windows.Style;
            btn.Content   = content;
            btn.Focusable = true;
            return(btn);
        }