Interaction logic for DatabaseBrowser.xaml
Inheritance: System.Windows.Window
示例#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();
        }
示例#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();
        }