private void panel_KScore_SizeChanged(object sender, EventArgs e) { KScoreSKControl.SetSize(this.panel_KScore.Size); }
private static KScoreSKControl scoreControl = null; // The only KScoreSKControl, same as "this", but accessible from static methods public KScoreSKControl() : base() { scoreControl = this; scoreControl.Location = new System.Drawing.Point(0, 0); KScoreHandler.Register(scoreControl); }