private void btnEditMarkSignature_Click(object sender, RoutedEventArgs e) { var signatureForm = new WinSignature(); signatureForm.Owner = this; signatureForm.ShowDialog(); }