//Loads the contract information in a new form for the user selected contract
        private void select_btn_Click(object sender, EventArgs e)
        {
            ContractInfo contractInfoScreen = new ContractInfo();

            contractInfoScreen.setSelectedContractNumber(selection_mskedtxtbx.Text);
            contractInfoScreen.Show();
        }
Exemplo n.º 2
0
 //Loads the contract information in a new form for the user selected contract
 private void select_btn_Click(object sender, EventArgs e)
 {
     if (selection_mskedtxtbx.Text.Length != 9)
     {
         MessageBox.Show("Please enter a contract number");
     }
     else
     {
         ContractInfo contractInfoScreen = new ContractInfo(selection_mskedtxtbx.Text);
         this.Close();
     }
 }
Exemplo n.º 3
0
 //Load a contract information screen for the specified contract
 private void select_btn_Click(object sender, EventArgs e)
 {
     ContractInfo contractInfoScreen = new ContractInfo(maskedtxtbx_Selection.Text, 0);
 }