//プラグイン開始時処理 public void Begin() { //設定ファイル読み込み this._Settings = new Settings_FC2(this); this._Settings.Load(this._SettingFile); this._SettingFormData = new SettingFormData_FC2(this._Settings); this._IconStatus = true; this._SettingStatus = false; this.ResetCommentIndex(); this._GiftItems = new Dictionary <int, string>() { { 0, "風船" }, { 1, "ハート" }, { 2, "ダイヤ" }, { 3, "ドーナツ" }, { 4, "ニンジャ" }, { 5, "キャンディ" }, { 6, "クラッカー" }, { 7, "花火" }, { 8, "キッス" }, { 9, "いいね" }, { 10, "車" }, { 11, "さかな" }, { 12, "UFO" }, { 13, "シャンパン" }, { 999, "オチャコ" } }; //タイマー登録 this._Timer = new System.Threading.Timer(this.Timer_Event, null, 0, 1000); //画面にボタンとセパレータを追加 this._Separator = new ToolStripSeparator(); Pub.ToolStrip.Items.Add(this._Separator); this._Button = new ToolStripButton(Properties.Resources.ImgFC2Off); this._Button.ToolTipText = "FC2ライブ読み上げ ON/OFF"; this._Button.Click += this.Button_Click; Pub.ToolStrip.Items.Add(this._Button); }
public SBase(Settings_FC2 setting) { this._Setting = setting; }
public SettingFormData_FC2(Settings_FC2 setting) { this._Setting = setting; this.PBase = new SBase(this._Setting); }