Exemplo n.º 1
0
 /// <summary>
 /// Constructor of the class.
 /// </summary>
 public IMDbManager()
 {
     // Set the properties of this class
     errorCaller += new errorCall(errorHandler);
     progressCaller += new progressCall(progressHandler);
     error = false;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor of the class.
 /// </summary>
 public IMDbManager()
 {
     // Set the properties of this class
     errorCaller    += new errorCall(errorHandler);
     progressCaller += new progressCall(progressHandler);
     error           = false;
 }
Exemplo n.º 3
0
        /// <summary>
        /// Constructor of the form.
        /// </summary>
        public Form1()
        {
            formErrorCaller += new errorCall(errorHandler);
            formProgressCaller += new progressCall(progressUpdater);
            formDataCaller += new dataCall(dataReceiver);

            InitializeComponent();
            comboBox1.Text = comboBox1.Items[0].ToString();
        }
Exemplo n.º 4
0
        /// <summary>
        /// Constructor
        /// </summary>
        public TestForm()
        {
            InitializeComponent();

            //Adds the events
            formFunctionCaller += new functionCall(processResult);
            formErrorCaller    += new errorCall(errorHandler);
            formProgressCaller += new progressCall(progressUpdater);
        }
Exemplo n.º 5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="id">The ID of the worker.</param>
 public MTWorker(int id)
 {
     workerID        = id;
     progressCaller += new progressCall(progressHandler);
     errorCaller    += new errorCall(errorHandler);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="id">The ID of the worker.</param>
 public MTWorker(int id)
 {
     workerID = id;
     progressCaller += new progressCall(progressHandler);
     errorCaller += new errorCall(errorHandler);
 }
Exemplo n.º 7
0
        /// <summary>
        /// Constructor
        /// </summary>
        public TestForm()
        {
            InitializeComponent();

            //Adds the events
            formFunctionCaller += new functionCall(processResult); 
            formErrorCaller += new errorCall(errorHandler);
            formProgressCaller += new progressCall(progressUpdater);
        }