public SuperPanelHelper(ISuperPanel <TControl, TSize, TRect> panel) { _panel = panel; _headPanel = panel.CreateChild(); _tailPanel = panel.CreateChild(); _interstitialPanel = panel.CreateChild(); _suggestionsPanel = panel.CreateChild(); }
internal SwitchInterface(IApplicationHost host, ISuperPanel <FrameworkElement, Size, Rect> panel, Canvas targetCanvas) { _host = host; _panel = panel; _model = host.Model; SwitchPanel = targetCanvas; _switchTimer.Tick += OnSwitchTimerTick; _model.ApplicationModelUpdate += OnApplicationModelUpdate; Debug.WriteLine("Enter switch mode"); _switchTarget = ApplicationRobotActionTarget.Interstitial; ShowSwitchInterface(); }
public SuperPanelHelper(ISuperPanel <TControl, TSize, TRect> panel) { _panel = panel; }