private void ButtonSmooth_Click(object sender, RoutedEventArgs e) { if (!CheckImage()) { return; } var a = new RS_Diag.Smooth(); if (a.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return; } _loading.Start(); ProcessSmooth(a.Hang, a.Lie, a.O, a.Method); _loading.Abort(); }
private void ButtonSmooth_Click(object sender, RoutedEventArgs e) { if (!CheckImage()) return; var a = new RS_Diag.Smooth(); if (a.ShowDialog() != System.Windows.Forms.DialogResult.OK) return; _loading.Start(); ProcessSmooth(a.Hang, a.Lie, a.O, a.Method); _loading.Abort(); }