示例#1
0
        public FormViewModel(ViewType viewType, Type formType, ICommand closeTabCommand)
            : this()
        {
            ViewType   = viewType;
            Title      = viewType.GetDescription();
            Identifier = DisplayName = Title;

            CloseCommand = closeTabCommand;

            _formType = formType;

            CreateForm();
        }