I've added a listView control to the C# Test Executive in the Execution tab above the axExecutionSteps control. I've added a new border to the top of the axExecutionSteps control but need to determine which is being dragged.
I know I need to determine WhichBorder_Top or WhichBorder_Bottom but don't know how to access this within the axExecutionSteps_BorderDragged call.
Any Ideas?
private void axExecutionSteps_BorderDragged(object sender, NationalInstruments.TestStand.Interop.UI.Ax._SequenceViewEvents_BorderDraggedEvent e)
{
// Need to determine which border is moved. WhichBorders.WhichBorder_Top; ?????
// Do this when the bottom border of the axExecutionSteps is moved
Splitters.DragSplitter(this.axExecutionSteps, this.axCallStack, e.newX, e.newY, e.newWidth, e.newHeight, e.bordersChanged);
this.ArrangeControls();
// Do this when the top border of the axExecutionSteps is moved
Splitters.DragSplitter(this.axExecutionSteps, this.listView1, e.newX, e.newY, e.newWidth, e.newHeight, e.bordersChanged);
this.ArrangeControls();
}