GifRecorder/Pages/Processing.cs

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.IO;
using System.Windows.Forms;
using ScreenToGif.Properties;
using ScreenToGif.Util;

namespace ScreenToGif.Pages
{
    /// <summary>
    /// The processing info page.
    /// </summary>
    public partial class Processing : UserControl
    {
        #region Variables

        private static int _max = 0;
        private static string _fileName = "";
        private static Processing _page;

        /// <summary>
        /// The Processing page object.
        /// </summary>
        public static Processing Page
        {
            //get { return _page ?? (_page = new Processing {Dock = DockStyle.Fill}); }
            get { return _page; }
            set { _page = value; }
        }

        #endregion

        /// <summary>
        /// Starts a Processing page instance.
        /// </summary>
        public Processing()
        {
            //To localize this page too.
            if (CultureUtil.Lang.Length >= 2)
            {
                System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(CultureUtil.Lang);
            }

            InitializeComponent();

            #region Localize Labels

            lblProcessing.Text = Resources.Label_Processing;
            linkOpenFile.Text = Resources.Label_OpenGif; 
            linkClose.Text = Resources.Label_Close;

            #endregion
        }

        #region Setters

        /// <summary>
        /// Set the status.
        /// </summary>
        /// <param name="num">The actual status.</param>
        public void SetStatus(int num)
后面还有 207 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。