Beispiel #1
0
        protected virtual bool initActivity()
        {
            try
            {
                //トークアクティビティの初期化
                at = new ActivityTalk(this,os,oss);

                //ニコブラウザ
                anb = new ActivityNicoBrowser();

                //ピクチャーアクティビティの初期化
                ap = new ActivityPic();

                //Rss
                ar = new ActivityTopicRegist(this,this.os, this.owf);

                //Log
                al = new ActivityLog(this, this.os, obr, this.owf);

                //Char
                ac = new ActivityChar(this, ossList, this.os.loadSkin, this.owf);

                //設定
                ast = new ActivitySetting(this, this.os, this.owf);

                //
                act = new ActivityChat(this, this.os, this.obr,this.owf);

                //オーナーフォーム登録
                this.AddOwnedForm(at);
                this.AddOwnedForm(anb);
                this.AddOwnedForm(ap);
                return true;
            }
            catch (Exception err)
            {
                LpsLogControllerCus.writingLog(this.GetType().Name, MethodBase.GetCurrentMethod().Name, err.ToString());
                return false;
            }
        }
Beispiel #2
0
        protected virtual bool initActivity()
        {
            try
            {
                //トークアクティビティの初期化
                at = new ActivityTalk(this,os,oss);

                //Log
                al = new ActivityLog(this, this.os, obr, this.owf);

                //Char
                ac = new ActivityChar(this, ossList, this.os.loadSkin, this.owf);

                //設定
                ast = new ActivitySetting(this, this.os, this.owf);

                //インプットウインドウ
                iw = new LpsInputWindow(this, this.os, this.oss);
                iw.Show();

                //オーナーフォーム登録
                this.AddOwnedForm(at);
                return true;
            }
            catch (Exception err)
            {
                LpsLogControllerCus.writingLog(this.GetType().Name, MethodBase.GetCurrentMethod().Name, err.ToString());
                return false;
            }
        }
        protected override bool initActivity()
        {
            try
            {
                //トークアクティビティの初期化
                at = new ActivityTalkMini(this, os,oss);

                //以下は親クラスと同様 2013/06/23 ver3.0.1現在
                ar = new ActivityTopicRegist(this, this.os, this.owf);
                al = new ActivityLog(this, this.os, obr, this.owf);
                ac = new ActivityChar(this, ossList, this.os.loadSkin, this.owf);
                ast = new ActivitySetting(this, this.os, this.owf);

                //オーナーフォーム登録
                this.AddOwnedForm(at);
                return true;
            }
            catch (Exception err)
            {
                LpsLogControllerCus.writingLog(this.GetType().Name, MethodBase.GetCurrentMethod().Name, err.ToString());
                return false;
            }
        }