//Consturctor is a special method that is automatically called // when an instance of the class is created by using the keyword new. //It is a good place for initializations and creation of // the objects that are used as fields, e.g m_seatMngr public MainForm2b() { //visual studio generated method InitializeComponent(); //my initialization method m_seatMngr = new SeatManager(m_numOfRows,m_numOfCols); InitializeGUI(); }
//Consturctor is a special method that is automatically called // when an instance of the class is created by using the keyword new. //It is a good place for initializations and creation of // the objects that are used as fields, e.g m_seatMngr public MainForm2a() { //visual studio generated method InitializeComponent(); //my initialization method m_seatMngr = new SeatManager(m_numOfSeats); InitializeGUI(); }