stikkPop.Main.ShowRubberBand C# (CSharp) Méthode

ShowRubberBand() private méthode

private ShowRubberBand ( ) : void
Résultat void
        private void ShowRubberBand()
        {
            using (RubberBand rbf = new RubberBand(this))
            {

                rbf.ShowDialog();

                Size sLastSize = rbf.lastSize;

                if (sLastSize.Width > 0 && sLastSize.Height > 0)
                {
                    Rectangle r = new Rectangle();
                    r.Location = rbf.lastLoc;
                    r.Size = sLastSize;
                    CaptureBitmap(r);
                }
            }

            this.Show();
        }