GifRecorder/Pages/AppSettings.cs
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using ScreenToGif.Properties;
using ScreenToGif.Util;
namespace ScreenToGif.Pages
{
/// <summary>
/// Settings page. These settings controls the behavior of the program.
/// </summary>
public partial class AppSettings : UserControl
{
#region Variables
/// <summary>
/// True if Legacy theme, False if Modern theme.
/// </summary>
private bool _legacy;
/// <summary>
/// The Path of the Temp folder.
/// </summary>
private readonly string _pathTemp = Path.GetTempPath() + @"ScreenToGif\Recording\";
/// <summary>
/// The Path of the Temp folder.
/// </summary>
private List<string> _listFolders = new List<string>();
#endregion
#region Contructor
/// <summary>
/// Constructor of the App settings page.
/// </summary>
/// <param name="legacy">True if executing the Legacy page, false if modern.</param>
public AppSettings(bool legacy)
{
_legacy = legacy;
InitializeComponent();
#region Localize Labels (thanks to the form designer that resets every label)
lblStop.Text = Resources.Label_Stop;
lblStartPause.Text = Resources.Label_RecordPause;
gbAppSettings.Text = Resources.Label_Title_AppSettings;
gbHotkeys.Text = Resources.Label_Hotkeys;
gbLang.Text = Resources.Label_Language;
lblCount.Text = Resources.Label_FoldersToClear + "0";
linkOpenFolder.Text = Resources.Label_OpenFolder;
#endregion
后面还有 438 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
