예제 #1
0
파일: FormMain.cs 프로젝트: amamiex/hanim
        private void FormMain_Load(object sender, EventArgs e)
        {
            //以下、初期化処理
            ClsTool.Init();
            PreViewCenter = new Point(0, 0);
            mScreenScroll = new Point(0, 0);

            ImageMan = new ImageManagerBase();
            TimeLine = new TIMELINEbase();

            this.mFormImageList = new FormImageList();
            this.mFormImageList.Show();

            this.mFormControl           = new FormControl(this);
            this.mFormControl.mTimeLine = TimeLine;
            this.mFormControl.Show();

            this.mFormAttribute = new FormAttribute(this);
            this.mFormAttribute.Show();

            mFormControl.mTimeLine = TimeLine;//ControlFormに通達
            //Ver2
            mFormCell    = new FormCell(this);
            mFormCell.IM = ImageMan;
            mFormCell.Show();

            AlingForms();

            //背景の再描画をキャンセル(ちらつき抑制)
            //効果いまいち
            this.SetStyle(ControlStyles.Opaque, true);
        }
예제 #2
0
파일: TimeLine.cs 프로젝트: amamiex/hanim
 public void LoadFromStream(Stream stm)
 {
     DataContractSerializer serializer = new DataContractSerializer(typeof(TIMELINEbase));
     TIMELINEbase           tl         = (TIMELINEbase)serializer.ReadObject(stm);
 }