Today we will see How to create 3D shaped control in windows c# .Net, This is very simple and easy so lets see step by step execution
  1. Open VS studio 2008/2010 ----file ---new project---windows form
  2. Now on form Take 1 button and give some color on button if u want
  3. Now double click on Button and write code as follow befor that add Namespace System.Drawing

    {
    This.Close();
    }
  4. Now double click on Form Load and write code as follow

    {
    System.Drawing.Drawing2D.GraphicsPath myp = new System.Drawing.Drawing2D.GraphicsPath();
    myp.AddPolygon(new Point[]{new Point(0,0),new Point(0,this.Height),new Poi(this.Width,0)});
    Region myreg=new Region(myp);
    this.Region=myreg;
    }

Now Run application output will come like this

Shaped.gif