public NodeViewModelEntry() { this.Build(); Binding = new BindingControler <NodeViewModelEntry>(this, new Expression <Func <NodeViewModelEntry, object> >[] { (w => w.Subject) }); }
public PhotoView() { Binding = new BindingControler <PhotoView> (this, new Expression <Func <PhotoView, object> >[] { (w => w.ImageFile) }); this.Build(); }
public yComboBox() { Binding = new BindingControler <yComboBox> (this, new Expression <Func <yComboBox, object> >[] { (w => w.Active), (w => w.ActiveText), }); }
public RepresentationEntry() { this.Build(); Binding = new BindingControler <RepresentationEntry>(this, new Expression <Func <RepresentationEntry, object> >[] { (w => w.Subject) }); }
public yTextView() { Binding = new BindingControler <yTextView> (this, new Expression <Func <yTextView, object> >[] { (w => w.Buffer.Text) }); Buffer.Changed += Buffer_Changed; }
public PhotoView() { Binding = new BindingControler<PhotoView> (this, new Expression<Func<PhotoView, object>>[] { (w => w.ImageFile) }); this.Build(); }
public ValidatedEntry() { ValidationMode = ValidationType.None; Binding = new BindingControler <ValidatedEntry>(this, new Expression <Func <ValidatedEntry, object> >[] { (w => w.Text) }); }
public yTimeEntry() { Binding = new BindingControler<yTimeEntry> (this, new Expression<Func<yTimeEntry, object>>[] { (w => w.DateTime), (w => w.Time), }); }
public yTimeEntry() { Binding = new BindingControler <yTimeEntry> (this, new Expression <Func <yTimeEntry, object> >[] { (w => w.DateTime), (w => w.Time), }); }
public yComboBox() { Binding = new BindingControler<yComboBox> (this, new Expression<Func<yComboBox, object>>[] { (w => w.Active), (w => w.ActiveText), }); }
public HideHorizontalSeparator() { this.Build(); Binding = new BindingControler <HideHorizontalSeparator>(this, new Expression <Func <HideHorizontalSeparator, object> >[] { (w => w.ArrowDirection), }); }
public yComboBoxEntry() { Binding = new BindingControler <yComboBoxEntry> (this, new Expression <Func <yComboBoxEntry, object> >[] { (w => w.Active), (w => w.ActiveText), (w => w.Entry.Text) }); }
public RightSidePanel() { this.Build(); Binding = new BindingControler <RightSidePanel>(this, new Expression <Func <RightSidePanel, object> >[] { (w => w.IsHided), }); }
public WidgetContainerView() { this.Build(); Binding = new BindingControler <WidgetContainerView>(this, new Expression <Func <WidgetContainerView, object> >[] { (w => w.WidgetViewModel), (w => w.Widget) }); }
public AdditionalLoadingTextView() { Build(); Binding = new BindingControler <AdditionalLoadingTextView>(this, new Expression <Func <AdditionalLoadingTextView, object> >[] { w => w.AdditionalLoadingDocument }); InitializeBuffer(); }
public ySpinButton(Adjustment adjustment, double climb_rate, uint digits) : base(adjustment, climb_rate, digits) { Binding = new BindingControler <ySpinButton> (this, new Expression <Func <ySpinButton, object> >[] { (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal), (w => w.ValueAsShort), }); }
public yRadioButton() : base("") { Binding = new BindingControler <yRadioButton> (this, new Expression <Func <yRadioButton, object> >[] { (w => w.Active), (w => w.BindedValue) }); Toggled += YRadioButton_Toggled; }
public ySpinButton(Adjustment adjustment, double climb_rate, uint digits) : base(adjustment, climb_rate, digits) { Binding = new BindingControler<ySpinButton> (this, new Expression<Func<ySpinButton, object>>[] { (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal), }); }
public yDatePicker() { Binding = new BindingControler <yDatePicker> (this, new Expression <Func <yDatePicker, object> >[] { (w => w.Date), (w => w.DateOrNull), (w => w.DateText), (w => w.IsEmpty) }); }
public yDatePeriodPicker() { Binding = new BindingControler <yDatePeriodPicker> (this, new Expression <Func <yDatePeriodPicker, object> >[] { (w => w.StartDate), (w => w.StartDateOrNull), (w => w.EndDate), (w => w.EndDateOrNull) }); }
public ySpinButton(double min, double max, double step) : base(min, max, step) { Binding = new BindingControler<ySpinButton> (this, new Expression<Func<ySpinButton, object>>[] { (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal), }); }
public ySpinButton(double min, double max, double step) : base(min, max, step) { Binding = new BindingControler <ySpinButton> (this, new Expression <Func <ySpinButton, object> >[] { (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal), (w => w.ValueAsShort), }); }
public yDatePicker() { Binding = new BindingControler<yDatePicker> (this, new Expression<Func<yDatePicker, object>>[] { (w => w.Date), (w => w.DateOrNull), (w => w.DateText), (w => w.IsEmpty) }); }
public EmployeePhone() { global::Gtk.Image image = new global::Gtk.Image(); image.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Vodovoz.icons.phone.make-call-16.png"); Image = image; Sensitive = false; Binding = new BindingControler <EmployeePhone>(this, new Expression <Func <EmployeePhone, object> >[] {}); }
public TimeEntry() { Binding = new BindingControler <TimeEntry>(this, new Expression <Func <TimeEntry, object> >[] { (w => w.DateTime), (w => w.Time), }); //Что бы установить ограничения на максимальное количество символов, по умолчанию. ShowSeconds = false; }
public yLegalName() { Binding = new BindingControler<yLegalName> (this, new string[]{ this.GetPropertyName (w => w.OwnName), this.GetPropertyName (w => w.Ownership), this.GetPropertyName (w => w.FullName) }); NameChanged += DataLegalName_NameChanged; OwnershipChanged += DataLegalName_OwnershipChanged; FullNameChanged += DataLegalName_FullNameChanged; }
public DisableSpinButton() { this.Build(); Binding = new BindingControler <DisableSpinButton> (this, new Expression <Func <DisableSpinButton, object> >[] { (w => w.Active), (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal) }); }
public SaveTemplateWidget() { this.Build(); Binding = new BindingControler <SaveTemplateWidget>(this, new Expression <Func <SaveTemplateWidget, object> >[] { (w => w.Template), (w => w.File), }); worker.FileUpdated += Worker_FileUpdated; }
public yLegalName() { Binding = new BindingControler <yLegalName> (this, new string[] { this.GetPropertyName(w => w.OwnName), this.GetPropertyName(w => w.Ownership), this.GetPropertyName(w => w.FullName) }); NameChanged += DataLegalName_NameChanged; OwnershipChanged += DataLegalName_OwnershipChanged; FullNameChanged += DataLegalName_FullNameChanged; }
public DisableSpinButton() { this.Build(); Binding = new BindingControler<DisableSpinButton> (this, new Expression<Func<DisableSpinButton, object>>[] { (w => w.Active), (w => w.Value), (w => w.ValueAsInt), (w => w.ValueAsDecimal) }); }
public VehicleRegistrationNumberEntry() { Build(); Binding = new BindingControler <VehicleRegistrationNumberEntry>(this, new Expression <Func <VehicleRegistrationNumberEntry, object> >[] { w => w.Number }); comboCountry.ItemsEnum = typeof(Country); comboCountry.Changed += (sender, args) => _country = (Country)comboCountry.SelectedItem; comboCountry.SelectedItem = Country; entryNumber.Changed += (sender, args) => UpdateNumber(entryNumber.Text, false); }
public DateRangePicker() { this.Build(); Binding = new BindingControler <DateRangePicker>(this, new Expression <Func <DateRangePicker, object> >[] { (w => w.StartDate), (w => w.StartDateOrNull), (w => w.EndDate), (w => w.EndDateOrNull) }); UpdateEntryText(); }
public TemplateWidget() { this.Build(); Binding = new BindingControler<TemplateWidget> (this, new Expression<Func<TemplateWidget, object>>[] { (w => w.Template), (w => w.ChangedDoc), }); worker.FileUpdated += Worker_FileUpdated; UpdateState(); UpdateSize(); }
public StreetEntry() { Binding = new BindingControler<StreetEntry> (this, new Expression<Func<StreetEntry, object>>[] { (w => w.Street), (w => w.StreetDistrict) }); this.Completion = new EntryCompletion (); this.Completion.MinimumKeyLength = 0; this.Completion.MatchSelected += Completion_MatchSelected; this.Completion.MatchFunc = Completion_MatchFunc; var cell = new CellRendererText (); this.Completion.PackStart (cell, true); this.Completion.SetCellDataFunc (cell, OnCellLayoutDataFunc); }
public TimeRangePicker() { this.Build(); entTimeRange.MaxLength = entTimeRange.WidthChars = 13; Binding = new BindingControler <TimeRangePicker>( this, new Expression <Func <TimeRangePicker, object> >[] { (w => w.TimeStart), (w => w.TimeEnd) } ); btnSetRange.Clicked += BtnSetRange_Clicked; TimePeriodChanged += (sender, e) => UpdateEntryText(); }
public yEnumComboBox() { Binding = new BindingControler<yEnumComboBox> (this, new Expression<Func<yEnumComboBox, object>>[] { (w => w.Active), (w => w.ActiveText), (w => w.SelectedItem), (w => w.SelectedItemOrNull) }); comboListStore = new ListStore (typeof(string), typeof(object)); CellRendererText text = new CellRendererText (); PackStart (text, false); AddAttribute (text, "text", (int)comboDataColumns.Title); Model = comboListStore; }
public yListComboBox() { Binding = new BindingControler <yListComboBox> (this, new Expression <Func <yListComboBox, object> >[] { (w => w.Active), (w => w.ActiveText), (w => w.SelectedItem) }); comboListStore = new ListStore(typeof(string), typeof(object)); CellRendererText text = new CellRendererText(); PackStart(text, false); AddAttribute(text, "text", (int)comboDataColumns.Title); Model = comboListStore; }
public StreetEntry() { Binding = new BindingControler <StreetEntry> (this, new Expression <Func <StreetEntry, object> >[] { (w => w.Street), (w => w.StreetDistrict) }); this.Completion = new EntryCompletion(); this.Completion.MinimumKeyLength = 0; this.Completion.MatchSelected += Completion_MatchSelected; this.Completion.MatchFunc = Completion_MatchFunc; var cell = new CellRendererText(); this.Completion.PackStart(cell, true); this.Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); }
public StreetEntry() { Binding = new BindingControler <StreetEntry>(this, new Expression <Func <StreetEntry, object> >[] { w => w.FiasGuid, w => w.StreetName, w => w.StreetDistrict, w => w.StreetTypeName, w => w.StreetTypeNameShort }); Completion = new EntryCompletion(); Completion.MinimumKeyLength = 0; Completion.MatchSelected += Completion_MatchSelected; Completion.MatchFunc = (completion, key, iter) => true; var cell = new CellRendererText(); Completion.PackStart(cell, true); Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); }
public TemplateWidget() { this.Build(); Binding = new BindingControler <TemplateWidget>(this, new Expression <Func <TemplateWidget, object> >[] { (w => w.Template), (w => w.ChangedDoc), }); comboTemplates.SetRenderTextFunc <IDocTemplate>(x => x.Name); worker.FileUpdated += Worker_FileUpdated; UpdateState(); UpdateSize(); CanOpenDocument = true; }
public HouseEntry() { Binding = new BindingControler <HouseEntry>(this, new Expression <Func <HouseEntry, object> >[] { w => w.FiasGuid, w => w.BuildingName }); Completion = new EntryCompletion(); Completion.MinimumKeyLength = 0; Completion.MatchSelected += Completion_MatchSelected; Completion.MatchFunc = Completion_MatchFunc; var cell = new CellRendererText(); Completion.PackStart(cell, true); Completion.SetCellDataFunc(cell, OnCellLayoutDataFunc); }
public HouseEntry() { Binding = new BindingControler<HouseEntry> (this, new Expression<Func<HouseEntry, object>>[] { (w => w.House), (w => w.OsmCompletion), (w => w.Text), (w => w.Latitude), (w => w.Longitude) }); this.Completion = new EntryCompletion (); this.Completion.MinimumKeyLength = 0; this.Completion.MatchSelected += Completion_MatchSelected; this.Completion.MatchFunc = Completion_MatchFunc; var cell = new CellRendererText (); this.Completion.PackStart (cell, true); this.Completion.SetCellDataFunc (cell, OnCellLayoutDataFunc); }
public FullAddressEntry() { this.Build (); Binding = new BindingControler<FullAddressEntry> (this, new Expression<Func<FullAddressEntry, object>>[] { (w => w.Region), (w => w.CityInDistrict), (w => w.City), (w => w.Street), (w => w.StreetInDistrict), (w => w.Binding) }); entryCity.CitySelected += (sender, e) => { entryStreet.CityId = entryCity.OsmId; }; entryStreet.StreetSelected += (sender, e) => { entryBuilding.Street = new OsmStreet (-1, entryStreet.CityId, entryStreet.Street, entryStreet.StreetDistrict); }; }
public yLabel() { Binding = new BindingControler<yLabel> (this); }
public yEntry() { Binding = new BindingControler<yEntry> (this, new Expression<Func<yEntry, object>>[] { (w => w.Text) }); }
public yImageViewer() { Binding = new BindingControler<yImageViewer> (this); }
public yEntryReference() { Binding = new BindingControler<yEntryReference> (this, new Expression<Func<yEntryReference, object>>[] { (w => w.Subject) }); }
public yCheckButton() { Binding = new BindingControler<yCheckButton> (this, new Expression<Func<yCheckButton, object>>[] { (w => w.Active) }); }