PowerArgs.Cli.ProgressOperationManagerControl.ProgressOperationManagerControl C# (CSharp) Method

ProgressOperationManagerControl() public method

public ProgressOperationManagerControl ( ProgressOperationsManager manager ) : System.Linq
manager ProgressOperationsManager
return System.Linq
        public ProgressOperationManagerControl(ProgressOperationsManager manager)
        {
            this.manager = manager;
            this.scrollablePanel = Add(new ScrollablePanel()).Fill();
            operationsStackPanel = scrollablePanel.ScrollableContent.Add(new StackPanel() { Orientation = Orientation.Vertical, AutoSize=true }).FillHoriontally();
            noNotificationsLabel = Add(new Label() { Text = "No notifications".ToConsoleString(), X=1, Y=1 });
            manager.Operations.SynchronizeForLifetime(Operations_Added, Operations_Removed, Operations_Changed, this.LifetimeManager);
        }