Наследование 2
This commit is contained in:
@ -13,8 +13,9 @@ var SRec_mas = new Array(); //List of all objects "EdtRec" (then something bette
|
||||
|
||||
class SRec extends TWin
|
||||
{
|
||||
constructor()
|
||||
constructor(dialog,path)
|
||||
{
|
||||
super(dialog,path);
|
||||
this.win=null;
|
||||
this.rwin=null;
|
||||
|
||||
@ -45,6 +46,11 @@ class SRec extends TWin
|
||||
|
||||
this.onUpdate=null; //For call set function
|
||||
this.onInsert=null; //For call set function
|
||||
|
||||
|
||||
//TODO сделать наследование из класса TWin
|
||||
this.parent=null; //родительское окно
|
||||
this.childs=new Array(); //Подчинёные окна
|
||||
}
|
||||
|
||||
applyReq(req,fn,node,xmldoc)
|
||||
|
||||
Reference in New Issue
Block a user