// OpenTween - Client of Twitter // Copyright (c) 2007-2011 kiri_feather (@kiri_feather) // (c) 2008-2011 Moz (@syo68k) // (c) 2008-2011 takeshik (@takeshik) // (c) 2010-2011 anis774 (@anis774) // (c) 2010-2011 fantasticswallow (@f_swallow) // (c) 2011 kim_upsilon (@kim_upsilon) // All rights reserved. // // This file is part of OpenTween. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General public License as published by the Free // Software Foundation; either version 3 of the License, or (at your option) // any later version. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License // for more details. // // You should have received a copy of the GNU General public License along // with this program. If not, see , or write to // the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, // Boston, MA 02110-1301, USA. //コンパイル後コマンド //"c:\Program Files\Microsoft.NET\SDK\v2.0\Bin\sgen.exe" /f /a:"$(TargetPath)" //"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sgen.exe" /f /a:"$(TargetPath)" using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Media; using System.Net; using System.Net.Http; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using OpenTween.Api; using OpenTween.Connection; using OpenTween.OpenTweenCustomControl; using OpenTween.Thumbnail; namespace OpenTween { public partial class TweenMain : OTBaseForm { //各種設定 private Size _mySize; //画面サイズ private Point _myLoc; //画面位置 private int _mySpDis; //区切り位置 private int _mySpDis2; //発言欄区切り位置 private int _mySpDis3; //プレビュー区切り位置 private int _iconSz; //アイコンサイズ(現在は16、24、48の3種類。将来直接数字指定可能とする 注:24x24の場合に26と指定しているのはMSゴシック系フォントのための仕様) private bool _iconCol; //1列表示の時true(48サイズのとき) //雑多なフラグ類 private bool _initial; //true:起動時処理中 private bool _initialLayout = true; private bool _ignoreConfigSave; //true:起動時処理中 private bool _tabDrag; //タブドラッグ中フラグ(DoDragDropを実行するかの判定用) private TabPage _beforeSelectedTab; //タブが削除されたときに前回選択されていたときのタブを選択する為に保持 private Point _tabMouseDownPoint; private string _rclickTabName; //右クリックしたタブの名前(Tabコントロール機能不足対応) private readonly object _syncObject = new object(); //ロック用 private const string detailHtmlFormatMono1 = "
";
        private const string detailHtmlFormatMono7 = "
"; private const string detailHtmlFormat1 = "