Exemplo n.º 1
0
        private void button_back_to_settings_Click(object sender, EventArgs e)
        {
            this.Hide();
            var next_form = new MoreAndSettings();

            next_form.Closed += (s, args) => this.Close();
            next_form.Show();
        }
Exemplo n.º 2
0
        private void button_more_Click(object sender, EventArgs e)
        {
            Run.RegisterLog(0, 7, "User entered Settings window from home Window.");
            this.Hide();
            var next_form = new MoreAndSettings();

            next_form.Closed += (s, args) => this.Close();
            next_form.Show();
        }
 private void button_cancel_Click(object sender, EventArgs e)
 {
     if (this.master_password_opened_from == 0)
     {
         this.Hide();
         var next_form = new Home();
         next_form.Closed += (s, args) => this.Close();
         next_form.Show();
     }
     else
     {
         this.Hide();
         var next_form = new MoreAndSettings();
         next_form.Closed += (s, args) => this.Close();
         next_form.Show();
     }
 }