visual studio 2013 protect code manually added to Windows Form

So I am creating Window Form for my visual basic script.
I got CheckBox named EasyOfAccess and I want it to be set to My.settings.EasyOfAccess.
I added the right code for it (Me.EasyOfAccess.Checked = My.Settings.EasyOfAccess), and it is working.
However when I go to window designer this code I manually added gets deleted.

Is there any way to protect this code, so I don't have to write it there every time?

Replay

Category: visual studio 2013 Time: 2016-07-31 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.274 (s). 12 q(s)