Example #1
0
        void WindowLayoutService_OnWindowLayoutRaised(object sender, EventArgs e)
        {
            if (_deviceManager == null)
            {
                return;
            }
            WindowLayoutEventArgs ea = (WindowLayoutEventArgs)e;

            _updateDimensions(ea.Size.Width, ea.Size.Height);
            _updateScaleTranslate(1.0f);
            _drawTiles(0);
        }
Example #2
0
 public void NavigateBasedOnWindowsLayoutChange(WindowLayoutEventArgs args)
 {
 }
Example #3
0
        void WindowLayoutService_OnWindowLayoutRaised(object sender, EventArgs e)
        {
            WindowLayoutEventArgs args = (WindowLayoutEventArgs)e;

            NavigationService.NavigateBasedOnWindowsLayoutChange(args);
        }
 /// <summary>
 /// raise WindowLayoutEvent to the main window that has a handler registered
 /// </summary>
 private void ChangeWindowLayout(object sender, WindowLayoutEventArgs e)
 {
     RaiseChangeMainWindowLayoutEvent(e.ArgWindowLayout);
 }