private void Button_Click(object sender, RoutedEventArgs e) { StickyNote form2 = new StickyNote(); form2.Title = Microsoft.VisualBasic.Interaction.InputBox("Titulo da Nota"); form2.ShowInTaskbar = false; form2.Show(); }
private void showNote() { StickyNote note = new StickyNote() { DataContext = this }; note.txt_noteContent.Document = XamlReader.Parse( HtmlToXamlConverter.ConvertHtmlToXaml(this.pageContent, true) ) as FlowDocument; note.ShowInTaskbar = false; note.Show(); }