When debugging, can I write messages to the console window?
Console.WriteLine("xx"); does not display anything
In, my form.cs file, I would like to access some of the forms objects like a textbox in a public class. However, I can only access the objects with form events such as button click.
public static void DrawYLabels()
{
YLabel1.Text = "Y1";
Form1.ActiveForm.YLabel1.Text = "Y1"; // both these don't work
}