migrate Settings codebase from MBS.Framework.UserInterface to MBS.Framework [from MBS.Framework a594833]
This commit is contained in:
parent
2932bf2c87
commit
bd836fd758
@ -21,6 +21,9 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
@ -307,14 +310,14 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
case ProjectTypeVariableType.FileOpen:
|
||||
{
|
||||
FileSetting co = new FileSetting(ptv.Name, ptv.Title);
|
||||
co.Mode = FileDialogMode.Open;
|
||||
co.Mode = FileSettingMode.Open;
|
||||
sg.Settings.Add(co);
|
||||
break;
|
||||
}
|
||||
case ProjectTypeVariableType.FileSave:
|
||||
{
|
||||
FileSetting co = new FileSetting(ptv.Name, ptv.Title);
|
||||
co.Mode = FileDialogMode.Save;
|
||||
co.Mode = FileSettingMode.Save;
|
||||
sg.Settings.Add(co);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -19,7 +19,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using UniversalEditor.ObjectModels.FileSystem;
|
||||
|
||||
namespace UniversalEditor.Editors.FileSystem
|
||||
|
||||
@ -21,6 +21,9 @@
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
@ -21,6 +21,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
|
||||
@ -87,8 +90,8 @@ namespace UniversalEditor.UserInterface
|
||||
FileSetting fs = new FileSetting(option.PropertyName, option.Title, (string)option.GetValue());
|
||||
switch (option.DialogMode)
|
||||
{
|
||||
case CustomOptionFileDialogMode.Open: fs.Mode = FileDialogMode.Open; break;
|
||||
case CustomOptionFileDialogMode.Save: fs.Mode = FileDialogMode.Save; break;
|
||||
case CustomOptionFileDialogMode.Open: fs.Mode = FileSettingMode.Open; break;
|
||||
case CustomOptionFileDialogMode.Save: fs.Mode = FileSettingMode.Save; break;
|
||||
}
|
||||
sg.Settings.Add(fs);
|
||||
}
|
||||
|
||||
@ -19,6 +19,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
|
||||
@ -24,6 +24,7 @@ using System.Collections.Generic;
|
||||
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Drawing;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
|
||||
@ -19,7 +19,8 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using UniversalEditor.ObjectModels.NewWorldComputing.Map;
|
||||
|
||||
namespace UniversalEditor.Plugins.NewWorldComputing.UserInterface.Editors.NewWorldComputing.Map
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.UserInterface;
|
||||
using UniversalEditor.ObjectModels.NewWorldComputing.Map;
|
||||
using UniversalEditor.UserInterface;
|
||||
|
||||
@ -20,6 +20,8 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework;
|
||||
using MBS.Framework.Settings;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user