Beispiel #1
0
		public static void AddTo(Generator g)
		{
			// Drawing
			g.Add<IBitmap>(() => new BitmapHandler());
			g.Add<IFontFamily>(() => new FontFamilyHandler());
			g.Add<IFont>(() => new FontHandler());
			//g.Add<IFonts>(() => new FontsHandler());
			g.Add<IGraphics>(() => new GraphicsHandler());
			g.Add<IGraphicsPathHandler>(() => new GraphicsPathHandler());
			//g.Add<IIcon>(() => new IconHandler());
			//g.Add<IIndexedBitmap>(() => new IndexedBitmapHandler());
			g.Add<IMatrixHandler>(() => new MatrixHandler());
			g.Add<IPen>(() => new PenHandler());
			g.Add<ISolidBrush>(() => new SolidBrushHandler());
			//g.Add<ITextureBrush>(() => new TextureBrushHandler());
			g.Add<ILinearGradientBrush>(() => new LinearGradientBrushHandler());

			// Forms.Cells
			//g.Add <ICheckBoxCell> (() => new CheckBoxCellHandler ());
			//g.Add <IComboBoxCell> (() => new ComboBoxCellHandler ());
			//g.Add<IImageTextCell>(() => new ImageTextCellHandler());
			//g.Add <IImageViewCell> (() => new ImageViewCellHandler ());
			g.Add<ITextBoxCell>(() => new TextBoxCellHandler());

			// Forms.Controls
			g.Add<IButton>(() => new ButtonHandler());
			//g.Add<ICheckBox>(() => new CheckBoxHandler());
			//g.Add<IComboBox>(() => new ComboBoxHandler());
			//g.Add <IDateTimePicker> (() => new DateTimePickerHandler ());
			//g.Add<IDrawable>(() => new DrawableHandler());
			g.Add<IGridColumn>(() => new GridColumnHandler());
			g.Add<IGridView>(() => new GridViewHandler());
			//g.Add <IGroupBox> (() => new GroupBoxHandler ());
			//g.Add<IImageView>(() => new ImageViewHandler());
			g.Add<ILabel>(() => new LabelHandler());
			//g.Add<IListBox>(() => new ListBoxHandler());
			//g.Add<INumericUpDown>(() => new NumericUpDownHandler());
			g.Add<IPanel>(() => new PanelHandler());
			//g.Add<IPasswordBox>(() => new PasswordBoxHandler());
			//g.Add<IProgressBar>(() => new ProgressBarHandler());
			//g.Add<IRadioButton>(() => new RadioButtonHandler());
			g.Add<IScrollable>(() => new ScrollableHandler());
			g.Add<ISearchBox>(() => new SearchBoxHandler());
			//g.Add<ISlider>(() => new SliderHandler());
			g.Add<ISpinner>(() => new SpinnerHandler());
			//g.Add<ISplitter>(() => new SplitterHandler());
			//g.Add <ITabControl> (() => new TabControlHandler ());
			//g.Add <ITabPage> (() => new TabPageHandler ());
			//g.Add<ITextArea>(() => new TextAreaHandler());
			g.Add<ITextBox>(() => new TextBoxHandler());
			//g.Add<ITreeGridView>(() => new TreeGridViewHandler());
			//g.Add <ITreeView> (() => new TreeViewHandler ());
			//g.Add<IWebView>(() => new WebViewHandler());
			//g.Add<INavigation>(() => new NavigationHandler());

			// Forms.Menu
			//g.Add <ICheckMenuItem> (() => new CheckMenuItemHandler ());
			//g.Add <IContextMenu> (() => new ContextMenuHandler ());
			//g.Add <IImageMenuItem> (() => new ImageMenuItemHandler ());
			//g.Add <IMenuBar> (() => new MenuBarHandler ());
			//g.Add <IRadioMenuItem> (() => new RadioMenuItemHandler ());
			//g.Add <ISeparatorMenuItem> (() => new SeparatorMenuItemHandler ());

			// Forms.Printing
			//g.Add <IPrintDialog> (() => new PrintDialogHandler ());
			//g.Add <IPrintDocument> (() => new PrintDocumentHandler ());
			//g.Add <IPrintSettings> (() => new PrintSettingsHandler ());

			// Forms.ToolBar
			//g.Add <ICheckToolBarButton> (() => new CheckToolBarButtonHandler ());
			//g.Add <ISeparatorToolBarItem> (() => new SeparatorToolBarItemHandler ());
			//g.Add <IToolBarButton> (() => new ToolBarButtonHandler ());
			//g.Add <IToolBar> (() => new ToolBarHandler ());

			// Forms
			g.Add<IApplication>(() => new ApplicationHandler());
			//g.Add <IClipboard> (() => new ClipboardHandler ());
			//g.Add <IColorDialog> (() => new ColorDialogHandler ());
			//g.Add <ICursor> (() => new CursorHandler ());
			//g.Add<IDialog>(() => new DialogHandler());
			//g.Add <IFontDialog> (() => new FontDialogHandler ());
			g.Add<IForm>(() => new FormHandler());
			//g.Add<IMessageBox>(() => new MessageBoxHandler());
			//g.Add <IOpenFileDialog> (() => new OpenFileDialogHandler ());
			//g.Add<IPixelLayout>(() => new PixelLayoutHandler());
			//g.Add <ISaveFileDialog> (() => new SaveFileDialogHandler ());
			//g.Add <ISelectFolderDialog> (() => new SelectFolderDialogHandler ());
			g.Add<ITableLayout>(() => new TableLayoutHandler());
			//g.Add<IUITimer>(() => new UITimerHandler());

			// IO
			//g.Add <ISystemIcons> (() => new SystemIconsHandler ());

			// General
			//g.Add<IEtoEnvironment>(() => new EtoEnvironmentHandler());
		}
Beispiel #2
0
		public static void AddTo(Generator generator)
		{
		}