Ejemplo n.º 1
0
        private void CreateLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            CreateOp form = new CreateOp();

            if (form.ShowDialog(this) != DialogResult.OK)
                return;

            CreateUser create = new CreateUser(App, form.OpName, form.OpAccess);

            if (create.ShowDialog(this) == DialogResult.OK)
                Close();
        }
Ejemplo n.º 2
0
        private void CreateGlobalLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            CreateUser form = new CreateUser(App, "Global IM", AccessType.Secret);
            form.GlobalIM = true;

            if (form.ShowDialog(this) == DialogResult.OK)
                Close();
        }