public QueueControl(FileCollection collection, MainGUI gui) { this.gui = gui; this.collection = collection; InitializeComponent(); UpdateUI(); }
public void Connect(MainGUI mainGui) { Logging.Instance.Log("Connecting to {0}, spawning {1} connections", name, connections); nntpConnections = new NNTPConnection[connections]; // test code for (int i = 0; i < connections; i++ ) { nntpConnections[i] = new NNTPConnection(i, this, QueueHandler.Instance); nntpConnections[i].mainGui = mainGui; } isConnected = true; }
public EmptyQueue(MainGUI main) { this.main = main; InitializeComponent(); }