private void Limit_Textbox_update() { Limit.String_Update_From_Double(); textBox_Limit_X.Text = Limit.X; textBox_Limit_Y.Text = Limit.Y; textBox_Limit_Lv.Text = Limit.Lv; }
private void Target_Textbox_update() { Target.String_Update_From_Double(); textBox_target_X.Text = Target.X; textBox_target_Y.Text = Target.Y; textBox_target_Lv.Text = Target.Lv; }
private void Measure_Textbox_update() { Measure.String_Update_From_Double(); textBox_Measured_X.Text = Measure.X; textBox_Measured_Y.Text = Measure.Y; textBox_Measured_Lv.Text = Measure.Lv; }
private void DIff_Textbox_update() { Diff.String_Update_From_Double(); textBox_Diff_X.Text = Diff.X; textBox_Diff_Y.Text = Diff.Y; textBox_Diff_Lv.Text = Diff.Lv; }
public static XYLv operator *(XYLv A, double ratio) { XYLv C = new XYLv(); // C = A - B C.double_X = A.double_X * ratio; C.double_Y = A.double_Y * ratio; C.double_Lv = A.double_Lv * ratio; //Update String C.String_Update_From_Double(); return(C); }
public static XYLv operator -(XYLv A, XYLv B) { XYLv C = new XYLv(); // C = A - B C.double_X = A.double_X - B.double_X; C.double_Y = A.double_Y - B.double_Y; C.double_Lv = A.double_Lv - B.double_Lv; //Update String C.String_Update_From_Double(); return(C); }