コード例 #1
0
        private void DoChangeToEditPrinter(object state)
        {
            GuiWidget addConnectionWidget = new EditConnectionWidget(this, this, activePrinter);

            this.RemoveAllChildren();
            this.AddChild(addConnectionWidget);
            this.Invalidate();
        }
コード例 #2
0
		private void DoChangeToEditPrinter(object state)
		{
			GuiWidget addConnectionWidget = new EditConnectionWidget(this, this, activePrinter, state);
			this.RemoveAllChildren();
			this.AddChild(addConnectionWidget);
			this.Invalidate();
		}