Пример #1
0
        private void ExecuteSaveShower(object parameter)
        {
            IMessageBoxService _msgboxcommand = new MessageBoxService();
            string             _exefolder     = ConfigFileManager.GetLocalExePath();// Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
            string             _filename      = _msgboxcommand.SaveFileDlg("Select Shower", "Logo Files(*." + Constants._showerfilenameext + ")| *." + Constants._showerfilenameext, null, _exefolder);

            _msgboxcommand = null;

            if (!string.IsNullOrEmpty(_filename))
            {
                SerializeShower(_filename);
            }
            MenuItems = MRUList.AddFile(MenuItems, _filename, OpenShowerFile);
        }