SYNTAX


public bool IsMainWindow { get; }


EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace WindowClassExamples
{
     public class WindowClassExamples : NETStrategy
     {
         Window[] win;
         
         public override void OnQuote()
         {
         win = CurrentChart.GetAllWindows();
         for(int i=0;win.Length-1>i;i++)
       {
           // All Window Class Properties
           Print(win[i].HighestPrice);
           Print(win[i].IsMainWindow);
           Print(win[i].LowestPrice);
           Print(win[i].WindowNumber);
           Print(win[i].WindowRectangle);
       }
         }
     }
}