Пример #1
0
        public static void OpenDatabase(DialogManager dialogManager, Form window, OpenFileDialog openFileDialog)
        {
            dialogManager.InitializeListView(window, new Size(window.Width - 48, window.Height - 86));
            DialogManager.SetWindowTheme(dialogManager.MLView.Handle, "Explorer", null);

            XmlHandler.ImportEncryptedFromXml(dialogManager.MLView, openFileDialog);
        }
Пример #2
0
 public static void NewDatabase(DialogManager dialogManager, Form window)
 {
     dialogManager.InitializeListView(window, new Size(window.Width - 48, window.Height - 86));
     DialogManager.SetWindowTheme(dialogManager.MLView.Handle, "Explorer", null);
 }