Пример #1
0
        /// <summary>
        /// Create the TuneUp Window
        /// </summary>
        /// <param name="vlp"></param>
        public TuneUpWindow(ViewLoadedParams vlp, string id)
        {
            InitializeComponent();
            viewLoadedParams = vlp;

            commandExecutive          = vlp.CommandExecutive;
            viewModelCommandExecutive = vlp.ViewModelCommandExecutive;
            uniqueId = id;
        }
Пример #2
0
 /// <summary>
 /// Create the NodePropertyPalette Window
 /// </summary>
 /// <param name="vlp"></param>
 public NodePropertyPaletteWindow(ViewLoadedParams vlp, string id)
 {
     InitializeComponent();
     viewLoadedParams = vlp;
     // Initialize the height of the datagrid in order to make sure
     // vertical scrollbar can be displayed correctly.
     this.NodeAnalysisTable.Height = vlp.DynamoWindow.Height - sidebarHeightOffset;
     vlp.DynamoWindow.SizeChanged += DynamoWindow_SizeChanged;
     commandExecutive          = vlp.CommandExecutive;
     viewModelCommandExecutive = vlp.ViewModelCommandExecutive;
     uniqueId = id;
 }