Esempio n. 1
0
 private void AddView(ViewLifetimeControl viewControl)
 {
     lock (_collectionLock)
     {
         App.LogService.Write($"Adding view: {viewControl.Id}");
         SecondaryViews.Add(viewControl);
     }
     ViewAdded?.Invoke(this, new ViewLifetimeControlEventArgs()
     {
         ViewControl = viewControl
     });
 }
Esempio n. 2
0
 internal void SendViewAdded(View view)
 {
     ViewAdded?.Invoke(view, EventArgs.Empty);
 }
Esempio n. 3
0
 public static void OnViewAdded(RavenhillViewType type)
 {
     ViewAdded?.Invoke(type);
 }
Esempio n. 4
0
 private void AddViewButtonClicked(object sender, ClickedEventArgs args)
 {
     ViewAdded?.Invoke(objectView, new EventArgs());
 }