private void panel_Time_Paint(object sender, PaintEventArgs e) { //以下、モーションのコントロール描画処理 ClsDatMotion clMotion = ClsSystem.GetSelectMotion(); if (clMotion != null) { int inSelectFrameNo = (int)this.numericUpDown_NowFlame.Value; ClsSystem.SetSelectFrameNo(inSelectFrameNo); clMotion.DrawTime(e.Graphics, this.panel_Time.Width, this.panel_Time.Height); } }