Esempio n. 1
0
 private void btnShowText_Click(object sender, EventArgs e)
 {
     if (Package.PackageState != AMTUtil.State.READY)
         return;
     if (lbFrames.SelectedIndex == -1)
     {
         MessageBox.Show("You need to select a frame!");
         return;
     }
     if (lbFrames.SelectedItems.Count > 1)
     {
         MessageBox.Show("You cannot view more than one frame.");
         return;
     }
     FrameInfo InfoWindow = new FrameInfo(Package.Animation.Actions[lbActions.SelectedIndex].Frames[lbFrames.SelectedIndex]);
     InfoWindow.Show();
 }
Esempio n. 2
0
 private void btnShowPreview_Click(object sender, EventArgs e)
 {
     FrameInfo InfoWindow = new FrameInfo(Animation.Actions[lbActions.SelectedIndex].Frames[lbFrames.SelectedIndex]);
     InfoWindow.Show();
 }