Esempio n. 1
0
 public QueueControl(FileCollection collection, MainGUI gui)
 {
     this.gui = gui;
     this.collection = collection;
     InitializeComponent();
     UpdateUI();
 }
Esempio n. 2
0
        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;
        }
Esempio n. 3
0
 public EmptyQueue(MainGUI main)
 {
     this.main = main;
     InitializeComponent();
 }