示例#1
0
        public UrlTextBoxControl()
        {
            InitializeComponent();

            // Select all on double click
            this.UrlTB.MouseDoubleClick += (object obj, MouseButtonEventArgs e) => UrlTB.SelectAll();
        }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     UrlTB.Focus();
     CheckNotificationsCount();
 }