Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private WpfButton _searchButton;
- public WpfButton SearchButton
- {
- get
- {
- if (_searchButton == null)
- {
- _searchButton = new WpfButton(this);
- _searchButton.SearchProperties[WpfButton.PropertyNames.Name] = "Search";
- if (_searchButton == null)
- throw new NullReferenceException("SearchButton not found");
- }
- return _searchButton;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement