Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }