Пример #1
0
		private LocationsBox(Builder builder)
		: base(builder.GetRawObject("locationsBox"))
		{
			builder.Autoconnect (this);
			
			locationsViewFilter.ExposeEvent += OnExposeDescriptionEntry;
		}
Пример #2
0
		private ItemEditBox(Builder builder)
		: base(builder.GetRawObject("itemEditBox"))
		{
			builder.Autoconnect (this);
			
			itemEditWeight.ValueChanged += OnItemPropertyChanged;
			itemEditWarranty.ValueChanged += OnItemPropertyChanged;
			itemEditAmount.ValueChanged += OnItemPropertyChanged;
			itemEditUsefulLife.ValueChanged += OnItemPropertyChanged;
			itemEditCost.ValueChanged += OnItemPropertyChanged;
			itemEditDepreciationMethod.Changed += OnItemPropertyChanged;
			itemEditLabelMethod.Changed += OnItemPropertyChanged;
			
			itemEditName.ExposeEvent += OnExposeDescriptionEntry;
			itemEditMemo.ExposeEvent += OnExposeDescriptionEntry;
			itemEditBarcode.ExposeEvent += OnExposeDescriptionEntry;
			itemEditBrand.ExposeEvent += OnExposeDescriptionEntry;
			itemEditModel.ExposeEvent += OnExposeDescriptionEntry;
			itemEditZip.ExposeEvent += OnExposeDescriptionEntry;
			itemEditCity.ExposeEvent += OnExposeDescriptionEntry;
			itemEditStreet.ExposeEvent += OnExposeDescriptionEntry;
			itemEditCountry.ExposeEvent += OnExposeDescriptionEntry;
			itemEditPurchase.ExposeEvent += OnExposeDescriptionEntry;
			itemEditWarranty.ExposeEvent += OnExposeDescriptionEntry;
			itemEditWeight.ExposeEvent += OnExposeDescriptionEntry;
			itemEditCost.ExposeEvent += OnExposeDescriptionEntry;
			itemEditUsefulLife.ExposeEvent += OnExposeDescriptionEntry;
			itemEditAmount.ExposeEvent += OnExposeDescriptionEntry;
		}
Пример #3
0
		private PrintDialog(Builder builder)
		: base(builder.GetRawObject("printDialog"))
		{
			builder.Autoconnect (this);
			
			pagePaddingX.ValueChanged += OnLayoutChanged;
			pagePaddingY.ValueChanged += OnLayoutChanged;
			labelRepeatX.ValueChanged += OnLayoutChanged;
			labelRepeatY.ValueChanged += OnLayoutChanged;
			labelWidth.ValueChanged += OnLayoutChanged;
			labelHeight.ValueChanged += OnLayoutChanged;
			useLabelDescription.Clicked += OnLayoutChanged;
			useLabelBarcode.Clicked += OnLayoutChanged;
			useLabelBarcodeText.Clicked += OnLayoutChanged;
			labelFont.FontSet += OnLayoutChanged;

			DeleteEvent += OnWindowDelete;
		}
Пример #4
0
 public BuilderDialog(Builder builder, string dialogName)
     : base(builder.GetRawObject (dialogName))
 {
     builder.Autoconnect (this);
     IconName = "gbrainy";
 }
Пример #5
0
        private Window(Builder builder)
            : base(builder.GetRawObject("myInventoryWindow"))
        {
            builder.Autoconnect (this);

            DeleteEvent += OnWindowDelete;
        }
Пример #6
0
		private ItemCreateBox(Builder builder)
		: base(builder.GetRawObject("itemCreateBox"))
		{
			builder.Autoconnect (this);
		}