Exemplo n.º 1
0
 public void GeneratorControlChar(OrgCharDataSource datasource)
 {
     DataSource = datasource;
     DataSource.Container.Paint += new PaintEventHandler(Container_Paint);
     this._RootNode              = DataSource.BuildNodeTree();
     GeneratorControlChar(this._RootNode);
 }
Exemplo n.º 2
0
 public void ShowChar()
 {
     try
     {
         this.panel1.SuspendLayout();
         OrgCharDataSource ds = new OrgCharDataSource(this.KeyFileName,
                                                      ParentKeyFileName,
                                                      _RootParentKeyValue,
                                                      DataSource,
                                                      typeof(SH_OrgCharControlBuilder),
                                                      this.panel1);
         _CharGen.GeneratorControlChar(ds);
         this.panel1.Invalidate();
     }
     finally
     {
         this.panel1.ResumeLayout(false);
     }
 }