Пример #1
0
 public void DisplayProcedure(Procedure proc)
 {
     if (proc == null)
     {
         return;
     }
     ShowWindow("codeViewerWindow", "Code Viewer", pane);
     pane.DisplayProcedure(proc);
 }
Пример #2
0
 public void DisplayProcedure(Program program, Procedure proc)
 {
     if (proc == null)
         return;
     var pane = new CodeViewerPane();
     var frame = ShowWindow("codeViewerWindow", proc.Name, proc, pane);
     pane.FrameWindow = frame;
     pane.DisplayProcedure(program, proc);
 }
Пример #3
0
        public void DisplayProcedure(Program program, Procedure proc)
        {
            if (proc == null)
            {
                return;
            }
            var frame = ShowWindow("codeViewerWindow", proc.Name, proc, pane);

            pane.FrameWindow = frame;
            pane.DisplayProcedure(program, proc);
        }