private void hScrollBarSpeed_Scroll(object sender, ScrollEventArgs e) { FormAnimation formAnimation = new FormAnimation(); formAnimation.Owner = this; formAnimation.timerAnimation.Interval = hScrollBarSpeed.Value; }
protected void buttonMainPicture_Click(object sender, EventArgs e) { FormAnimation formAnimation = new FormAnimation(); formAnimation.Owner = this; formAnimation.Show(); }
private void hScrollBarSize_Scroll(object sender, ScrollEventArgs e) { FormAnimation formAnimation = new FormAnimation(); formAnimation.Owner = this; formAnimation.pictureBoxAnimation.Width = formAnimation.Width + hScrollBarSize.Value; formAnimation.pictureBoxAnimation.Height = formAnimation.Height + hScrollBarSize.Value; }