Browse Subversion Repository
Contents of /CommandOptionWindows/ReplaceCommandOptionWindow.cs
Parent Directory
| Revision Log
Revision 2 -
( show annotations)
( download)
Sun Jan 16 07:30:44 2011 UTC
(13 years, 3 months ago)
by aqua877
File size: 1511 byte(s)
Implemented TextReaderService.
| 1 |
using System; |
| 2 |
using System.Collections.Generic; |
| 3 |
using System.ComponentModel; |
| 4 |
using System.Data; |
| 5 |
using System.Drawing; |
| 6 |
using System.Linq; |
| 7 |
using System.Text; |
| 8 |
using System.Windows.Forms; |
| 9 |
|
| 10 |
namespace Aqua877.WinApp.IronLivetube.CommandOptionWindows |
| 11 |
{ |
| 12 |
public partial class ReplaceCommandOptionWindow : Form |
| 13 |
{ |
| 14 |
public ReplaceCommandOptionWindow() |
| 15 |
{ |
| 16 |
this.InitializeComponent(); |
| 17 |
|
| 18 |
this.IsDisableCommandForShortlyStringCheckBox.Checked = GlobalValues.Setting.IsDisableCommandForShortlyString; |
| 19 |
this.IsNotifyWhenCommandExecutedCheckBox.Checked = GlobalValues.Setting.IsNotifyWhenCommandExecuted; |
| 20 |
this.IsReflectCommandForWordAddedByUserCheckBox.Checked = GlobalValues.Setting.IsReflectCommandForWordAddedByUser; |
| 21 |
} |
| 22 |
|
| 23 |
private void OKButton_Click(object sender, EventArgs e) |
| 24 |
{ |
| 25 |
this.Close(); |
| 26 |
} |
| 27 |
|
| 28 |
private void IsDisableCommandForShortlyStringCheckBox_CheckedChanged(object sender, EventArgs e) |
| 29 |
{ |
| 30 |
GlobalValues.Setting.IsDisableCommandForShortlyString = this.IsDisableCommandForShortlyStringCheckBox.Checked; |
| 31 |
} |
| 32 |
|
| 33 |
private void IsNotifyWhenCommandExecutedCheckBox_CheckedChanged(object sender, EventArgs e) |
| 34 |
{ |
| 35 |
GlobalValues.Setting.IsNotifyWhenCommandExecuted = this.IsNotifyWhenCommandExecutedCheckBox.Checked; |
| 36 |
} |
| 37 |
|
| 38 |
private void IsReflectCommandForWordAddedByUserCheckBox_CheckedChanged(object sender, EventArgs e) |
| 39 |
{ |
| 40 |
GlobalValues.Setting.IsReflectCommandForWordAddedByUser = this.IsReflectCommandForWordAddedByUserCheckBox.Checked; |
| 41 |
} |
| 42 |
} |
| 43 |
} |
|