Interaction logic for DatabaseBrowser.xaml
Inheritance: System.Windows.Window
Ejemplo n.º 1
0
        private void btnInit_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new System.Windows.Forms.FolderBrowserDialog();

            System.Windows.Forms.DialogResult result = dialog.ShowDialog();
            pathToMigrations = dialog.SelectedPath;

            var dbBrowse = new DatabaseBrowser();
            dbBrowse.Closed += new EventHandler(dbBrowse_Closed);
            dbBrowse.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnInit_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new System.Windows.Forms.FolderBrowserDialog();

            System.Windows.Forms.DialogResult result = dialog.ShowDialog();
            pathToMigrations = dialog.SelectedPath;

            var dbBrowse = new DatabaseBrowser();

            dbBrowse.Closed += new EventHandler(dbBrowse_Closed);
            dbBrowse.ShowDialog();
        }