A washing machine comprising: a control panel; a communication device configured to communicate with a drying machine; and a controller connected to the control panel and the communication device, characterized in that, the control panel includes a course selection dial, a course display and a dryer control button configured to obtain a user input for switching from a washer control mode for controlling a washing operation and/or a washing setting of the washing machine to a dryer control mode for controlling a drying operation and/or a drying setting of the drying machine, wherein the controller is configured to: display, on the course display, a plurality of washing courses in order according to a rotation of the course selection dial for selecting a washing course in the washer control mode, in response to obtaining the user input through the dryer control button, switch from the washer control mode to the dryer control mode, display, on the course display, a plurality of drying courses in order according to the rotation of the course selection dial for selecting a drying course in the dryer control mode, and transmit information corresponding to the selected drying course displayed on the course display in the dryer control mode to the drying machine through the communication device for controlling a drying operation of the drying machine. a control panel; a communication device configured to communicate with a drying machine; and a controller connected to the control panel and the communication device, characterized in that, the control panel includes a course selection dial, a course display and a dryer control button configured to obtain a user input for switching from a washer control mode for controlling a washing operation and/or a washing setting of the washing machine to a dryer control mode for controlling a drying operation and/or a drying setting of the drying machine, wherein the controller is configured to: display, on the course display, a plurality of washing courses in order according to a rotation of the course selection dial for selecting a washing course in the washer control mode, in response to obtaining the user input through the dryer control button, switch from the washer control mode to the dryer control mode, display, on the course display, a plurality of drying courses in order according to the rotation of the course selection dial for selecting a drying course in the dryer control mode, and transmit information corresponding to the selected drying course displayed on the course display in the dryer control mode to the drying machine through the communication device for controlling a drying operation of the drying machine. display, on the course display, a plurality of washing courses in order according to a rotation of the course selection dial for selecting a washing course in the washer control mode, in response to obtaining the user input through the dryer control button, switch from the washer control mode to the dryer control mode, display, on the course display, a plurality of drying courses in order according to the rotation of the course selection dial for selecting a drying course in the dryer control mode, and transmit information corresponding to the selected drying course displayed on the course display in the dryer control mode to the drying machine through the communication device for controlling a drying operation of the drying machine.