private void panel_Control_Paint(object sender, PaintEventArgs e) { int inWidth = this.panel_Control.Width; int inHeight = this.panel_Control.Height; //以下、モーションのコントロール描画処理 ClsDatMotion clMotion = ClsSystem.GetSelectMotion(); if (clMotion != null) { clMotion.DrawControl(e.Graphics, this.panel_Control.Width, this.panel_Control.Height, this.mFont); } }