Beispiel #1
0
 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;
 }
Beispiel #2
0
 public static void RefreshData()
 {
     LengthModel.GetModel(LengthType.length).Value
         = LengthModel.GetModel(LengthType.end).Value
           - LengthModel.GetModel(LengthType.start).Value;
 }
Beispiel #3
0
 public override void SetData(int value)
 {
     LengthModel.GetModel(LengthType.end).Value = value;
     LengthLength_Ctrl.RefreshData();
 }
Beispiel #4
0
 void TextBox_Length_SetText()
 {
     textBoxLength.Text = LengthModel.GetModel(LengthType.length).Value.ToString();
 }
Beispiel #5
0
 void TextBox_End_SetText()
 {
     textBoxEnd.Text = LengthModel.GetModel(LengthType.end).Value.ToString();
 }
Beispiel #6
0
 void TextBox_Start_SetText()
 {
     textBoxStart.Text = LengthModel.GetModel(LengthType.start).Value.ToString();
 }