예제 #1
0
        private void OpenModelDesigner()
        {
            TreeNode Node     = TemplateTree.SelectedNode;
            Boolean  IsModule = Convert.ToBoolean(Node.Tag);

            if (IsModule)
            {
                ModelDesigner moduleDesigner = new ModelDesigner(new Guid(Node.Name));
                Form          Owner          = Cache.CustomCache[SystemString.主窗口] as Form;
                moduleDesigner.Location = Owner.PointToScreen(Owner.ClientRectangle.Location);
                moduleDesigner.Size     = Owner.ClientRectangle.Size;
                moduleDesigner.ShowDialog(Owner);
            }
        }
예제 #2
0
        public ReferenceSheetDialog(ModelDesigner _designer)
        {
            InitializeComponent();

            this.designer = _designer;
        }