Hi All,
need help with plugin development (C#, visual studio, plugin for Smart Client). In example below I can change “CONTENT” for bbt:
private void bbt_Click(object sender, RoutedEventArgs e)
{
var bbt = sender as Button;
bbt.Content = "TEST";
}
bbt.Content = “TEST”;
but how can I change content for other buttons, defined in my code? For example, another button name is “action1”?
action1.Content = “TEST”;
It looks like I need to add some prefix before referring to “action1”, because otherwise it’s not visible and generates:
CS0103 The name ‘action1’ does not exist in the current context