Exemplo n.º 1
0
 public static void Main()
 {
     PeriodicTableLogic table = new PeriodicTableLogic();
       PeriodicTableRenderer renderer = new PeriodicTableRenderer(new PeriodicTableRenderOptions()
                          {
                            ElementWidth = 64,
                                                            ElementHeight = 64,
                                                            LinePen = new System.Drawing.Pen(System.Drawing.Color.Black),
                                                            ForceAntiAlias = true,
                                                            SymbolBrush = System.Drawing.Brushes.Black,
                                                            Font = "Tahoma"
                          });
       PeriodicTableUI ui = new PeriodicTableUI(table, renderer);
       ui.Run();
 }
Exemplo n.º 2
0
        public static void Main()
        {
            PeriodicTableLogic    table    = new PeriodicTableLogic();
            PeriodicTableRenderer renderer = new PeriodicTableRenderer(new PeriodicTableRenderOptions()
            {
                ElementWidth   = 64,
                ElementHeight  = 64,
                LinePen        = new System.Drawing.Pen(System.Drawing.Color.Black),
                ForceAntiAlias = true,
                SymbolBrush    = System.Drawing.Brushes.Black,
                Font           = "Tahoma"
            });
            PeriodicTableUI ui = new PeriodicTableUI(table, renderer);

            ui.Run();
        }