Ejemplo n.º 1
0
 public static AutocompleteBehavior Create(Type filePathBehaviorSourceType, IEditorsHost host)
 {
     return((AutocompleteBehavior)Behavior.Create(typeof(AutocompleteBehavior), filePathBehaviorSourceType, new object[1]
     {
         (object)host
     }));
 }
		public FilterAspectForBindingSource(IDataBindingSource ds, IEditorsHost eh, BarManager bm){
			_ds = ds;
			_barManager = bm;
			_popup = new PopupControlContainer();
			_fc = new FieldExpressionControl();
			_popup.Controls.Add(_fc);
			_fc.Dock = DockStyle.Fill;

			//weak event
			_fc.OnCancel += (s, e) =>
			{
				_popupCloseKind = PopupCloseKind.Cancel;
				_popup.HidePopup();
			};
			//weak event
			_fc.OnOk += (s, e) =>
			{
				_popupCloseKind = PopupCloseKind.Confirm;
				_popup.HidePopup();
			};

			_fc.filterEditorControl.FilterControl.BeforeShowValueEditor += showvalueEditor_handler;

			_popup.CloseUp += popup_CloseUp;
		}
Ejemplo n.º 3
0
 private void start(IEditorsHost eh)
 {
     _editorsHost = eh;
     if (_editorsHost != null && _editorsHost.FormSupport != null)
     {
         _editorsHost.FormSupport.AddBindingSource(this);
     }
 }
Ejemplo n.º 4
0
 private void start(IEditorsHost eh)
 {
     _editorsHost = eh;
     if (_editorsHost != null && _editorsHost.FormSupport != null)
     {
         _editorsHost.FormSupport.AddBindingSource(this);
     }
     CurrentChanged += handleCurrentChanged;
 }
 public FilterAspectForBindingSource(IDataBindingSource ds, IEditorsHost eh, BarManager bm)
 {
     _ds             = ds;
     _barManager     = bm;
     _popup          = new PopupControlContainer();
     _popup.CloseUp += popup_CloseUp;
     // _fc will be done when needed
     _fc = null;
     _eh = eh;
 }
Ejemplo n.º 6
0
 public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm) : base(eh)
 {
     start(bm);
 }
Ejemplo n.º 7
0
 public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm, IContainer c) : base(eh, c)
 {
     start(bm);
 }
Ejemplo n.º 8
0
 public FilterGridBindingSource(IEditorsHost eh, BarManager bm) : base(eh)
 {
     start(bm);
 }
Ejemplo n.º 9
0
		public DataLayoutBindingSource(IEditorsHost eh) : base() { start(eh); }
Ejemplo n.º 10
0
		public GridBindingSource(IEditorsHost eh) : base() { start(eh); }
Ejemplo n.º 11
0
 public DataLayoutBindingSource(IEditorsHost eh) : base()
 {
     start(eh);
 }
Ejemplo n.º 12
0
 public GridBindingSource(IEditorsHost eh, object o, string s) : base(o, s)
 {
     start(eh);
 }
		public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm, IContainer c) : base(eh, c) { start(bm); }
Ejemplo n.º 14
0
 public GridBindingSource(IEditorsHost eh) : base()
 {
     start(eh);
 }
Ejemplo n.º 15
0
 public GridBindingSource(IEditorsHost eh, IContainer c) : base(c)
 {
     start(eh);
 }
Ejemplo n.º 16
0
		public DataLayoutBindingSource(IEditorsHost eh, object o, string s) : base(o, s){ start(eh); }
Ejemplo n.º 17
0
 public DataLayoutBindingSource(IEditorsHost eh, object o, string s) : base(o, s)
 {
     start(eh);
 }
Ejemplo n.º 18
0
 public DataLayoutBindingSource(IEditorsHost eh, IContainer c) : base(c)
 {
     start(eh);
 }
Ejemplo n.º 19
0
 public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm, object o, string s) : base(eh, o, s)
 {
     start(bm);
 }
Ejemplo n.º 20
0
		public GridBindingSource(IEditorsHost eh, object o, string s) : base(o, s){ start(eh); }
		public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm) : base(eh) { start(bm); }
Ejemplo n.º 22
0
		public DataLayoutBindingSource(IEditorsHost eh, IContainer c) : base(c){ start(eh); }
		public FilterDataLayoutBindingSource(IEditorsHost eh, BarManager bm, object o, string s) : base(eh, o, s) { start(bm); }
Ejemplo n.º 24
0
		public FilterGridBindingSource(IEditorsHost eh, BarManager bm) : base(eh) { start(bm); }
Ejemplo n.º 25
0
		public GridBindingSource(IEditorsHost eh, IContainer c) : base(c){ start(eh); }
Ejemplo n.º 26
0
		private void start(IEditorsHost eh)
		{
			_editorsHost = eh;
			CurrentChanged += handleCurrentChanged;
		}
Ejemplo n.º 27
0
		private void start(IEditorsHost eh)
		{
			_editorsHost = eh;
			ListChanged += handleListItemChanged;
		}
Ejemplo n.º 28
0
 public AutocompleteBehavior(Type filePathBehaviorSourceType, IEditorsHost host) : base(filePathBehaviorSourceType)
 {
     throw new NotImplementedException();
 } // , iconSize , defaultImage , invalidPathImage , mode , filter ) {}