How to store the values ​of the size of window, margin and textbox C# WF

19 Views Asked by At

It is necessary that after closing the program, it retains the size of the window, the values ​​of the CheckBox and what was entered in the TextBox.Can you write me a code?

namespace WindowsFormsApp8
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void Form1_Load(object sender, EventArgs e)
        {
 
        }
 
        private void textBox1_TextChanged(object sender, EventArgs e)
        {
 
        }
 
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
 
        }
 
        private void checkBox2_CheckedChanged(object sender, EventArgs e)
        {
 
        }
    }
 
}
0

There are 0 best solutions below