Пример #1
0
        private void SetLibraryIconClick(object sender, RoutedEventArgs e)
        {
            try
            {
                SelectIconWindow selectIconWindow = new SelectIconWindow();
                selectIconWindow.ShowDialog();

                _libraryManager.SetIcon(selectIconWindow.IconId);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Пример #2
0
        private void SetLibraryIconClick(object sender, RoutedEventArgs e)
        {
            try
            {
                SelectIconWindow selectIconWindow = new SelectIconWindow();
                selectIconWindow.ShowDialog();

                _libraryManager.SetIcon(selectIconWindow.IconId);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }