Exemple #1
0
 private void Index_Click(object sender, RoutedEventArgs e)
 {
     if (((RepeatButton)sender).Content.ToString() == "<")
     {
         if (((RepeatButton)sender).Name == "plus_start_index")
         {
             Start_index--;
         }
         else
         {
             Last_index--;
         }
     }
     else
     {
         if (((RepeatButton)sender).Name == "minus_start_index")
         {
             Start_index++;
         }
         else
         {
             Last_index++;
         }
     }
     start_index.Text = Start_index.ToString();
     last_index.Text  = Last_index.ToString();
 }
Exemple #2
0
 public void ShowIInputBox()
 {
     start_index.Text = Start_index.ToString();
     last_index.Text  = Last_index.ToString();
     this.Show();
 }