protected virtual void initObject() { //バッテリーオブジェクト ps = SystemInformation.PowerStatus; //設定ファイルの読み込み os = new ObjSetting(); //スキンファイルの読み込み ossList = new ObjSkinSettingList(); //対象スキンの取得 oss = ossList.loadTargetSkin(os.loadSkin); //ボディリストの初期化 obl = new ObjBodyList(os.loadSkin); //ボディを初期化しておく ob = obl.getLiplisBody(0, 0); //チャットファイルの読み込み olc = new ObjLiplisChat(os.loadSkin); //2014/05/29 ver4.0.0 タッチ定義の追加 olt = new ObjLiplisTouch(os.loadSkin); //ウインドウファイルの初期化 owf = new ObjWindowFile(os.loadSkin); //バッテリーオブジェクトの初期あk obtry = new ObjBattery(os.loadSkin, this.ps); //トピックオブジェクトの初期化 otp = new ObjTopic(os, oss); //アイコンクラスの初期化 li = new LiplisIcon(this); //アイコンクラスv2初期化 lpi = new LiplisPopIcon(this, 0); //リプリスタスクバー ltb = new LiplisTaskBar(this); //ほうきオブジェクトの初期化 obr = new ObjBroom(); //APITELLの呼び出し lat = new LiplisApiChat(this); ///2014/04/20 Liplis4.0 総合エモーション追加 //総合エモーション sumEmotion = new MsgEmotion(); //アイコンクラスを連動登録 this.AddOwnedForm(li); }
private void initCmp(int sleepMode) { if (this.cmp != null) { closeMenuCircle(); this.cmp.Dispose(); this.cmp = null; } System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Liplis)); this.cmp = new CircularMenu.CircularMenuPopup(); this.cmp.ClosingAnimation.FrameImageEffect = ((CircularMenu.IFrameModifier)(resources.GetObject("resource.FrameImageEffect"))); this.cmp.ClosingAnimation.LayoutAnimator = ((CircularMenu.IFrameLayoutManager)(resources.GetObject("resource.LayoutAnimator"))); this.cmp.flgActive = false; this.cmp.OpeningAnimation.FrameImageEffect = ((CircularMenu.IFrameModifier)(resources.GetObject("resource.FrameImageEffect1"))); this.cmp.OpeningAnimation.LayoutAnimator = ((CircularMenu.IFrameLayoutManager)(resources.GetObject("resource.LayoutAnimator1"))); this.cmp.Radius = 120; this.cmp.ToolTip.BackgroundColor = System.Drawing.SystemColors.Info; this.cmp.ToolTip.BackgroundOpacity = ((byte)(175)); this.cmp.ToolTip.BorderColor = System.Drawing.SystemColors.InfoText; this.cmp.ToolTip.BorderOpacity = ((byte)(255)); this.cmp.ToolTip.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); this.cmp.ToolTip.ForegroundColor = System.Drawing.SystemColors.InfoText; this.cmp.ToolTip.ForegroundOpacity = ((byte)(255)); this.cmp.ToolTipOverride = null; //testcode lpi.Dispose(); lpi = null; lpi = new LiplisPopIcon(this, sleepMode); }
protected override void initObject() { ps = SystemInformation.PowerStatus; os = new ObjSetting(); ossList = new ObjSkinSettingList(); oss = ossList.loadTargetSkin(os.loadSkin); obl = new ObjBodyListMini(os.loadSkin); this.fitMiniSize(); //ミニオーバーライド + サイズフィット ob = obl.getLiplisBody(0, 0); olc = new ObjLiplisChat(os.loadSkin); olt = new ObjLiplisTouch(os.loadSkin); owf = new ObjWindowFile(os.loadSkin); obtry = new ObjBattery(os.loadSkin, this.ps); otp = new ObjTopicMini(os, oss); li = new LiplisIconMini(this); lpi = new LiplisPopIcon(this, 0); ltb = new LiplisTaskBar(this); obr = new ObjBroom(); sumEmotion = new MsgEmotion(); this.AddOwnedForm(li); }