コード例 #1
0
 private static void OnContextActionsIconChanged(RoslynCodeEditor editor, CommonPropertyChangedArgs <ImageSource> args)
 {
     if (editor._contextActionsRenderer != null)
     {
         editor._contextActionsRenderer.IconImage = args.NewValue;
     }
 }
コード例 #2
0
ファイル: MainWindow.g.i.cs プロジェクト: asralung/net4log
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
                this.Editor = ((RoslynPad.Editor.RoslynCodeEditor)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.Editor.Loaded += new System.Windows.RoutedEventHandler(this.OnItemLoaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }