BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void Button_Click(object sender, RoutedEventArgs e)
{
string title = "HeaderTitle";
var doc = ExistDocumentInDocumentContainer(title);
if (doc == null)
{
doc = new myUserControl();
DocumentContainer.SetHeader(doc, title);
doc.Name = title.ToLower();
_MainDockManager.Items.Add(doc);
}
else
{
_MainDockManager.RestoreDocument(doc as UIElement);
}
} |