public override bool MouseDown(MouseInputEventArgs e) { if (!base.MouseDown(e)) if (input.MouseDown(e)) { IoCManager.Resolve<IUserInterfaceManager>().SetFocus(input); return true; } return false; }
public override bool MouseDown(MouseButtonEventArgs e) { if (!base.MouseDown(e)) { if (input.MouseDown(e)) { IoCManager.Resolve <IUserInterfaceManager>().SetFocus(input); return(true); } } return(false); }
public override bool MouseDown(MouseButtonEventArgs e) { if (!base.MouseDown(e)) { if (input.MouseDown(e)) { // Focus doesn't matter because UserInterfaceManager is hardcoded to go to console when it's visible. // IoCManager.Resolve<IUserInterfaceManager>().SetFocus(input); return(true); } } return(false); }