示例#1
0
文件: Form1.cs 项目: r1cebank/AmiMat
 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();
 }
示例#2
0
 private void btnShowPreview_Click(object sender, EventArgs e)
 {
     FrameInfo InfoWindow = new FrameInfo(Animation.Actions[lbActions.SelectedIndex].Frames[lbFrames.SelectedIndex]);
     InfoWindow.Show();
 }