private void button2_Click(object sender, EventArgs e)
 {
     jobDelegate = new JobDelegate(this.submitJob);
     jobDelegate.BeginInvoke(submitDone, null);
     button2.Enabled = false;
 }
        private void UserApplicationForm_Load(object sender, EventArgs e)
        {
            textBox3.Text = inputFilePath;
            textBox1.Text = entryUrl;
            numericUpDown1.Value = DEFAULCLIENTPORT;
            numericUpDown3.Value = splits;
            textBox4.Text = outputFolderPath;
            dllLocationValue.Text = dllLocation;
            classNameValue.Text = dllClassName;
            button1.Enabled = false;
            createClient();

            jobDelegate = new JobDelegate(this.submitJob);
            jobDelegate.BeginInvoke(submitDone, null);
            button2.Enabled = false;
        }