// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
+#nullable enable
+
using System;
using System.Collections.Generic;
using System.ComponentModel;
set => this.TextDetail.Text = value;
}
+ public bool SkipButtonPressed { get; set; } = false;
+
public UpdateDialog()
{
InitializeComponent();
}
private void YesButton_Click(object sender, EventArgs e)
- {
- this.Close();
- }
+ => this.Close();
private void NoButton_Click(object sender, EventArgs e)
- {
- this.Close();
- }
+ => this.Close();
private void UpdateDialog_Shown(object sender, EventArgs e)
- {
- // デフォルトではテキストが全選択されるため抑制
- this.TextDetail.SelectionLength = 0;
- }
+ => this.TextDetail.SelectionLength = 0; // デフォルトではテキストが全選択されるため抑制
+
+ private void SkipButton_Click(object sender, EventArgs e)
+ => this.SkipButtonPressed = true;
}
}