public Form1()
 {
     InitializeComponent();
     this.tabMain.Region = new Region(new RectangleF(this.tabPage1.Left, this.tabPage1.Top, this.tabPage1.Width, this.tabPage1.Height));
     CloseProject();
     InterfaceUpdate = new HandleInterfaceUpdateDelegate(UpdateRTUData);
     showInfo        = new ShowDebugInfo(UpdateDebugInfo);
 }
Exemple #2
0
    private void InitializeDebugInformation()
    {
        GameObject obj = Instantiate(prefabShowInfo);

        mdebuginstance = obj;
        DebugPOICreate dbobj = obj.GetComponent <DebugPOICreate>();

        dbobj.BTService = BTService;

        ShowDebugInfo shobj = obj.GetComponent <ShowDebugInfo>();

        shobj.ApplyMap(map);
    }