Пример #1
0
        private void SaveOption(string path)
        {
            IEditPaths configPath = this.Owner as IEditPaths;

            if (configPath != null)
            {
                configPath.SetOptionPath("NewCardsFolder", path);
            }
        }
Пример #2
0
        void AccepButtonClick(object sender, EventArgs e)
        {
            IEditPaths configuration = this.Owner as IEditPaths;

            if (configuration != null)
            {
                configuration.SetPaths(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text);
            }

            Close();
        }