Exemplo n.º 1
0
        private FormSAConfig GetFormSAConfig()
        {
            foreach (Form item in this.OwnedForms)
            {
                if (item is FormSAConfig)
                {
                    return((FormSAConfig)item);
                }
            }

            FormSAConfig form = new FormSAConfig();

            return(form);
        }
Exemplo n.º 2
0
        private void OpenFormSAConfig(PoemLine line)
        {
            FormSAConfig form = GetFormSAConfig();

            form.Owner = this;

            if (line != null)
            {
                form.SelectInTree(line);
            }

            form.Activate();
            form.Show();
        }