예제 #1
0
        protected virtual void InitDialog(Widget dialog)
        {
            var self = this;

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

            var self = this;

            dialog.BindToDataChange(this, (e, dci) => self.SubDialogDataChange());
        }
예제 #3
0
        protected virtual void InitEntityDialog(Widget dialog)
        {
            var self = this;

            dialog.BindToDataChange(this, (e, dci) => self.SubDialogDataChange());
        }