public void InitDash() { _dashForm.Last_lap_title.ForeColor = Color.Gold; _dashForm.led1_1.Visible = false; _dashForm.led1_2.Visible = false; _dashForm.led1_3.Visible = false; _dashForm.led1_4.Visible = false; _dashForm.led1_5.Visible = false; _dashForm.led1_6.Visible = false; _dashForm.led2_1.Visible = false; _dashForm.led2_2.Visible = false; _dashForm.led2_3.Visible = false; _dashForm.led3_1.Visible = false; _dashForm.led3_2.Visible = false; _dashForm.led3_3.Visible = false; _dashForm.Laptime_value.ForeColor = Color.LawnGreen; //Create labels and panels settingLabelTitle = _manipulator.CreateLabel("settingLabelTitle", "Setting", new Size(_dashForm.Width, 150), new Point(0, 0), Color.Black, Color.DarkGray, new Font("Microsoft YaHei", 40, FontStyle.Bold), false); settingLabelValue = _manipulator.CreateLabel("settingLabelValue", "Value", new Size(_dashForm.Width, 150), new Point(0, 150), Color.Black, Color.DarkGray, new Font("Microsoft YaHei", 40, FontStyle.Bold), false); settingLabelTitle.TextAlign = ContentAlignment.BottomCenter; settingLabelValue.TextAlign = ContentAlignment.TopCenter; settingsPanel = _manipulator.CreateSettingWindow(new Point(0, 0), Color.DarkGray, new Size(_dashForm.Width, _dashForm.Height), false); CreateIdle(); //panelek előtérbe helyezése settingLabelTitle.BringToFront(); settingLabelValue.BringToFront(); //settingsPanel.BringToFront(); Thread t = new Thread(new ThreadStart(CheckWrapperRunning)); t.Start(); }