private void DestinationFlyout_MouseMove(object sender, MouseEventArgs e) { if ((_gridFormDestination == null) || (_gridFormDestination.IsDisposed)) { _gridFormDestination = new GridForm(); } _gridFormDestination.PositionToMouse(); _gridFormDestination.Text = "Destination Objects"; _gridFormDestination.Grid.DataSource = _securableObjects.ToList(); _gridFormDestination.Execute(true); }
private void SourceFlyout_MouseMove(object sender, MouseEventArgs e) { if ((_gridFormSource == null) || (_gridFormSource.IsDisposed)) { _gridFormSource = new GridForm(); } _gridFormSource.PositionToMouse(); _gridFormSource.Text = "Source Objects"; _gridFormSource.Grid.DataSource = grid.DataSource; _gridFormSource.Execute(true); }