1 write to _events
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
71
_events
= new EventHandlerList();
42 references to _events
System.Windows.Forms.Design (42)
System\ComponentModel\Design\DesignerHost.cs (42)
220
(
_events
[s_eventComponentAdding] as ComponentEventHandler)?.Invoke(containerToAddTo, ce);
300
(
_events
[s_eventComponentAdded] as ComponentEventHandler)?.Invoke(containerToAddTo, ce);
481
_events
.Dispose();
552
(
_events
[eventobj] as EventHandler)?.Invoke(this, EventArgs.Empty);
578
(
_events
[s_eventComponentRename] as ComponentRenameEventHandler)?.Invoke(this, new ComponentRenameEventArgs(component, oldName, newName));
584
private void OnLoadComplete(EventArgs e) => (
_events
[s_eventLoadComplete] as EventHandler)?.Invoke(this, e);
590
(
_events
[s_eventTransactionClosed] as DesignerTransactionCloseEventHandler)?.Invoke(this, e);
596
(
_events
[s_eventTransactionClosing] as DesignerTransactionCloseEventHandler)?.Invoke(this, e);
602
(
_events
[s_eventTransactionOpened] as EventHandler)?.Invoke(this, e);
608
(
_events
[s_eventTransactionOpening] as EventHandler)?.Invoke(this, e);
642
ComponentEventHandler? eh =
_events
[s_eventComponentRemoving] as ComponentEventHandler;
684
ComponentEventHandler? eh =
_events
[s_eventComponentRemoved] as ComponentEventHandler;
808
add =>
_events
.AddHandler(s_eventComponentAdded, value);
809
remove =>
_events
.RemoveHandler(s_eventComponentAdded, value);
814
add =>
_events
.AddHandler(s_eventComponentAdding, value);
815
remove =>
_events
.RemoveHandler(s_eventComponentAdding, value);
820
add =>
_events
.AddHandler(s_eventComponentChanged, value);
821
remove =>
_events
.RemoveHandler(s_eventComponentChanged, value);
826
add =>
_events
.AddHandler(s_eventComponentChanging, value);
827
remove =>
_events
.RemoveHandler(s_eventComponentChanging, value);
832
add =>
_events
.AddHandler(s_eventComponentRemoved, value);
833
remove =>
_events
.RemoveHandler(s_eventComponentRemoved, value);
838
add =>
_events
.AddHandler(s_eventComponentRemoving, value);
839
remove =>
_events
.RemoveHandler(s_eventComponentRemoving, value);
844
add =>
_events
.AddHandler(s_eventComponentRename, value);
845
remove =>
_events
.RemoveHandler(s_eventComponentRename, value);
852
(
_events
[s_eventComponentChanged] as ComponentChangedEventHandler)?.Invoke(
862
(
_events
[s_eventComponentChanging] as ComponentChangingEventHandler)?.Invoke(this, new ComponentChangingEventArgs(component, member));
884
add =>
_events
.AddHandler(s_eventActivated, value);
885
remove =>
_events
.RemoveHandler(s_eventActivated, value);
890
add =>
_events
.AddHandler(s_eventDeactivated, value);
891
remove =>
_events
.RemoveHandler(s_eventDeactivated, value);
896
add =>
_events
.AddHandler(s_eventLoadComplete, value);
897
remove =>
_events
.RemoveHandler(s_eventLoadComplete, value);
902
add =>
_events
.AddHandler(s_eventTransactionClosed, value);
903
remove =>
_events
.RemoveHandler(s_eventTransactionClosed, value);
908
add =>
_events
.AddHandler(s_eventTransactionClosing, value);
909
remove =>
_events
.RemoveHandler(s_eventTransactionClosing, value);
914
add =>
_events
.AddHandler(s_eventTransactionOpened, value);
915
remove =>
_events
.RemoveHandler(s_eventTransactionOpened, value);
920
add =>
_events
.AddHandler(s_eventTransactionOpening, value);
921
remove =>
_events
.RemoveHandler(s_eventTransactionOpening, value);