I'm trying to update a the text inside a label in a Windows Forms launched from a Console Application, as an example I've created this code.
    static void Main(string[] args)
    {
        Form form = new Form();
        Label label = new Label();
        label.Text = "hi";
        form.Controls.Add(label);
        form.ShowDialog();
        Thread.Sleep(2000);
        label.Text = "bye";
        label.Invalidate();
        label.Update();
        //Refresh Doesn't work either
        //_BuyLabel.Refresh();
        Application.DoEvents();
    }
I've done my research but my knowledge of Windows Forms is quite limited, the libraries for this are already included and are not a problem.
What else do I need to do to update the text or any other Control feature?
 
     
     
     
     
    