title: Unable to place a Bitmap file on Desktop
body: <p>I'm creating a Drawing Application and for that i need to create a bitmap for a panel. My problem is when I get the desktop placement it gives me the Error of
  " Field initializer cannot reference the non-static field, method, or property 'Form1.path'"    </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.IO;
  
  
  
  namespace Paint_AppLication
  {
  public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
      private bool mouse_down = false;
      //My Problem
      string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
      private Bitmap bit = new Bitmap(path + "\\" + "Bitmap.bmp");
  
  
      // Other Code Not my problem
      private Color col = Color.Black;
      private void panel1_MouseDown(object sender, MouseEventArgs e)
      {
          mouse_down = true;
      }
  
      private void panel1_MouseUp(object sender, MouseEventArgs e)
      {
          mouse_down = false;
      }
  
      private void panel1_MouseMove(object sender, MouseEventArgs e)
      {
          toolStripStatusLabel1.Text = e.X + ", " + e.Y;
          if (mouse_down == true)
          { 
              panel1.BackgroundImage = bit;
              bit.SetPixel(e.X, e.Y, col);
  
          }
      }
  
      private void button1_Click(object sender, EventArgs e)
      {
          colorDialog1.ShowDialog();
          col = colorDialog1.Color;
      }
  
      private void Form1_Load(object sender, EventArgs e)
      {
      }
  
   }
  
  }
  </code></pre>