![]() |
Metot içerisinde textboxa veri yazma |
Post Reply ![]() |
|
Author | |
met88 ![]() Newbie ![]() Joined: 27 Eylül 2011 Location: Turkey Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 07 Mart 2021 at 19:46 |
Merhaba bir proje üzerinde çalışıyorum. Bir noktada sorunum var yardımcı olurmusunuz?
Aşağıdaki kodda set_temp değerini textboxa yazdırmak istiyorum.Fakat bir türlü başaramıyorum.Hatta Bu fonksiyon içinde basit bir şekilde textboxa deneme dahi yazdıramıyorum sorun nedir? public void Event(string address, string state) { decimal temp = (decimal)_connection.FromDataPoint("9.001", state); if (address == "5/0/7") { decimal set_temp = (decimal)_connection.FromDataPoint("9.001", state); MessageBox.Show("Güncellenen Durum" + address + " " + set_temp); textBox1.Text = "Deneme"; return; } if (address == "5/0/0") { decimal current_temp = (decimal)_connection.FromDataPoint("9.001", state); MessageBox.Show("Güncellenen Durum" + address + " " + current_temp); return; } } |
|
![]() |
Post Reply ![]() |
|
Tweet
|
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |