public void theSnake_RunChange(object sender, SnakeRunningEventArgs e) { toolStripStatusLabelRunning.Text = e.Status ; }
public void StartOrStopSnakeTimer() { if (this.SnakeTimer.Enabled) { this.SnakeTimer.Stop(); SnakeRunningEventArgs e = new SnakeRunningEventArgs("Stopped"); this.RunChange(this, e); } else { this.SnakeTimer.Start(); SnakeRunningEventArgs e = new SnakeRunningEventArgs("Running"); this.RunChange(this, e); } }