public frmSelectOperation(Job objJob)
        {
            InitializeComponent();

            mobjJob = objJob;
        }
 private void btnOK_Click(object sender, EventArgs e)
 {
     DialogResult = System.Windows.Forms.DialogResult.OK;
     objJob = new Job { JobNumber = txtJobNo.Text };
     this.Dispose();
 }