title: Empty/blank form window in C# Empty Project (.Net)
body: <p>I need some help cause I don't know what's wrong with my new project!</p>
  <p>I stared a new <strong>Empty Project (.NET)</strong> in VS 2019, added same references to create form and draw different controls on it like buttons, labels and so on... Everything looks good for me and I don't get any warning/error. When I run my project it shows the form how I expected, but it's empty... no buttons or labels on the form, only the whitish coloured blank window [see picture].</p>
  <p>I'm not familiar with the empty projects, so probably I missed something.. I tried to type <em>&quot;InitializeComponent()&quot;</em> to the class constructor but I got an error <em>&quot;Error CS0103 The name 'InitializeComponent' does not exist in the current context&quot;..</em> I don't use the designer as this is an empty project and it's not come with it (and I don't need it!), so I suppose I don't need this method?</p>
  <p>Here's the code and pictures to help localize the issue.. Probably just a noob mistake somewhere but I can't figure it out..
  Please help!</p>
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace FileManager
  {
      class EntryPoint
      {
          static void Main(string[] args)
          {            
              Manager manager = new Manager();
          }
      }
  }
  </code></pre>
  <hr />
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.Drawing;
  
  namespace FileManager
  {
      public class Manager
      {
          public Form WindowMain { get; set; }
          public ListView ViewArea { get; set; }
          public ImageList IconList { get; set; }
          public Button Back_btn { get; set; }
          public TextBox Path_tbx { get; set; }
          public Label FileNameTxt_lbl { get; set; }
  
          public Manager()
          {
              //InitializeComponent(); &lt;&lt; Drop Error CS0103
  
              WindowMain = new Form
              {
                  StartPosition = FormStartPosition.CenterScreen,
                  FormBorderStyle = FormBorderStyle.Sizable,
                  Size = new Size(960, 540),
                  Text = &quot;FileManager&quot;
              };
  
              ViewArea = new ListView
              {
                  SmallImageList = IconList,
                  LargeImageList = IconList,
                  View = View.LargeIcon
              };
  
              IconList = new ImageList
              {
                  ImageSize = new Size(48, 48),
                  ColorDepth = ColorDepth.Depth32Bit
              };
  
              Back_btn = new Button
              {
                  Location = new Point(100, 100),
                  Text = &quot;Back&quot;
              };
  
              FileNameTxt_lbl = new Label
              {
                  Text = &quot;File Name:&quot;
              };
  
              Application.Run(WindowMain);
          }
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/n6wDg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n6wDg.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/zuMFV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zuMFV.png" alt="enter image description here" /></a></p>