Beispiel #1
0
 public OffsetForm(Animation animation)
 {
     InitializeComponent();
     RectangleOffset += new RectangleTransformedEventHandler(OffsetForm_RectangleOffset);
     currentAnimation = animation;
     InitalizeComboBox();
     numericUpDownOffset.Maximum = currentAnimation.Frames.Length;
 }
Beispiel #2
0
        public ParentForm(Animation animation)
        {
            InitializeComponent();
            foreach (string value in animation.CurrentFrame.GetRectangles.Keys)
            {
                comboBox1.Items.Add(value);
                comboBox2.Items.Add(value);
            }
            currentAnimation = animation;

            ChildTransformed += new RectangleTransformedEventHandler(ParentForm_ChildTransformed);
        }