From 2f79c3e6550598310b69a3b0f684efb77b95b29d Mon Sep 17 00:00:00 2001 From: syo68k Date: Thu, 7 Oct 2010 12:06:57 +0000 Subject: [PATCH] =?utf8?q?=E5=88=9D=E5=9B=9E=E3=81=AB=E8=A8=AD=E5=AE=9A?= =?utf8?q?=E3=83=80=E3=82=A4=E3=82=A2=E3=83=AD=E3=82=B0=E3=82=92=E9=96=8B?= =?utf8?q?=E3=81=84=E3=81=9F=E5=A0=B4=E5=90=88=E5=80=8B=E5=88=A5=E3=82=AB?= =?utf8?q?=E3=82=A6=E3=83=B3=E3=83=88=E3=82=92=E4=BD=BF=E7=94=A8=E3=81=99?= =?utf8?q?=E3=82=8B=E3=81=8B=E3=81=A9=E3=81=86=E3=81=8B=E3=81=AE=E8=A8=AD?= =?utf8?q?=E5=AE=9A=E3=81=8C=E6=AD=A3=E3=81=97=E3=81=8F=E5=8F=8D=E6=98=A0?= =?utf8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE?= =?utf8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@945 e39ad16e-3079-482e-bb30-4b4d378143b6 --- Tween/Setting.vb | 14 ++++++++++++++ Tween/Tween.vb | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Tween/Setting.vb b/Tween/Setting.vb index 6023302a..f1ebb684 100644 --- a/Tween/Setting.vb +++ b/Tween/Setting.vb @@ -120,6 +120,7 @@ Public Class Setting Private _MyPreviewEnable As Boolean Private _MoreCountApi As Integer Private _FirstCountApi As Integer + Private _MyUseAdditonalCount As Boolean Private _ValidationError As Boolean = False @@ -304,6 +305,7 @@ Public Class Setting If IsNumeric(HotkeyCode.Text) Then _HotkeyValue = CInt(HotkeyCode.Text) _HotkeyKey = DirectCast(HotkeyText.Tag, Keys) _BlinkNewMentions = ChkNewMentionsBlink.Checked + _MyUseAdditonalCount = UseChangeGetCount.Checked _MoreCountApi = CType(GetMoreTextCountApi.Text, Integer) _FirstCountApi = CType(FirstTextCountApi.Text, Integer) Catch ex As Exception @@ -551,6 +553,8 @@ Public Class Setting CheckOutputz_CheckedChanged(sender, e) + UseChangeGetCount.Checked = _MyUseAdditonalCount + Label53.Enabled = UseChangeGetCount.Checked GetMoreTextCountApi.Text = _MoreCountApi.ToString FirstTextCountApi.Text = _FirstCountApi.ToString GetMoreTextCountApi.Enabled = UseChangeGetCount.Checked @@ -1517,6 +1521,15 @@ Public Class Setting End Set End Property + Public Property UseAdditionalCount() As Boolean + Get + Return _MyUseAdditonalCount + End Get + Set(ByVal value As Boolean) + _MyUseAdditonalCount = value + End Set + End Property + Public Property TwitterApiUrl() As String Get Return _MyTwitterApiUrl @@ -2005,6 +2018,7 @@ Public Class Setting Private Sub UseChangeGetCount_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles UseChangeGetCount.CheckedChanged GetMoreTextCountApi.Enabled = UseChangeGetCount.Checked FirstTextCountApi.Enabled = UseChangeGetCount.Checked + Label53.Enabled = UseChangeGetCount.Checked End Sub Private Sub FirstTextCountApi_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles FirstTextCountApi.Validating diff --git a/Tween/Tween.vb b/Tween/Tween.vb index 61daa003..a910bb6d 100644 --- a/Tween/Tween.vb +++ b/Tween/Tween.vb @@ -748,7 +748,7 @@ Public Class TweenMain SettingDialog.BlinkNewMentions = _cfgCommon.BlinkNewMentions - SettingDialog.UseChangeGetCount.Checked = _cfgCommon.UseAdditionalCount + SettingDialog.UseAdditionalCount = _cfgCommon.UseAdditionalCount SettingDialog.MoreCountApi = _cfgCommon.MoreCountApi SettingDialog.FirstCountApi = _cfgCommon.FirstCountApi If _cfgCommon.UseAdditionalCount Then -- 2.11.0