protected virtual void InitDialog(Widget dialog) { var self = this; dialog.BindToDataChange(this, (e, dci) => self.SubDialogDataChange()); RouteDialog(this.GetItemType(), dialog); }
protected virtual void InitEntityDialog(string itemType, Widget dialog) { if (itemType == GetItemType()) { InitDialog(dialog); return; } var self = this; dialog.BindToDataChange(this, (e, dci) => self.SubDialogDataChange()); }
protected virtual void InitEntityDialog(Widget dialog) { var self = this; dialog.BindToDataChange(this, (e, dci) => self.SubDialogDataChange()); }