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();
 }
Beispiel #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();
        }
Beispiel #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();
        }
Beispiel #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();
        }