Question: I have the following code I found online: <http://code.msdn.microsoft.com/windowsdesktop/VBWinFormExAeroToClient-f0d42b34>

And I've been tweaking it to work with my own application.

I need a Small 500x30 px Form.

I've been reading through the demo code that is provided in that link, but I can't seem to find where to modify the "Demo Form" size/shape.

Ideally, I'd simply like a 1 form version of this demo, that on load applies a full region of transparency. (Which I can likely figure out)

The problem I'm having, is where can I draw objects on this Demo Form?

I've got the GlassForm, but objects, and other properties on this, are not passed to the "DemoForm".

I have no idea why.

---

Long story short, I want a single basic transparent form, which I can add other style properties like Size, Form-border, and objects like TextBoxes, Labels, and Buttons.

I cannot seem to accomplish this with the given demo.

---

I was able to change the form size/border, but using the following code when the DemoForm is called.

```
DemoForm.Show()
DemoForm.Width = (500)
DemoForm.Height = (30)
DemoForm.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedToolWindow
DemoForm.TopMost = True

```

But I still can't figure out how to modify the from from the Form Designer, nor how to add controls to the new generated form.

Answer: 
It's because you are adding quotes around the values:

```
List<string> headerValues = new List<string>();
foreach (DataColumn column in sourceTable.Columns)
{
     headerValues.Add(QuoteValue(column.ColumnName));
}

```

Try without the `QuoteValue` call:

```
List<string> headerValues = new List<string>();
foreach (DataColumn column in sourceTable.Columns)
{
     headerValues.Add(column.ColumnName);
}

```

This solution is however not the perfect fix since some values should be quoted, you should try using a third-party CSV writer that will handle all cases for you. (See this SO answer for more details [Good CSV Writer for C#?](https://stackoverflow.com/questions/4685705/good-csv-writer-for-c))
QuoteValue is a custom method to enclose the value with quotation marks and doubling any quotes found:

```
    private static string QuoteValue(string value)
    {
        return String.Concat("\"", value.Replace("\"", "\"\""), "\"");
    }

```

This helps CSV parsers so that extra columns aren't created:

```
CSV file: "one", "t,wo", "thr""ee"
C# Array: { "one", "t,wo", "thr\"ee" }

```

This would happen without quote handling:

```
CSV file: one, t,wo, thr"ee 
C# Array: { "one", "t", "wo", "thr", "ee" }

```