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

            options.ShowDialog();
        }
Ejemplo n.º 3
0
 private void OnAdvanced_Click(object sender, EventArgs e)
 {
     PkOptionsForm options = new PkOptionsForm();
     options.ShowDialog();
 }
Ejemplo 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();
                }
            }
        }