public Form1() { InitializeComponent(); trem = new Trem(); }
protected override void OnShown(EventArgs e) { base.OnShown(e); trem = new Trem(timer, this); }
public Form1() { InitializeComponent(); trem = new Trem(); }
protected override void OnShown(EventArgs e) { base.OnShown(e); trem = new Trem(timer, this); }