private void button1_Click(object sender, EventArgs e) { frmHousesManagement fm = new frmHousesManagement(); fm.Show(); this.Close(); }
private void InitForm() { frmHousesManagement fm = new frmHousesManagement(); houseEstateID = fm.model.HouseEstateID; label1.Text = fm.model.HouseEstateName; }
public static frmHousesManagement GetInstance() { if (frmHouseMgt == null) { frmHouseMgt = new frmHousesManagement(); } return(frmHouseMgt); }