public void Init() { BMP_M = new Bitmap(Properties.Resources.system_s); BMP_H = new Bitmap(Properties.Resources.system_m); BMP_D = new Bitmap(Properties.Resources.system_dot); BMP_high = new Bitmap(Properties.Resources.system_highlights); BMP_B = new Bitmap(Properties.Resources.system); F = new Fiter(10); }
private void Sensor_Load(object sender, EventArgs e)//加载窗口 { button1_Click(null, null); button2_Click(null, null); BMP_M = new Bitmap(Properties.Resources.system_s); BMP_H = new Bitmap(Properties.Resources.system_m); BMP_D = new Bitmap(Properties.Resources.system_dot); BMP_high = new Bitmap(Properties.Resources.system_highlights); BMP_B = new Bitmap(Properties.Resources.system); AngleFiter = new Fiter(30); tabControl1.SelectedTab.BackColor = groupBox2.BackColor; }