private void EncodeBtnClick(object sender, RoutedEventArgs e) { if (ViewControl.Children.Count > 0) { return; } EncodingWindow encoder = new EncodingWindow { JobList = JobCollection, TaskBar = TaskbarItemInfo }; ViewControl.Children.Add(encoder); }
private void EncodeBtnClick(object sender, RoutedEventArgs e) { if (ViewControl.Children.Count > 0) return; EncodingWindow encoder = new EncodingWindow {JobList = JobCollection, TaskBar = TaskbarItemInfo}; ViewControl.Children.Add(encoder); }