\83¢ã\83¼ã\83\89\95°å\80¤å\85¥å\8a\9bã\83\80ã\82¤ã\82¢ã\83­ã\82°.cs - RSS feed" href="/view?p=strokestylet/CsWin10Desktop3.git;a=rss;f=SSTFEditor/%C3%A3%C2%83%C2%A2%C3%A3%C2%83%C2%BC%C3%A3%C2%83%C2%89/%C3%A6%C2%95%C2%B0%C3%A5%C2%80%C2%A4%C3%A5%C2%85%C2%A5%C3%A5%C2%8A%C2%9B%C3%A3%C2%83%C2%80%C3%A3%C2%82%C2%A4%C3%A3%C2%82%C2%A2%C3%A3%C2%83%C2%AD%C3%A3%C2%82%C2%B0.cs" type="application/rss+xml" /> \83¢ã\83¼ã\83\89\95°å\80¤å\85¥å\8a\9bã\83\80ã\82¤ã\82¢ã\83­ã\82°.cs - RSS feed (no merges)" href="/view?p=strokestylet/CsWin10Desktop3.git;a=rss;f=SSTFEditor/%C3%A3%C2%83%C2%A2%C3%A3%C2%83%C2%BC%C3%A3%C2%83%C2%89/%C3%A6%C2%95%C2%B0%C3%A5%C2%80%C2%A4%C3%A5%C2%85%C2%A5%C3%A5%C2%8A%C2%9B%C3%A3%C2%83%C2%80%C3%A3%C2%82%C2%A4%C3%A3%C2%82%C2%A2%C3%A3%C2%83%C2%AD%C3%A3%C2%82%C2%B0.cs;opt=--no-merges" type="application/rss+xml" /> \83¢ã\83¼ã\83\89\95°å\80¤å\85¥å\8a\9bã\83\80ã\82¤ã\82¢ã\83­ã\82°.cs - Atom feed" href="/view?p=strokestylet/CsWin10Desktop3.git;a=atom;f=SSTFEditor/%C3%A3%C2%83%C2%A2%C3%A3%C2%83%C2%BC%C3%A3%C2%83%C2%89/%C3%A6%C2%95%C2%B0%C3%A5%C2%80%C2%A4%C3%A5%C2%85%C2%A5%C3%A5%C2%8A%C2%9B%C3%A3%C2%83%C2%80%C3%A3%C2%82%C2%A4%C3%A3%C2%82%C2%A2%C3%A3%C2%83%C2%AD%C3%A3%C2%82%C2%B0.cs" type="application/atom+xml" /> \83¢ã\83¼ã\83\89\95°å\80¤å\85¥å\8a\9bã\83\80ã\82¤ã\82¢ã\83­ã\82°.cs - Atom feed (no merges)" href="/view?p=strokestylet/CsWin10Desktop3.git;a=atom;f=SSTFEditor/%C3%A3%C2%83%C2%A2%C3%A3%C2%83%C2%BC%C3%A3%C2%83%C2%89/%C3%A6%C2%95%C2%B0%C3%A5%C2%80%C2%A4%C3%A5%C2%85%C2%A5%C3%A5%C2%8A%C2%9B%C3%A3%C2%83%C2%80%C3%A3%C2%82%C2%A4%C3%A3%C2%82%C2%A2%C3%A3%C2%83%C2%AD%C3%A3%C2%82%C2%B0.cs;opt=--no-merges" type="application/atom+xml" />

OSDN Git Service

SSTFEditor で、ビュアー再生時にドラム音を発生するオプションが -h のまま変更されていなかったミスを修正。
[strokestylet/CsWin10Desktop3.git] / SSTFEditor / ã\83¢ã\83¼ã\83\89 / æ\95°å\80¤å\85¥å\8a\9bã\83\80ã\82¤ã\82¢ã\83­ã\82°.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Diagnostics;
4 using System.Linq;
5 using System.Windows.Forms;
6
7 namespace SSTFEditor
8 {
9         public partial class 数値入力ダイアログ : Form
10         {
11                 public decimal 数値 => ( this.numericUpDown数値.Value );
12
13                 public 数値入力ダイアログ()
14                 {
15                         InitializeComponent();
16                 }
17                 public 数値入力ダイアログ( decimal 開始値, decimal 最小値, decimal 最大値, string 表示するメッセージ )
18                 {
19                         this.InitializeComponent();
20
21                         this.labelメッセージ.Text = 表示するメッセージ;
22                         this.numericUpDown数値.Value = 開始値;
23                         this.numericUpDown数値.Minimum = 最小値;
24                         this.numericUpDown数値.Maximum = 最大値;
25                 }
26
27                 // イベント
28
29                 protected void numericUpDown数値_KeyDown( object sender, KeyEventArgs e )
30                 {
31                         // ENTER → OK
32                         if( e.KeyCode == Keys.Return )
33                                 this.buttonOK.PerformClick();
34
35                         // ESC → キャンセル
36                         if( e.KeyCode == Keys.Escape )
37                                 this.buttonキャンセル.PerformClick();
38                 }
39         }
40 }