コード例 #1
0
        private void Load_Callouts()
        {
            Callouts c = new Callouts();
            c.Create(70, 120, "Text", "Here is my comment");
            c.Render(UniverseBackground);

            Callouts c1 = new Callouts();
            c1.Create(245, 150, "Link", "http://www.microsoft.com");
            c1.Render(UniverseBackground);
        }
コード例 #2
0
        private void AddLink(object sender, RoutedEventArgs e)
        {
            double x, y;
            string textmsg = "http://www.astrazeneca.com";

            x = 2000;
            y = 2000;
            Callouts c = new Callouts();
            c.type = "Link";
            c.xpos = x;
            c.ypos = y;
            c.calloutText = textmsg;
            c.Render(PadParent);

        }
コード例 #3
0
        private void AddComment(object sender, RoutedEventArgs e)
        {
            double x, y;
            string textmsg = "Add a Comment here";

            x = 2000;
            y = 2000;
            Callouts c = new Callouts();
            c.type = "Comment";
            c.xpos = x;
            c.ypos = y;
            c.calloutText = textmsg;
            c.Render(PadParent);

        }