示例#1
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;
            }
        }
示例#2
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;
            }
        }