ReorderRooms() public method

reorder all the rooms' number
public ReorderRooms ( ) : void
return void
Example #1
0
        /// <summary>
        /// reorder rooms' number
        /// </summary>
        private void reorderButton_Click(object sender, EventArgs e)
        {
            m_data.ReorderRooms();

            // refresh the listview
            roomsListView.Items.Clear();
            this.DisplayRooms(m_data.RoomsWithTag, true);
            this.DisplayRooms(m_data.RoomsWithoutTag, false);
        }
Example #2
0
 /// <summary>
 /// reorder room number
 /// </summary>
 private void reorderButton_Click(object sender, EventArgs e)
 {
     m_data.ReorderRooms();
     MessageBox.Show("Reoder rooms successfully", "Macro Sample", MessageBoxButtons.OK, MessageBoxIcon.Information);
     this.Close();
 }