public WindowDetail(PresentationModel model, Window window) { InitializeComponent(); _presentationModel = model; _window = window; _modePictureBox.Invalidate(); BindingSource source = new BindingSource(window.GetPoseCollection(), null); _poseCombinationGridView.DataSource = source; Text = window.Name; InitializeGridView(); }
private void MoveMouseInPoseCombinationGridView(object sender, MouseEventArgs e) { _presentationModel.MoveMouseInDataGridView(e.X, e.Y, _poseCombinationGridView.Width, _window.GetPoseCollection().Count); }