public override void OnDblClick() { if (Control.ModifierKeys == Keys.Shift) { ISketchOperation so = new SketchOperation(); so.MenuString_2 = "Finish Sketch Part"; so.Start(m_editor); m_edSketch.FinishSketchPart(); so.Finish(null); } else { m_edSketch.FinishSketch(); } }
protected override void OnDoubleClick() { if (m_edSketch.Geometry == null) { return; } if (Control.ModifierKeys == Keys.Shift) { // Finish part ISketchOperation pso = new SketchOperation(); pso.MenuString_2 = "Finish Sketch Part"; pso.Start(m_editor); m_edSketch.FinishSketchPart(); pso.Finish(null); } else { m_edSketch.FinishSketch(); } }
protected override void OnDoubleClick() { ConfigUtil.type = "water"; if (m_edSketch.Geometry == null) { return; } if (Control.ModifierKeys == Keys.Shift) { // Finish part ISketchOperation pso = new SketchOperation(); pso.MenuString_2 = A4LGSharedFunctions.Localizer.GetString("FinishSktchPrt"); pso.Start(m_editor); m_edSketch.FinishSketchPart(); pso.Finish(null); } else { m_edSketch.FinishSketch(); } }
protected override void OnDoubleClick() { ConfigUtil.type = "gas"; if (m_edSketch.Geometry == null) return; if (Control.ModifierKeys == Keys.Shift) { // Finish part ISketchOperation pso = new SketchOperation(); pso.MenuString_2 = "Finish Sketch Part"; pso.Start(m_editor); m_edSketch.FinishSketchPart(); pso.Finish(null); } else m_edSketch.FinishSketch(); }
public override void OnDblClick() { if (Control.ModifierKeys == Keys.Shift) { ISketchOperation pso = new SketchOperation(); pso.MenuString_2 = "Finish Sketch Part"; pso.Start(m_editor); m_edSketch.FinishSketchPart(); pso.Finish(null); } else m_edSketch.FinishSketch(); }
protected override void OnDoubleClick() { ConfigUtil.type = "water"; if (m_edSketch.Geometry == null) return; if (Control.ModifierKeys == Keys.Shift) { // Finish part ISketchOperation pso = new SketchOperation(); pso.MenuString_2 = A4LGSharedFunctions.Localizer.GetString("FinishSktchPrt"); pso.Start(m_editor); m_edSketch.FinishSketchPart(); pso.Finish(null); } else m_edSketch.FinishSketch(); }