private void ClearFile(Button button) { if (button.Tag != null) { MixdownInfo buttonInfo = button.Tag as MixdownInfo; mixer.RemoveInputStream(buttonInfo.Stream); buttonInfo.Stream.Close(); button.Tag = null; SetButtonAppearance(button); } }
private void ClearFile(Button button) { if (button.Tag != null) { MixdownInfo buttonInfo = button.Tag as MixdownInfo; mixer.RemoveInputStream(buttonInfo.Stream); buttonInfo.Stream.Close(); button.Tag = null; SetButtonAppearance(button); } }