コード例 #1
0
 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();
 }
コード例 #2
0
        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();
        }
コード例 #3
0
 private void MoveMouseInPoseCombinationGridView(object sender, MouseEventArgs e)
 {
     _presentationModel.MoveMouseInDataGridView(e.X, e.Y, _poseCombinationGridView.Width, _window.GetPoseCollection().Count);
 }