private void View_MouseLeftUp(object sender, MouseEventArgs e)
        {
            IsLeftButtonPressed = false;

            PrepareFormToScreen();
            image = manager.DoScr(new PartScreenStrategy(), imageBox.Width, imageBox.Height, imageBox.Left, imageBox.Top);
            PrepareFormAfterScreen();
        }
 public ScreenWindowPresenter(IScreenWindow view, IMainWindow mainV, Modes mode)
 {
     this.view            = view;
     this.menuView        = mainV;
     view.MouseLeftClick += View_MouseLeftClick;
     view.MouseLeftUp    += View_MouseLeftUp;
     view.FormMouseMove  += View_FormMouseMove;
     view.Open();
     manager = new ScreenManager();
     if (mode == Modes.FullScreen)
     {
         Screen scr = Screen.PrimaryScreen;
         view.BColor = Color.Black;
         menuView.MakeInvisible();
         image = manager.DoScr(new FullScreenStrategy(),
                               scr.Bounds.Width,
                               scr.Bounds.Height,
                               0,
                               0);
         PrepareFormAfterScreen();
     }
 }