Exemple #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();
                }
            }
        }
Exemple #2
0
        private void OnAdvanced_Click(object sender, EventArgs e)
        {
            PkOptionsForm options = new PkOptionsForm();

            options.ShowDialog();
        }
 private void OnAdvanced_Click(object sender, EventArgs e)
 {
     PkOptionsForm options = new PkOptionsForm();
     options.ShowDialog();
 }
Exemple #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();
                }
            }
        }