CNCGUI.MainForm.ParseMI C# (CSharp) Method

ParseMI() private method

private ParseMI ( string &line, string fmt, int idx ) : void
line string
fmt string
idx int
return void
        private void ParseMI(ref string line, string fmt, int idx)
        {
            cnc.Motors[idx].Microstep.Value = MOTOR_STEP.Step_8;
            if (scanf.Parse(line, string.Concat(fmt, " microsteps %d [%s]")) >= 1)
                cnc.Motors[idx].Microstep.Set(scanf, UseResponseItems.Checked);
        }