{
private static AppendSettingDialog _instance = new AppendSettingDialog();
private Twitter tw;
- private ProxyType _MyProxyType;
private bool _ValidationError = false;
private MyCommon.EVENTTYPE _MyEventNotifyFlag;
private MyCommon.EVENTTYPE _isMyEventNotifyFlag;
- private string _MyTranslateLanguage;
-
- public bool EnableImgAzyobuziNet { get; set; }
- public bool ImgAzyobuziNetDisabledInDM { get; set; }
- public MapProvider MapThumbnailProvider;
- public int MapThumbnailHeight;
- public int MapThumbnailWidth;
- public int MapThumbnailZoom;
+
public List<UserAccount> UserAccounts;
private long? InitialUserId;
- public bool TabMouseLock;
public bool IsRemoveSameEvent;
- public bool IsNotifyUseGrowl;
public TwitterConfiguration TwitterConfiguration = TwitterConfiguration.DefaultConfiguration();
this.StartupPanel.LoadConfig(settingCommon);
this.TweetPrvPanel.LoadConfig(settingCommon);
this.TweetActPanel.LoadConfig(settingCommon, settingLocal);
+ this.ActionPanel.LoadConfig(settingCommon, settingLocal);
+ this.FontPanel.LoadConfig(settingLocal);
+ this.FontPanel2.LoadConfig(settingLocal);
+ this.PreviewPanel.LoadConfig(settingCommon);
+ this.GetCountPanel.LoadConfig(settingCommon);
+ this.ShortUrlPanel.LoadConfig(settingCommon);
+ this.ProxyPanel.LoadConfig(settingLocal);
+ this.CooperatePanel.LoadConfig(settingCommon);
}
public void SaveConfig(SettingCommon settingCommon, SettingLocal settingLocal)
this.StartupPanel.SaveConfig(settingCommon);
this.TweetPrvPanel.SaveConfig(settingCommon);
this.TweetActPanel.SaveConfig(settingCommon, settingLocal);
+ this.ActionPanel.SaveConfig(settingCommon, settingLocal);
+ this.FontPanel.SaveConfig(settingLocal);
+ this.FontPanel2.SaveConfig(settingLocal);
+ this.PreviewPanel.SaveConfig(settingCommon);
+ this.GetCountPanel.SaveConfig(settingCommon);
+ this.ShortUrlPanel.SaveConfig(settingCommon);
+ this.ProxyPanel.SaveConfig(settingLocal);
+ this.CooperatePanel.SaveConfig(settingCommon);
}
private void TreeViewSetting_BeforeSelect(object sender, TreeViewCancelEventArgs e)
#endif
try
{
- PlaySound = this.ActionPanel.PlaySnd.Checked;
- UnreadManage = this.ActionPanel.UReadMng.Checked;
-
- FontUnread = this.FontPanel.lblUnread.Font; //未使用
- ColorUnread = this.FontPanel.lblUnread.ForeColor;
- FontReaded = this.FontPanel.lblListFont.Font; //リストフォントとして使用
- ColorReaded = this.FontPanel.lblListFont.ForeColor;
- ColorFav = this.FontPanel.lblFav.ForeColor;
- ColorOWL = this.FontPanel.lblOWL.ForeColor;
- ColorRetweet = this.FontPanel.lblRetweet.ForeColor;
- FontDetail = this.FontPanel.lblDetail.Font;
- ColorSelf = this.FontPanel2.lblSelf.BackColor;
- ColorAtSelf = this.FontPanel2.lblAtSelf.BackColor;
- ColorTarget = this.FontPanel2.lblTarget.BackColor;
- ColorAtTarget = this.FontPanel2.lblAtTarget.BackColor;
- ColorAtFromTarget = this.FontPanel2.lblAtFromTarget.BackColor;
- ColorAtTo = this.FontPanel2.lblAtTo.BackColor;
- ColorInputBackcolor = this.FontPanel2.lblInputBackcolor.BackColor;
- ColorInputFont = this.FontPanel2.lblInputFont.ForeColor;
- ColorListBackcolor = this.FontPanel2.lblListBackcolor.BackColor;
- ColorDetailBackcolor = this.FontPanel.lblDetailBackcolor.BackColor;
- ColorDetail = this.FontPanel.lblDetail.ForeColor;
- ColorDetailLink = this.FontPanel.lblDetailLink.ForeColor;
- FontInputFont = this.FontPanel2.lblInputFont.Font;
- switch (this.PreviewPanel.cmbNameBalloon.SelectedIndex)
- {
- case 0:
- NameBalloon = MyCommon.NameBalloonEnum.None;
- break;
- case 1:
- NameBalloon = MyCommon.NameBalloonEnum.UserID;
- break;
- case 2:
- NameBalloon = MyCommon.NameBalloonEnum.NickName;
- break;
- }
-
- CountApi = int.Parse(this.GetCountPanel.TextCountApi.Text);
- CountApiReply = int.Parse(this.GetCountPanel.TextCountApiReply.Text);
- BrowserPath = this.ActionPanel.BrowserPathText.Text.Trim();
- DispUsername = this.PreviewPanel.CheckDispUsername.Checked;
- CloseToExit = this.ActionPanel.CheckCloseToExit.Checked;
- MinimizeToTray = this.ActionPanel.CheckMinimizeToTray.Checked;
- switch (this.PreviewPanel.ComboDispTitle.SelectedIndex)
- {
- case 0: //None
- DispLatestPost = MyCommon.DispTitleEnum.None;
- break;
- case 1: //Ver
- DispLatestPost = MyCommon.DispTitleEnum.Ver;
- break;
- case 2: //Post
- DispLatestPost = MyCommon.DispTitleEnum.Post;
- break;
- case 3: //RepCount
- DispLatestPost = MyCommon.DispTitleEnum.UnreadRepCount;
- break;
- case 4: //AllCount
- DispLatestPost = MyCommon.DispTitleEnum.UnreadAllCount;
- break;
- case 5: //Rep+All
- DispLatestPost = MyCommon.DispTitleEnum.UnreadAllRepCount;
- break;
- case 6: //Unread/All
- DispLatestPost = MyCommon.DispTitleEnum.UnreadCountAllCount;
- break;
- case 7: //Count of Status/Follow/Follower
- DispLatestPost = MyCommon.DispTitleEnum.OwnStatus;
- break;
- }
- TinyUrlResolve = this.ShortUrlPanel.CheckTinyURL.Checked;
- ShortUrl.Instance.DisableExpanding = !TinyUrlResolve;
- if (this.ProxyPanel.RadioProxyNone.Checked)
- {
- _MyProxyType = ProxyType.None;
- }
- else if (this.ProxyPanel.RadioProxyIE.Checked)
- {
- _MyProxyType = ProxyType.IE;
- }
- else
- {
- _MyProxyType = ProxyType.Specified;
- }
- ProxyAddress = this.ProxyPanel.TextProxyAddress.Text.Trim();
- ProxyPort = int.Parse(this.ProxyPanel.TextProxyPort.Text.Trim());
- ProxyUser = this.ProxyPanel.TextProxyUser.Text.Trim();
- ProxyPassword = this.ProxyPanel.TextProxyPassword.Text.Trim();
- RestrictFavCheck = this.ActionPanel.CheckFavRestrict.Checked;
- AlwaysTop = this.PreviewPanel.CheckAlwaysTop.Checked;
- UrlConvertAuto = this.ShortUrlPanel.CheckAutoConvertUrl.Checked;
- ShortenTco = this.ShortUrlPanel.ShortenTcoCheck.Checked;
-
- Nicoms = this.CooperatePanel.CheckNicoms.Checked;
DefaultTimeOut = int.Parse(this.ConnectionPanel.ConnectionTimeOut.Text);
- LimitBalloon = this.PreviewPanel.CheckBalloonLimit.Checked;
EventNotifyEnabled = this.NotifyPanel.CheckEventNotify.Checked;
GetEventNotifyFlag(ref _MyEventNotifyFlag, ref _isMyEventNotifyFlag);
ForceEventNotify = this.NotifyPanel.CheckForceEventNotify.Checked;
FavEventUnread = this.NotifyPanel.CheckFavEventUnread.Checked;
- TranslateLanguage = Bing.GetLanguageEnumFromIndex(this.CooperatePanel.ComboBoxTranslateLanguage.SelectedIndex);
EventSoundFile = (string)this.NotifyPanel.ComboBoxEventNotifySound.SelectedItem;
- AutoShortUrlFirst = (MyCommon.UrlConverter)this.ShortUrlPanel.ComboBoxAutoShortUrlFirst.SelectedIndex;
- TabIconDisp = this.PreviewPanel.chkTabIconDisp.Checked;
- ReadOwnPost = this.ActionPanel.chkReadOwnPost.Checked;
- IsMonospace = this.PreviewPanel.CheckMonospace.Checked;
- ReadOldPosts = this.ActionPanel.CheckReadOldPosts.Checked;
- BitlyUser = this.ShortUrlPanel.TextBitlyId.Text;
- BitlyPwd = this.ShortUrlPanel.TextBitlyPw.Text;
- PreviewEnable = this.PreviewPanel.CheckPreviewEnable.Checked;
- StatusAreaAtBottom = this.PreviewPanel.CheckStatusAreaAtBottom.Checked;
TwitterApiUrl = this.ConnectionPanel.TwitterAPIText.Text.Trim();
- switch (this.PreviewPanel.ReplyIconStateCombo.SelectedIndex)
- {
- case 0:
- ReplyIconState = MyCommon.REPLY_ICONSTATE.None;
- break;
- case 1:
- ReplyIconState = MyCommon.REPLY_ICONSTATE.StaticIcon;
- break;
- case 2:
- ReplyIconState = MyCommon.REPLY_ICONSTATE.BlinkIcon;
- break;
- }
- switch (this.PreviewPanel.LanguageCombo.SelectedIndex)
- {
- case 0:
- Language = "OS";
- break;
- case 1:
- Language = "ja";
- break;
- case 2:
- Language = "en";
- break;
- case 3:
- Language = "zh-CN";
- break;
- default:
- Language = "en";
- break;
- }
- HotkeyEnabled = this.ActionPanel.HotkeyCheck.Checked;
- HotkeyMod = Keys.None;
- if (this.ActionPanel.HotkeyAlt.Checked) HotkeyMod = HotkeyMod | Keys.Alt;
- if (this.ActionPanel.HotkeyShift.Checked) HotkeyMod = HotkeyMod | Keys.Shift;
- if (this.ActionPanel.HotkeyCtrl.Checked) HotkeyMod = HotkeyMod | Keys.Control;
- if (this.ActionPanel.HotkeyWin.Checked) HotkeyMod = HotkeyMod | Keys.LWin;
- int.TryParse(this.ActionPanel.HotkeyCode.Text, out HotkeyValue);
- HotkeyKey = (Keys)this.ActionPanel.HotkeyText.Tag;
- BlinkNewMentions = this.PreviewPanel.ChkNewMentionsBlink.Checked;
- UseAdditionalCount = this.GetCountPanel.UseChangeGetCount.Checked;
- MoreCountApi = int.Parse(this.GetCountPanel.GetMoreTextCountApi.Text);
- FirstCountApi = int.Parse(this.GetCountPanel.FirstTextCountApi.Text);
- SearchCountApi = int.Parse(this.GetCountPanel.SearchTextCountApi.Text);
- FavoritesCountApi = int.Parse(this.GetCountPanel.FavoritesTextCountApi.Text);
- UserTimelineCountApi = int.Parse(this.GetCountPanel.UserTimelineTextCountApi.Text);
- ListCountApi = int.Parse(this.GetCountPanel.ListTextCountApi.Text);
- OpenUserTimeline = this.ActionPanel.CheckOpenUserTimeline.Checked;
- ListDoubleClickAction = this.ActionPanel.ListDoubleClickActionComboBox.SelectedIndex;
- UserAppointUrl = this.CooperatePanel.UserAppointUrlText.Text;
- this.EnableImgAzyobuziNet = this.CooperatePanel.EnableImgAzyobuziNetCheckBox.Checked;
- this.ImgAzyobuziNetDisabledInDM = this.CooperatePanel.ImgAzyobuziNetDisabledInDMCheckBox.Checked;
- this.MapThumbnailProvider = (MapProvider)this.CooperatePanel.MapThumbnailProviderComboBox.SelectedIndex;
- this.MapThumbnailHeight = int.Parse(this.CooperatePanel.MapThumbnailHeightTextBox.Text);
- this.MapThumbnailWidth = int.Parse(this.CooperatePanel.MapThumbnailWidthTextBox.Text);
- this.MapThumbnailZoom = int.Parse(this.CooperatePanel.MapThumbnailZoomTextBox.Text);
- this.TabMouseLock = this.ActionPanel.TabMouseLockCheck.Checked;
this.IsRemoveSameEvent = this.NotifyPanel.IsRemoveSameFavEventCheckBox.Checked;
- this.IsNotifyUseGrowl = this.PreviewPanel.IsNotifyUseGrowlCheckBox.Checked;
}
catch(Exception)
{
}
}
- this.ActionPanel.UReadMng.Checked = UnreadManage;
- this.ActionPanel.PlaySnd.Checked = PlaySound;
-
- this.FontPanel.lblListFont.Font = FontReaded;
- this.FontPanel.lblUnread.Font = FontUnread;
- this.FontPanel.lblUnread.ForeColor = ColorUnread;
- this.FontPanel.lblListFont.ForeColor = ColorReaded;
- this.FontPanel.lblFav.ForeColor = ColorFav;
- this.FontPanel.lblOWL.ForeColor = ColorOWL;
- this.FontPanel.lblRetweet.ForeColor = ColorRetweet;
- this.FontPanel.lblDetail.Font = FontDetail;
- this.FontPanel2.lblSelf.BackColor = ColorSelf;
- this.FontPanel2.lblAtSelf.BackColor = ColorAtSelf;
- this.FontPanel2.lblTarget.BackColor = ColorTarget;
- this.FontPanel2.lblAtTarget.BackColor = ColorAtTarget;
- this.FontPanel2.lblAtFromTarget.BackColor = ColorAtFromTarget;
- this.FontPanel2.lblAtTo.BackColor = ColorAtTo;
- this.FontPanel2.lblInputBackcolor.BackColor = ColorInputBackcolor;
- this.FontPanel2.lblInputFont.ForeColor = ColorInputFont;
- this.FontPanel2.lblInputFont.Font = FontInputFont;
- this.FontPanel2.lblListBackcolor.BackColor = ColorListBackcolor;
- this.FontPanel.lblDetailBackcolor.BackColor = ColorDetailBackcolor;
- this.FontPanel.lblDetail.ForeColor = ColorDetail;
- this.FontPanel.lblDetailLink.ForeColor = ColorDetailLink;
-
- switch (NameBalloon)
- {
- case MyCommon.NameBalloonEnum.None:
- this.PreviewPanel.cmbNameBalloon.SelectedIndex = 0;
- break;
- case MyCommon.NameBalloonEnum.UserID:
- this.PreviewPanel.cmbNameBalloon.SelectedIndex = 1;
- break;
- case MyCommon.NameBalloonEnum.NickName:
- this.PreviewPanel.cmbNameBalloon.SelectedIndex = 2;
- break;
- }
-
- this.GetCountPanel.TextCountApi.Text = CountApi.ToString();
- this.GetCountPanel.TextCountApiReply.Text = CountApiReply.ToString();
- this.ActionPanel.BrowserPathText.Text = BrowserPath;
- this.PreviewPanel.CheckDispUsername.Checked = DispUsername;
- this.ActionPanel.CheckCloseToExit.Checked = CloseToExit;
- this.ActionPanel.CheckMinimizeToTray.Checked = MinimizeToTray;
- switch (DispLatestPost)
- {
- case MyCommon.DispTitleEnum.None:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 0;
- break;
- case MyCommon.DispTitleEnum.Ver:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 1;
- break;
- case MyCommon.DispTitleEnum.Post:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 2;
- break;
- case MyCommon.DispTitleEnum.UnreadRepCount:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 3;
- break;
- case MyCommon.DispTitleEnum.UnreadAllCount:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 4;
- break;
- case MyCommon.DispTitleEnum.UnreadAllRepCount:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 5;
- break;
- case MyCommon.DispTitleEnum.UnreadCountAllCount:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 6;
- break;
- case MyCommon.DispTitleEnum.OwnStatus:
- this.PreviewPanel.ComboDispTitle.SelectedIndex = 7;
- break;
- }
- this.ShortUrlPanel.CheckTinyURL.Checked = TinyUrlResolve;
- switch (_MyProxyType)
- {
- case ProxyType.None:
- this.ProxyPanel.RadioProxyNone.Checked = true;
- break;
- case ProxyType.IE:
- this.ProxyPanel.RadioProxyIE.Checked = true;
- break;
- default:
- this.ProxyPanel.RadioProxySpecified.Checked = true;
- break;
- }
- bool chk = this.ProxyPanel.RadioProxySpecified.Checked;
- this.ProxyPanel.LabelProxyAddress.Enabled = chk;
- this.ProxyPanel.TextProxyAddress.Enabled = chk;
- this.ProxyPanel.LabelProxyPort.Enabled = chk;
- this.ProxyPanel.TextProxyPort.Enabled = chk;
- this.ProxyPanel.LabelProxyUser.Enabled = chk;
- this.ProxyPanel.TextProxyUser.Enabled = chk;
- this.ProxyPanel.LabelProxyPassword.Enabled = chk;
- this.ProxyPanel.TextProxyPassword.Enabled = chk;
-
- this.ProxyPanel.TextProxyAddress.Text = ProxyAddress;
- this.ProxyPanel.TextProxyPort.Text = ProxyPort.ToString();
- this.ProxyPanel.TextProxyUser.Text = ProxyUser;
- this.ProxyPanel.TextProxyPassword.Text = ProxyPassword;
-
- this.ActionPanel.CheckFavRestrict.Checked = RestrictFavCheck;
- this.PreviewPanel.CheckAlwaysTop.Checked = AlwaysTop;
- this.ShortUrlPanel.CheckAutoConvertUrl.Checked = UrlConvertAuto;
- this.ShortUrlPanel.ShortenTcoCheck.Checked = ShortenTco;
- this.ShortUrlPanel.ShortenTcoCheck.Enabled = this.ShortUrlPanel.CheckAutoConvertUrl.Checked;
-
- this.CooperatePanel.CheckNicoms.Checked = Nicoms;
this.ConnectionPanel.ConnectionTimeOut.Text = DefaultTimeOut.ToString();
- this.PreviewPanel.CheckBalloonLimit.Checked = LimitBalloon;
ApplyEventNotifyFlag(EventNotifyEnabled, EventNotifyFlag, IsMyEventNotifyFlag);
this.NotifyPanel.CheckForceEventNotify.Checked = ForceEventNotify;
this.NotifyPanel.CheckFavEventUnread.Checked = FavEventUnread;
- this.CooperatePanel.ComboBoxTranslateLanguage.SelectedIndex = Bing.GetIndexFromLanguageEnum(TranslateLanguage);
SoundFileListup();
- this.ShortUrlPanel.ComboBoxAutoShortUrlFirst.SelectedIndex = (int)AutoShortUrlFirst;
- this.PreviewPanel.chkTabIconDisp.Checked = TabIconDisp;
- this.ActionPanel.chkReadOwnPost.Checked = ReadOwnPost;
- this.PreviewPanel.CheckMonospace.Checked = IsMonospace;
- this.ActionPanel.CheckReadOldPosts.Checked = ReadOldPosts;
- this.ShortUrlPanel.TextBitlyId.Text = BitlyUser;
- this.ShortUrlPanel.TextBitlyPw.Text = BitlyPwd;
- this.ShortUrlPanel.TextBitlyId.Modified = false;
- this.ShortUrlPanel.TextBitlyPw.Modified = false;
- this.PreviewPanel.CheckPreviewEnable.Checked = PreviewEnable;
- this.PreviewPanel.CheckStatusAreaAtBottom.Checked = StatusAreaAtBottom;
this.ConnectionPanel.TwitterAPIText.Text = TwitterApiUrl;
- switch (ReplyIconState)
- {
- case MyCommon.REPLY_ICONSTATE.None:
- this.PreviewPanel.ReplyIconStateCombo.SelectedIndex = 0;
- break;
- case MyCommon.REPLY_ICONSTATE.StaticIcon:
- this.PreviewPanel.ReplyIconStateCombo.SelectedIndex = 1;
- break;
- case MyCommon.REPLY_ICONSTATE.BlinkIcon:
- this.PreviewPanel.ReplyIconStateCombo.SelectedIndex = 2;
- break;
- }
- switch (Language)
- {
- case "OS":
- this.PreviewPanel.LanguageCombo.SelectedIndex = 0;
- break;
- case "ja":
- this.PreviewPanel.LanguageCombo.SelectedIndex = 1;
- break;
- case "en":
- this.PreviewPanel.LanguageCombo.SelectedIndex = 2;
- break;
- case "zh-CN":
- this.PreviewPanel.LanguageCombo.SelectedIndex = 3;
- break;
- default:
- this.PreviewPanel.LanguageCombo.SelectedIndex = 0;
- break;
- }
- this.ActionPanel.HotkeyCheck.Checked = HotkeyEnabled;
- this.ActionPanel.HotkeyAlt.Checked = ((HotkeyMod & Keys.Alt) == Keys.Alt);
- this.ActionPanel.HotkeyCtrl.Checked = ((HotkeyMod & Keys.Control) == Keys.Control);
- this.ActionPanel.HotkeyShift.Checked = ((HotkeyMod & Keys.Shift) == Keys.Shift);
- this.ActionPanel.HotkeyWin.Checked = ((HotkeyMod & Keys.LWin) == Keys.LWin);
- this.ActionPanel.HotkeyCode.Text = HotkeyValue.ToString();
- this.ActionPanel.HotkeyText.Text = HotkeyKey.ToString();
- this.ActionPanel.HotkeyText.Tag = HotkeyKey;
- this.ActionPanel.HotkeyAlt.Enabled = HotkeyEnabled;
- this.ActionPanel.HotkeyShift.Enabled = HotkeyEnabled;
- this.ActionPanel.HotkeyCtrl.Enabled = HotkeyEnabled;
- this.ActionPanel.HotkeyWin.Enabled = HotkeyEnabled;
- this.ActionPanel.HotkeyText.Enabled = HotkeyEnabled;
- this.ActionPanel.HotkeyCode.Enabled = HotkeyEnabled;
- this.PreviewPanel.ChkNewMentionsBlink.Checked = BlinkNewMentions;
-
- this.GetCountPanel.GetMoreTextCountApi.Text = MoreCountApi.ToString();
- this.GetCountPanel.FirstTextCountApi.Text = FirstCountApi.ToString();
- this.GetCountPanel.SearchTextCountApi.Text = SearchCountApi.ToString();
- this.GetCountPanel.FavoritesTextCountApi.Text = FavoritesCountApi.ToString();
- this.GetCountPanel.UserTimelineTextCountApi.Text = UserTimelineCountApi.ToString();
- this.GetCountPanel.ListTextCountApi.Text = ListCountApi.ToString();
- this.GetCountPanel.UseChangeGetCount.Checked = UseAdditionalCount;
- this.GetCountPanel.Label28.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.Label30.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.Label53.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.Label66.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.Label17.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.Label25.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.GetMoreTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.FirstTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.SearchTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.FavoritesTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.UserTimelineTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.GetCountPanel.ListTextCountApi.Enabled = this.GetCountPanel.UseChangeGetCount.Checked;
- this.ActionPanel.CheckOpenUserTimeline.Checked = OpenUserTimeline;
- this.ActionPanel.ListDoubleClickActionComboBox.SelectedIndex = ListDoubleClickAction;
- this.CooperatePanel.UserAppointUrlText.Text = UserAppointUrl;
- this.CooperatePanel.EnableImgAzyobuziNetCheckBox.Checked = this.EnableImgAzyobuziNet;
- this.CooperatePanel.ImgAzyobuziNetDisabledInDMCheckBox.Checked = this.ImgAzyobuziNetDisabledInDM;
- this.CooperatePanel.MapThumbnailProviderComboBox.SelectedIndex = (int)this.MapThumbnailProvider;
- this.CooperatePanel.MapThumbnailHeightTextBox.Text = this.MapThumbnailHeight.ToString();
- this.CooperatePanel.MapThumbnailWidthTextBox.Text = this.MapThumbnailWidth.ToString();
- this.CooperatePanel.MapThumbnailZoomTextBox.Text = this.MapThumbnailZoom.ToString();
- this.ActionPanel.TabMouseLockCheck.Checked = this.TabMouseLock;
- this.NotifyPanel.IsRemoveSameFavEventCheckBox.Checked = this.IsRemoveSameEvent;
- this.PreviewPanel.IsNotifyUseGrowlCheckBox.Checked = this.IsNotifyUseGrowl;
- if (GrowlHelper.IsDllExists)
- {
- this.PreviewPanel.IsNotifyUseGrowlCheckBox.Enabled = true;
- }
- else
- {
- this.PreviewPanel.IsNotifyUseGrowlCheckBox.Enabled = false;
- }
+ this.NotifyPanel.IsRemoveSameFavEventCheckBox.Checked = this.IsRemoveSameEvent;
this.TreeViewSetting.Nodes["BasedNode"].Tag = BasedPanel;
this.TreeViewSetting.Nodes["BasedNode"].Nodes["PeriodNode"].Tag = GetPeriodPanel;
}
}
- public bool UnreadManage { get; set; }
- public bool PlaySound { get; set; }
- public Font FontUnread { get; set; } /////未使用
- public Color ColorUnread { get; set; }
- public Font FontReaded { get; set; } /////リストフォントとして使用
- public Color ColorReaded { get; set; }
- public Color ColorFav { get; set; }
- public Color ColorOWL { get; set; }
- public Color ColorRetweet { get; set; }
- public Font FontDetail { get; set; }
- public Color ColorDetail { get; set; }
- public Color ColorDetailLink { get; set; }
- public Color ColorSelf { get; set; }
- public Color ColorAtSelf { get; set; }
- public Color ColorTarget { get; set; }
- public Color ColorAtTarget { get; set; }
- public Color ColorAtFromTarget { get; set; }
- public Color ColorAtTo { get; set; }
- public Color ColorInputBackcolor { get; set; }
- public Color ColorInputFont { get; set; }
- public Font FontInputFont { get; set; }
- public Color ColorListBackcolor { get; set; }
- public Color ColorDetailBackcolor { get; set; }
- public MyCommon.NameBalloonEnum NameBalloon { get; set; }
- public int CountApi { get; set; }
- public int CountApiReply { get; set; }
- public int MoreCountApi { get; set; }
- public int FirstCountApi { get; set; }
- public int SearchCountApi { get; set; }
- public int FavoritesCountApi { get; set; }
- public int UserTimelineCountApi { get; set; }
- public int ListCountApi { get; set; }
public string RecommendStatusText { get; set; }
- public bool DispUsername { get; set; }
- public bool CloseToExit { get; set; }
- public bool MinimizeToTray { get; set; }
- public MyCommon.DispTitleEnum DispLatestPost { get; set; }
- public string BrowserPath { get; set; }
- public bool TinyUrlResolve { get; set; }
-
- public ProxyType SelectedProxyType
- {
- get {
- return _MyProxyType;
- }
- set {
- _MyProxyType = value;
- }
- }
- public string ProxyAddress { get; set; }
- public int ProxyPort { get; set; }
- public string ProxyUser { get; set; }
- public string ProxyPassword { get; set; }
- public bool RestrictFavCheck { get; set; }
- public bool AlwaysTop { get; set; }
- public bool UrlConvertAuto { get; set; }
- public bool ShortenTco { get; set; }
- public bool Nicoms { get; set; }
- public MyCommon.UrlConverter AutoShortUrlFirst { get; set; }
public int DefaultTimeOut { get; set; }
- public bool TabIconDisp { get; set; }
- public MyCommon.REPLY_ICONSTATE ReplyIconState { get; set; }
- public bool ReadOwnPost { get; set; }
- public bool IsMonospace { get; set; }
- public bool ReadOldPosts { get; set; }
- public string BitlyUser { get; set; }
- public string BitlyPwd { get; set; }
- public bool PreviewEnable { get; set; }
- public bool StatusAreaAtBottom { get; set; }
- public bool UseAdditionalCount { get; set; }
- public bool OpenUserTimeline { get; set; }
public string TwitterApiUrl { get; set; }
- public string Language { get; set; }
- public bool LimitBalloon { get; set; }
public bool EventNotifyEnabled { get; set; }
public MyCommon.EVENTTYPE EventNotifyFlag
public bool ForceEventNotify { get; set; }
public bool FavEventUnread { get; set; }
- public string TranslateLanguage
- {
- get
- {
- return _MyTranslateLanguage;
- }
- set
- {
- _MyTranslateLanguage = value;
- this.CooperatePanel.ComboBoxTranslateLanguage.SelectedIndex = Bing.GetIndexFromLanguageEnum(value);
- }
- }
-
public string EventSoundFile { get; set; }
- public int ListDoubleClickAction { get; set; }
- public string UserAppointUrl { get; set; }
private bool StartAuth()
{
Thread.Sleep(10);
if (this.Disposing || this.IsDisposed) return;
} while (!this.IsHandleCreated);
- this.TopMost = this.AlwaysTop;
+ this.TopMost = this.PreviewPanel.CheckAlwaysTop.Checked;
this.GetPeriodPanel.LabelPostAndGet.Visible = this.GetPeriodPanel.CheckPostAndGet.Checked && !tw.UserStreamEnabled;
this.GetPeriodPanel.LabelUserStreamActive.Visible = tw.UserStreamEnabled;
_ValidationError = false;
}
- public bool HotkeyEnabled;
- public Keys HotkeyKey;
- public int HotkeyValue;
- public Keys HotkeyMod;
-
- public bool BlinkNewMentions;
-
//private void CheckEventNotify_CheckedChanged(object sender, EventArgs e)
// Handles CheckEventNotify.CheckedChanged, CheckFavoritesEvent.CheckStateChanged,
// CheckUnfavoritesEvent.CheckStateChanged, CheckFollowEvent.CheckStateChanged,
string path = this.ActionPanel.BrowserPathText.Text;
try
{
- if (!string.IsNullOrEmpty(BrowserPath))
+ if (!string.IsNullOrEmpty(path))
{
if (path.StartsWith("\"") && path.Length > 2 && path.IndexOf("\"", 2) > -1)
{