question

MageshSankar-5062 avatar image
0 Votes"
MageshSankar-5062 asked DanielZhang-MSFT commented

Winforms Form designer tab header appears always modified

I have a windows forms application containing custom Tabcontrol and TableLayoutPanel, whenever I opened the designer of my form it always shows "modified"(Form1.Design*) without doing any changes in form.

I have checked the Form1.Designer.cs file, it seems to change the location of some controls anchored inside the tabpage(inherited from panel) by a single pixel each time I save.

Any suggestion on this?

dotnet-csharpwindows-forms
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

In Visual Studio (if not done already) add your Visual Studio solution to a GitHub repository.

Make sure the repository is public rather than private (you can change it to private later).

Provide the link here so those interested in assisting can review your code.

Git experience in Visual Studio

https://docs.microsoft.com/en-us/visualstudio/ide/git-with-visual-studio?view=vs-2019

0 Votes 0 ·

Hi @MageshSankar-5062 ,
>>it seems to change the location of some controls anchored inside the tabpage(inherited from panel) by a single pixel each time I save.
Could you please provide some code example to reproduce the situation.
Best Regards,
Daniel Zhang

0 Votes 0 ·

0 Answers