コード例 #1
0
ファイル: MainForm2b.cs プロジェクト: padma-duvvuri/CSharp
        //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();
        }
コード例 #2
0
ファイル: MainForm2a.cs プロジェクト: PM2015/padma-projects
        //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();
        }