protected override void OnCreateControl()
        {
            base.OnCreateControl();

            if (!_isLoaded)
            {
                _isLoaded = true;
                Ocx       = this.GetOcx() as dynamic;
                OnControlLoaded?.Invoke(Ocx);
            }
        }
 private void EdrawingView_OnControlLoaded(dynamic obj)
 {
     OnControlLoaded?.Invoke(obj);
 }
Пример #3
0
 private void Host_OnControlLoaded(dynamic obj)
 {
     Ctrl = obj;
     OnControlLoaded?.Invoke(obj);
 }