예제 #1
0
 public ActivityLog(Liplis.MainSystem.Liplis lips,ObjSetting os, ObjBroom obr, ObjWindowFile owf)
     : base()
 {
     this.lips = lips;
     this.os   = os;
     this.obr  = obr;
     this.owf  = owf;
     InitializeComponent();
     this.StartPosition = FormStartPosition.CenterScreen;
     initSettingWindow();
 }
예제 #2
0
 public ActivityChar(MainSystem.Liplis lips, ObjSkinSettingList ossList, string selectedCharName, ObjWindowFile owf)
     : base()
 {
     InitializeComponent();
     this.lips             = lips;
     this.ossList          = ossList;
     this.owf              = owf;
     this.selectedCharName = selectedCharName;
     this.StartPosition    = FormStartPosition.CenterScreen;
     initSettingWindow();
     initCharList();
 }
 public ActivitySetting(Liplis.MainSystem.Liplis lips, ObjSetting os, ObjWindowFile owf)
     : base()
 {
     InitializeComponent();
     this.StartPosition = FormStartPosition.CenterScreen;
     this.lips = lips;
     this.os = os;
     this.owf = owf;
     this.initSettingWindow();
     this.initSetting();
     this.initDelegate();
     this.flgLoad = true;
 }
        public ActivityTopicRegist(Liplis.MainSystem.Liplis lips, ObjSetting os, ObjWindowFile owf)
        {
            this.lips = lips;
            this.os = os;
            this.owf = owf;
            this.nowSelectTopicId = 0;

            getCatList();                   //カテゴリファイルの読み込み
            rssList = new ObjRssList();     //RSSリストの初期化
            this.nowSelectCatLsiet = null;
            this.KeyPreview = true;         //フォームがキーイベントを受け取る
            initSettingWindow();
            InitializeComponent();
            initSettting();
            addHandler();
            getTwitterList();
            getFilterList();
        }
예제 #5
0
        protected virtual void onDelete()
        {
            try
            {
                //まずはタイマーをとめる
                flgAlarm = 0;               //フラグ0
                timRefresh.Dispose();       //タイマーの破棄
                timUpdate.Dispose();        //タイマーの破棄

                //ボイスロイドスレッドの終了
                lvr.Dispose(); lvr = null;

                //セーブをしておく
                if(os != null)os.setPreferenceData();

                //おそうじ
                if (obr != null) obr.deleteAllTempFile();

                //アクティビティの破棄
                if (at != null) Invoke(new LpsDelegate.dlgVoidToVoid(at.dispose));
                if (li != null) Invoke(new LpsDelegate.dlgVoidToVoid(li.Dispose));
                if (at != null) Invoke(new LpsDelegate.dlgVoidToVoid(al.dispose));
                if (ac != null) Invoke(new LpsDelegate.dlgVoidToVoid(ac.dispose));
                if (ast != null) Invoke(new LpsDelegate.dlgVoidToVoid(ast.dispose));

                //オブジェクトの破棄
                os = null;
                oss = null;
                ossList = null;
                obl = null;
                olc = null;
                owf.Dispose(); owf = null;
                obr = null;

                //最後に自分自身の終了
                if (!flgRestart)
                {
                    flgEnd = true;
                    Invoke(new LpsDelegate.dlgVoidToVoid(this.Close));
                }
                else
                {
                    Invoke(new LpsDelegate.dlgVoidToVoid(restert));
                }
            }
            catch(Exception err)
            {
                LpsLogControllerCus.writingLog(this.GetType().Name, MethodBase.GetCurrentMethod().Name, err.ToString());
                if (!flgRestart)
                {
                    flgEnd = true;
                }
                else
                {

                }
            }
        }
예제 #6
0
        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);

            //アイコンクラスの初期化
            li = new LiplisIcon(this);

            //リプリスタスクバー
            ltb = new LiplisTaskBar(this);

            //ほうきオブジェクトの初期化
            obr = new ObjBroom();

            ///2014/04/20 Liplis4.0 総合エモーション追加
            //総合エモーション
            sumEmotion = new MsgEmotion();

            //アイコンクラスを連動登録
            this.AddOwnedForm(li);
        }
 public FctCreateBackground(ObjWindowFile ow)
 {
     this.ow = ow;
 }
예제 #8
0
 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);
 }