public GüncelKontenjan(mKareGirisEkrani mG, double k) { InitializeComponent(); mevcutKontenjan = k; sayiGösterim.Text = ((int)mevcutKontenjan).ToString(); serialPort3.PortName = "COM3"; serialPort3.BaudRate = 9600; serialPort3.Open(); serialPort1.PortName = "COM5"; serialPort1.BaudRate = 9600; serialPort1.Open(); timer1.Start(); }
private void metreKareGiris_Click(object sender, EventArgs e) { mKareGirisEkrani mg = new mKareGirisEkrani(); mg.Show(); }