MyNWT (My .NET Web Toolkit)

XHTML

MyNWT first Screencast

by on May.01, 2008, under .NET, C#, CSS, MYNWT, NWT, XHTML

Code used in Screencast:

  1.  
  2. Div d = new Div();
  3. Div d2 = new Div();
  4. Div d3 = new Div();
  5. d.Style.MarginTop = "10px";
  6. d2.Style.MarginTop = "10px";
  7. d3.Style.MarginTop = "10px";
  8. Panel p = new Panel();
  9. p.Title = "Hello";
  10. p.Collapsible = true;
  11. p.Collapsibled = true;
  12. p.TitlePosition = TextPosition.Left;
  13. p.Width = 100;
  14. p.Text = "text in panel title positon left width 100";
  15. Panel p2 = new Panel();
  16. p2.Title = "My";
  17. p2.Width = 200;
  18. p2.Height = 100;
  19. p2.Collapsible = true;
  20. p2.Text = "Text in panel center width 200 height 100";
  21. p2.TextPosition = TextPosition.Center;
  22. Panel p3 = new Panel();
  23. p3.Title = "NWT";
  24. p3.TitlePosition = TextPosition.Right;
  25. p3.Text = "text in panel right and title position right";
  26. p3.TextPosition = TextPosition.Right;
  27. p3.Collapsible = true;
  28. Panel p4 = new Panel();
  29. p4.Text = "text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel";
  30. p4.TextPosition = TextPosition.Justify;
  31. p4.Collapsible = true;
  32. p4.Collapsibled = true;
  33. Panel p5 = new Panel();
  34. p5.Title = "Title panel in panel without Title :)";
  35. p5.Text = "Text in panel";
  36. p4.Add(p5);
  37. p5.Collapsible = true;
  38. Document.Body.AppendChild(p);
  39. Document.Body.AppendChild(d);
  40. Document.Body.AppendChild(p2);
  41. Document.Body.AppendChild(d2);
  42. Document.Body.AppendChild(p3);
  43. Document.Body.AppendChild(d3);
  44. Document.Body.AppendChild(p4);
1 Comment :, , , , , more...

Next ScreenShots

by on Apr.27, 2008, under .NET, C#, CSS, MYNWT, NWT, XHTML

FireFox

InternetExplorer

Code:

  1. Div d = new Div();
  2. Div d2 = new Div();
  3. Div d3 = new Div();
  4. d.Style.MarginTop = "10px";
  5. d2.Style.MarginTop = "10px";
  6. d3.Style.MarginTop = "10px";
  7. Panel p = new Panel();
  8. p.Title = "Hello";
  9. p.TitlePosition = TextPosition.Left;
  10. p.Width = 100;
  11. p.Text = "text in panel title positon left width 100";
  12. Panel p2 = new Panel();
  13. p2.Title = "My";
  14. p2.Width = 200;
  15. p2.Height = 100;
  16. p2.Text = "Text in panel center width 200 height 100";
  17. p2.TextPosition = TextPosition.Center;
  18. Panel p3 = new Panel();
  19. p3.Title = "NWT";
  20. p3.TitlePosition = TextPosition.Right;
  21. p3.Text = "text in panel right and title position right";
  22. p3.TextPosition = TextPosition.Right;
  23. Panel p4 = new Panel();
  24. p4.Text = "text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel text in panel justify without title panel";
  25. p4.TextPosition = TextPosition.Justify;
  26. Panel p5 = new Panel();
  27. p5.Title = "Title panel in panel without Title :)";
  28. p5.Text = "Text in panel";
  29. p4.Add(p5);
  30. Document.Body.AppendChild(p);
  31. Document.Body.AppendChild(d);
  32. Document.Body.AppendChild(p2);
  33. Document.Body.AppendChild(d2);
  34. Document.Body.AppendChild(p3);
  35. Document.Body.AppendChild(d3);
  36. Document.Body.AppendChild(p4);
1 Comment :, , , , , , , , more...

First ScreenShots

by on Apr.27, 2008, under .NET, C#, CSS, JavaScript, MYNWT, NWT, XHTML

FireFox

Internet Exploreer

And Code :

  1. Div d = new Div();
  2. Div d2 = new Div();
  3. d.Style.MarginTop = "10px";
  4. d2.Style.MarginTop = "10px";
  5.  
  6. Panel p = new Panel() { Title = "Hello", Frame = true};
  7. Panel p2 = new Panel() { Title = "My"};
  8. Panel p3 = new Panel() { Title = "NWT", Frame = true};
  9.  
  10. Document.Body.AppendChild(p);
  11. Document.Body.AppendChild(d);
  12. Document.Body.AppendChild(p2);
  13. Document.Body.AppendChild(d2);
  14. Document.Body.AppendChild(p3););
Leave a Comment :, , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...