public KantarSonucWindow(KantarSerialPort kantarPort) { InitializeComponent(); kantar = kantarPort; kantar.pandap_dataReceiveEvent += K_dataReceiveEvent; }
private void BtnBaglan_Click(object sender, RoutedEventArgs e) { k = new KantarSerialPort(txtPort.Text, "9600", "None", "8", "One"); }