GifRecorder/Pages/Progress.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ScreenToGif.Properties;
namespace ScreenToGif.Pages
{
/// <summary>
/// Progress Indicator form.
/// </summary>
public partial class Progress : Form
{
#region Variables
private bool _starting = true;
#endregion
#region Initialization
/// <summary>
/// The Progress Indicator form.
/// </summary>
public Progress()
{
InitializeComponent();
#region Localization of Labels
this.Text = Resources.Title_Progress;
lblSizeType.Text = Resources.Label_BarThicknessType;
lblBarThickness.Text = Resources.Label_BarThickness;
lblPosition.Text = Resources.Label_Position;
lblColor.Text = Resources.Label_Color;
#endregion
}
private void Progress_Load(object sender, EventArgs e)
{
rbPercentage.Checked = Settings.Default.progressThickAsPercentage;
rbPoint.Checked = !rbPercentage.Checked;
#region Thickness
if (rbPercentage.Checked)
{
lblPercentageSize.Text = Resources.Label_AsImageHeight;
numThick.Maximum = 100;
numThick.Value = (decimal)Settings.Default.progressThickPercentage * 100;
}
else
后面还有 226 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
