merhaba,
string a değişkenine form'daki textbox.text alanını atayıp istediğim yere taşıyacağım fakat aşağıdakini yazdığım zaman altını kırmızıyla çizip the name 'TxtDevam' does not exist in the current context hatası veriyor. Başka form sayfalarında başka textbox.text'lerde ise sorun yok. bu form'da ne eksik acaba?
string a = TxtDevam.Text; // Hatası: the name 'TxtDevam' does not exist in the current context
Dizayndaki satır:
<TextBox x:Name="TxtDevam" Text="{Binding Devam, Mode=TwoWay}" Background="White" MaxLength="75" IsEnabled="True"/>