public SearchView() { DataContext = _applicationView; InitializeComponent(); Activate(); WpfSuckMyDick.Focus(); WpfSuckMyDick.SelectAll(); }
public CustomDir(CustomDirectory customDir) { DataContext = customDir; InitializeComponent(); Activate(); WpfSuckMyDick.Focus(); WpfSuckMyDick.SelectAll(); }
private void OnStateChanged(object sender, EventArgs e) { switch (WindowState) { case WindowState.Normal: Activate(); WpfSuckMyDick.Focus(); WpfSuckMyDick.SelectAll(); return; } }