onez

onez

  • NA
  • 73
  • 0

Basic Form questions

Aug 29 2004 12:40 AM
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 }

Answers (1)