public EditMoveAbsZMetro(MoveAbsZCmdLine moveAbsZCmdLine) { InitializeComponent(); //this.ReadLanguageResources(); if (moveAbsZCmdLine == null) { isCreating = true; this.moveAbsZCmdLine = new MoveAbsZCmdLine(); } else { isCreating = false; this.moveAbsZCmdLine = moveAbsZCmdLine; tbZ.Text = this.moveAbsZCmdLine.Z.ToString("0.000"); } if (this.moveAbsZCmdLine != null) { this.moveAbsZCmdLineBackUp = (MoveAbsZCmdLine)this.moveAbsZCmdLine.Clone(); } }
public MoveAbsZCmd(RunnableModule runnableModule, MoveAbsZCmdLine moveAbsZCmdLine) : base(runnableModule, moveAbsZCmdLine) { Z = moveAbsZCmdLine.Z; }