private void ZoomBlurEffect_Click(object sender, EventArgs e) { Stopwatch Sw = new Stopwatch(); Sw.Start(); BlurEffect.ZoomBlur(bmp); Sw.Stop(); this.Text = Sw.ElapsedMilliseconds.ToString(); this.Canvas.Invalidate(); }
private void ZoomBlurEffect_Click(object sender, EventArgs e) { Stopwatch Sw = new Stopwatch(); Sw.Start(); BlurEffect.ZoomBlur(bmp); Sw.Stop(); this.Text = Sw.ElapsedMilliseconds.ToString(); this.Canvas.Invalidate(); }