Beispiel #1
0
        private void buttonVariables_Click(object sender, EventArgs e)
        {
            this.Visible = false;

            FormVariables form = new FormVariables();

            form.origin = "Main";
            form.Show();

            //this.Close();
        }
Beispiel #2
0
        private void radioButton2_Click(object sender, EventArgs e)
        {
            progressBar.Value = 0;
            DialogResult dialogResult = MessageBox.Show("Please be advised, to use multiple licenses the user need to have set multiple users and they need to be in numbered sequence (eg. USER1, USER2) for both username AND password. Please modify the username and password and remove the number at the end. Do you want to make the changes now?", "NOTICE", MessageBoxButtons.YesNo);

            if (dialogResult == DialogResult.Yes)
            {
                this.Visible = false;

                FormVariables Form = new FormVariables();
                Form.origin = "License";
                Form.Show();
            }
            else if (dialogResult == DialogResult.No)
            {
                radioButtonMultiple.Checked = true;
            }
        }