public override void SetData(int value) { LengthModel.GetModel(LengthType.length).Value = value; LengthModel.GetModel(LengthType.end).Value = LengthModel.GetModel(LengthType.start).Value + LengthModel.GetModel(LengthType.length).Value; }
public static void RefreshData() { LengthModel.GetModel(LengthType.length).Value = LengthModel.GetModel(LengthType.end).Value - LengthModel.GetModel(LengthType.start).Value; }
public override void SetData(int value) { LengthModel.GetModel(LengthType.end).Value = value; LengthLength_Ctrl.RefreshData(); }
void TextBox_Length_SetText() { textBoxLength.Text = LengthModel.GetModel(LengthType.length).Value.ToString(); }
void TextBox_End_SetText() { textBoxEnd.Text = LengthModel.GetModel(LengthType.end).Value.ToString(); }
void TextBox_Start_SetText() { textBoxStart.Text = LengthModel.GetModel(LengthType.start).Value.ToString(); }