public LogInForm(MainControl _cntrl) { InitializeComponent(); cntrl = _cntrl; label1.ForeColor = Color.DarkGray; label4.ForeColor = Color.DarkGray; label5.ForeColor = Color.DarkGray; }
/// <summary> /// Initializes a new instance of the <see cref="LogInForm"/> class. /// </summary> /// <param name="newCntrl">New Control</param> public LogInForm(MainControl newCntrl) { this.InitializeComponent(); this.cntrl = newCntrl; this.OkLabel.ForeColor = Color.FromName("Highlight"); this.CancelLabel.ForeColor = Color.FromName("Highlight"); this.registerLabel.ForeColor = Color.FromName("Highlight"); }
static void Main() { MainControl cntrl=new MainControl(); cntrl.run(null); }
static void Main() { MainControl cntrl = new MainControl(); cntrl.run(null); }