Exemplo n.º 1
0
        private void DoChangeToEditPrinter(object state)
        {
            GuiWidget addConnectionWidget = new EditConnectionWidget(this, this, activePrinter);

            this.RemoveAllChildren();
            this.AddChild(addConnectionWidget);
            this.Invalidate();
        }
Exemplo n.º 2
0
		private void DoChangeToEditPrinter(object state)
		{
			GuiWidget addConnectionWidget = new EditConnectionWidget(this, this, activePrinter, state);
			this.RemoveAllChildren();
			this.AddChild(addConnectionWidget);
			this.Invalidate();
		}