public void RecordStepDialog(Vector3 pos, Vector3 dir, float zoom) { if (Recording) { RecordStep frm = new RecordStep(); frm.Init(pos, dir, zoom); if (frm.ShowDialog(owner) == DialogResult.OK) { RecordStep(frm.Pos, frm.Dir, frm.Zoom, frm.Elapsed, frm.FlyTime, frm.PanTime, frm.ZoomTime, frm.Msg, frm.MsgTime, frm.WaitForComplete, frm.DisplayMessageWhenComplete); } } }
public void RecordStepDialog(Vector3 pos, Vector3 dir, float zoom) { if (Recording) { RecordStep frm = new RecordStep(); frm.Init(pos, dir, zoom); if (frm.ShowDialog() == DialogResult.OK) { RecordStep(frm.Pos, frm.Dir, frm.Zoom, frm.Elapsed, frm.FlyTime, frm.PanTime, frm.ZoomTime, frm.Msg, frm.MsgTime, frm.WaitForComplete, frm.DisplayMessageWhenComplete); } } }