public TabBar(SpiderView spiderView) { InitializeComponent(); this.SpiderView = spiderView; tabBar = this.SpiderView.Stylesheet.Parts["TabBar"]; this.Resize += TabBar_Resize; }
public Board(SpiderView spiderView) { this.SpiderView = spiderView; this.Stylesheet = (this.SpiderView).Stylesheet; InitializeComponent(); this.Paint += Board_Paint; this.Resize += Board_Resize; this.ForeColor = Stylesheet.ForeColor; this.BackColor = Stylesheet.BackColor; tmrDraw = new Timer(); tmrDraw.Tick += tmrDraw_Tick; tmrDraw.Interval = 100; tmrDraw.Start(); this.MouseMove += Board_MouseMove; }