Esempio n. 1
0
        public SearchView()
        {
            DataContext = _applicationView;
            InitializeComponent();

            Activate();
            WpfSuckMyDick.Focus();
            WpfSuckMyDick.SelectAll();
        }
Esempio n. 2
0
        public CustomDir(CustomDirectory customDir)
        {
            DataContext = customDir;
            InitializeComponent();

            Activate();
            WpfSuckMyDick.Focus();
            WpfSuckMyDick.SelectAll();
        }
Esempio n. 3
0
 private void OnStateChanged(object sender, EventArgs e)
 {
     switch (WindowState)
     {
     case WindowState.Normal:
         Activate();
         WpfSuckMyDick.Focus();
         WpfSuckMyDick.SelectAll();
         return;
     }
 }