コード例 #1
0
        private void btnEditLoan_Click(object sender, RoutedEventArgs e)
        {
            editLoanWindow window = new editLoanWindow();
            if (window.ShowDialog() == true)
            {
                mainWindow = (MainWindow)Window.GetWindow(this.Parent);
                // Update DataGrid
                mainWindow.RefreshDataGrid();

            }
        }
コード例 #2
0
        private void btnEditLoan_Click(object sender, RoutedEventArgs e)
        {
            editLoanWindow window = new editLoanWindow();

            if (window.ShowDialog() == true)
            {
                mainWindow = (MainWindow)Window.GetWindow(this.Parent);
                // Update DataGrid
                mainWindow.RefreshDataGrid();
            }
        }