Esempio n. 1
0
        public void Edit(System.Windows.Window Owner)
        {
            var frm = new CodeEditorWnd();

            frm.Title            = m_EditedForm.Name + ": Модуль формы";
            frm.Owner            = Owner;
            frm.codeTextBox.Text = m_EditedForm.Module;
            frm.Show();
        }
Esempio n. 2
0
        public void Edit(System.Windows.Window Owner)
        {
            var frmCode = new CodeEditorWnd();

            if (m_Module.ModuleName != String.Empty)
            {
                frmCode.Title = m_Module.ModuleName;
            }

            frmCode.codeTextBox.Text = m_Module.Text;
            frmCode.Owner            = Owner;
            if (!m_ReadOnlyFlag)
            {
                frmCode.Closed += frmCode_Closed;
            }

            frmCode.Show();
        }