private void buttImpFile_Click(object sender, RoutedEventArgs e) { if (checkOp("Importa")) { ImportaFileWindow importaFileWindow = new ImportaFileWindow(client); importaFileWindow.ShowDialog(); } else { ParametersErrorWindow err = new ParametersErrorWindow(false, "Errore lato server.."); err.ShowDialog(); } }
private void buttImpFile_Click(object sender, RoutedEventArgs e) { if(checkOp("Importa")) { ImportaFileWindow importaFileWindow = new ImportaFileWindow(client); importaFileWindow.ShowDialog(); } else { ParametersErrorWindow err = new ParametersErrorWindow(false, "Errore lato server.."); err.ShowDialog(); } }