public void setMouth(MouthStatus status) { switch (status) { case MouthStatus.Closed: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_closed; break; case MouthStatus.Open: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_open; break; case MouthStatus.Talking: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_open; break; } }
public void setMouth(MouthStatus status) { switch (status) { case MouthStatus.Closed: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_closed; break; case MouthStatus.Open: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_open; break; case MouthStatus.Talking: this.mouthPictureBox.Image = Custom_Controls.Properties.Resources.mouth_open; break; } }