Exemplo n.º 1
0
 private void panel_KScore_SizeChanged(object sender, EventArgs e)
 {
     KScoreSKControl.SetSize(this.panel_KScore.Size);
 }
Exemplo n.º 2
0
        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);
        }