public void Clear() { ready = false; autoComplete.Dispose(); comboBoxSpeaker.DataSource = null; comboBoxListener.DataSource = null; comboBoxAnimsetSpeaker.DataSource = null; comboBoxAnimsetListener.DataSource = null; comboBoxIntensity.DataSource = null; if (picturePortraitSpeaker.Image != null) { picturePortraitSpeaker.Image.Dispose(); } if (picturePortraitListener.Image != null) { picturePortraitListener.Image.Dispose(); } picturePortraitSpeaker.Image = null; picturePortraitListener.Image = null; Dispose(); }
public void Clear() { ready = false; autoComplete.Dispose(); Dispose(); }