private void IncMinH(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.MinHorizontal = tape.MinHorizontal + 1; } }
private void DecMaxH(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.HorizontalTravel = tape.HorizontalTravel - 1; } }
private void OnClick(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.Reset(); } }
private void DecInitH(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.InitialHorizontal = tape.InitialHorizontal - 1; } }
private void DecMinR(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.MinRotation = tape.MinRotation - 1; } }
private void DecMaxR(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.RotationTravel = tape.RotationTravel - 1; } }
private void IncInitR(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.InitialRotation = tape.InitialRotation + 1; } }
private void IncMaxV(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.VerticalTravel = tape.VerticalTravel + 1; } }
private void DecMinV(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.MinVertical = tape.MinVertical - 1; } }
private void IncInitV(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; if (tape != null) { tape.InitialVertical = tape.InitialVertical + 1; } }
private void OnClick(object sender, RoutedEventArgs e) { CustomTape tape = Control as CustomTape; tape?.Reset(); }