public PropertyInvokeDialog(Window parent, Bus bus, string busName, ObjectPath path, IElement element) : base(element.Name, parent, DialogFlags.DestroyWithParent | DialogFlags.Modal) { this.Build (); this.parent = parent; this.setAlign.HideAll (); this.WidthRequest = 250; this.HeightRequest = 150; this.propertyName.Text = element.Name; this.propertyType = Mapper.DTypeFromString (element.Data.ReturnType); try { this.caller = new PropertyCaller (bus, busName, path, element.Parent.Name, element.Name, element.Data); } catch (Exception e) { Logging.Error ("Error while creating the invocation proxy", e, parent); buttonExecute.Sensitive = false; } }
public PropertyInvokeDialog(Window parent, Bus bus, string busName, ObjectPath path, IElement element) : base(element.Name, parent, DialogFlags.DestroyWithParent | DialogFlags.Modal) { this.Build(); this.parent = parent; this.setAlign.HideAll(); this.WidthRequest = 250; this.HeightRequest = 150; this.propertyName.Text = element.Name; this.propertyType = Mapper.DTypeFromString(element.Data.ReturnType); try { this.caller = new PropertyCaller(bus, busName, path, element.Parent.Name, element.Name, element.Data); } catch (Exception e) { Logging.Error("Error while creating the invocation proxy", e, parent); buttonExecute.Sensitive = false; } }