Example #1
0
        private void ins_Bulding_Click(object sender, EventArgs e)
        {
            this.Hide();
            InsertBuilding objInsertBuilding = new InsertBuilding(frmLogin);

            objInsertBuilding.Show();
        }
Example #2
0
 private void btnInsert_Click(object sender, EventArgs e)
 {
     if (rbBuilding.Checked)
     {
         this.Hide();
         InsertBuilding objInsertBuilding = new InsertBuilding(frmLogin);
         objInsertBuilding.Show();
     }
     else if (rbCensus.Checked)
     {
         this.Hide();
         Insert_CensusTrack obj_Insert_Tract = new Insert_CensusTrack(frmLogin);
         obj_Insert_Tract.Show();
     }
     else if (rbMortgager.Checked)
     {
         this.Hide();
         InsertMortgager obj_Insert_Tract = new InsertMortgager(frmLogin);
         obj_Insert_Tract.Show();
     }
     else if (rbOwner.Checked)
     {
         this.Hide();
         Insert_Owner obj_Insert_Tract = new Insert_Owner(frmLogin);
         obj_Insert_Tract.Show();
     }
     else if (rbUnit.Checked)
     {
         this.Hide();
         Insert_Unit obj_Insert_Tract = new Insert_Unit(frmLogin);
         obj_Insert_Tract.Show();
     }
     else
     {
         MessageBox.Show("Select an option");
     }
 }
Example #3
0
 public Insert_CensusTrack(WelcomPage objLogin, InsertBuilding obj_inert_Building)
 {
     InitializeComponent();
     this.frmLogin    = objLogin;
     this.insBuilding = obj_inert_Building;
 }