private void contextRegistry_ActiveContextChanged(object sender, EventArgs e) { PrototypeContext = m_contextRegistry.GetMostRecentContext <IPrototypingContext>(); TreeControl.Text = (PrototypeContext != null) ? "Copy items from the document and paste them here to create prototypes that can be dragged and dropped onto a canvas.".Localize() : null; }
private void contextRegistry_ActiveContextChanged(object sender, EventArgs e) { PrototypeContext = m_contextRegistry.GetMostRecentContext<IPrototypingContext>(); TreeControl.Text = (PrototypeContext != null) ? "Copy items from the document and paste them here to create prototypes that can be dragged and dropped onto a canvas.".Localize() : null; }