Esempio n. 1
0
        private void OnOptions_Click(object sender, EventArgs e)
        {
            using (PkOptionsForm options = new PkOptionsForm())
            {
                options.SetOptions(this.data.Options);
                var result = options.ShowDialog();

                if (result == DialogResult.OK)
                {
                    this.data.Options.UsePageKiteNet = options.UsePagekiteNet;
                    this.data.Options.Debug          = options.Debug;
                    this.data.Options.RememberMe     = options.RememberMe;

                    this.data.Save();
                }
            }
        }
Esempio n. 2
0
        private void OnAdvanced_Click(object sender, EventArgs e)
        {
            PkOptionsForm options = new PkOptionsForm();

            options.ShowDialog();
        }
Esempio n. 3
0
 private void OnAdvanced_Click(object sender, EventArgs e)
 {
     PkOptionsForm options = new PkOptionsForm();
     options.ShowDialog();
 }
Esempio n. 4
0
        private void OnOptions_Click(object sender, EventArgs e)
        {
            using (PkOptionsForm options = new PkOptionsForm())
            {
                options.SetOptions(this.data.Options);
                var result = options.ShowDialog();

                if(result == DialogResult.OK)
                {
                    this.data.Options.UsePageKiteNet = options.UsePagekiteNet;
                    this.data.Options.Debug          = options.Debug;
                    this.data.Options.RememberMe     = options.RememberMe;

                    this.data.Save();
                }
            }
        }