private void barButtonWaypoint_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { WaypointForm xform1 = new WaypointForm(_FlexSys) { }; xform1.Show(); }
public void Show(FlexInterfaces.Core.ICoreSys sys) { WaypointForm xform1 = new WaypointForm(sys); xform1.ShowDialog(); }