I’m a beginner in C# and reading about data binding. My book introduces with the starting code like this:
// Create object (width, text, color)
TextParms tp = new TextParms(200, "Casablanca", Color.Beige);
// Bind text and BackColor properties of control
txtMovie.DataBindings.Add("Text", tp, "Tb_Text"); // line 2
What does line 2 actually do? Where did the parameters Text and Tb_Text come from? What are their uses?
txtMovie.DataBindings.Add("Text", tp, "Tb_Text")Looking at the documentation of Binding