ScreenToGif.Windows.Recorder.Snap C# (CSharp) 메소드

Snap() 개인적인 메소드

private Snap ( ) : void
리턴 void
        private void Snap()
        {
            if (ListFrames.Count == 0)
            {
                #region If Fullscreen

                if (Settings.Default.FullScreen)
                {
                    _size = new System.Drawing.Size((int)_sizeScreen.X, (int)_sizeScreen.Y);

                    HideWindowAndShowTrayIcon();
                }
                else
                {
                    _size = new System.Drawing.Size((int)((Width - Constants.HorizontalOffset) * _scale), (int)((Height - Constants.VerticalOffset) * _scale));
                }

                #endregion

                IsRecording(true);
            }

            _snapDelay = Settings.Default.SnapshotDefaultDelay;

            #region Take Screenshot (All possibles types)

            if (Settings.Default.ShowCursor)
            {
                if (Settings.Default.FullScreen)
                {
                    FullCursor_Elapsed(null, null);
                }
                else
                {
                    Cursor_Elapsed(null, null);
                }
            }
            else
            {
                if (Settings.Default.FullScreen)
                {
                    Full_Elapsed(null, null);
                }
                else
                {
                    Normal_Elapsed(null, null);
                }
            }

            #endregion
        }