Пример #1
0
        //save profile
        private void button2_Click(object sender, EventArgs e)
        {
            WebSite myWS = new WebSite();

            myWS.ShortName  = txtShortName.Text;
            myWS.Url        = textBox1.Text;
            myWS.MaxWidth   = txtImgWidth.Text;
            myWS.SaveFolder = txtSaveLoc.Text;
            myWS.SearchText = txtRegEx.Text;

            myWS.Write();
            MessageBox.Show("Saved!");
        }
Пример #2
0
        //save profile
        private void button2_Click(object sender, EventArgs e)
        {
            WebSite myWS = new WebSite();

            myWS.ShortName = txtShortName.Text;
            myWS.Url = textBox1.Text;
            myWS.MaxWidth = txtImgWidth.Text;
            myWS.SaveFolder = txtSaveLoc.Text;
            myWS.SearchText = txtRegEx.Text;

            myWS.Write();
            MessageBox.Show("Saved!");
        }