Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        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();
        }