public string[] Get_Current_Orders(bool Require_Show_Tab = false)
        {
            if (Nest_Trader_Form.Windows_Network_Class_Instance.Nest_Trader_Outdated)
            {
                return(null);
            }
            try
            {
                IntPtr Open_Orders_Tab = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Form_Handle_By_Process_Id(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, "Trade Book");
                Windows_Api_Class.RECT New_Window_Rect = new Windows_Api_Class.RECT();
                Windows_Api_Class.GetWindowRect(Open_Orders_Tab, ref New_Window_Rect);
                Nest_Trader_Form.Windows_Api_Class_Instance.Window_Visible_Flag(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, Open_Orders_Tab);

                while (((int)Open_Orders_Tab < 1) || (!Nest_Trader_Form.Windows_Api_Class_Instance.Window_Visible_Flag(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, Open_Orders_Tab) && Require_Show_Tab)) // || Nest_Trader_Form.Windows_Handler_Clas_Instances.GetPlacement(Open_Orders_Tab).showCmd == Windows_Handler_Class.ShowWindowCommands.Hide)
                {
                    Nest_Trader_Form.Windows_Keyboard_Class_Instance.Send_Keys_To_Window_By_Handle(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Id, "{F8}");
                    Open_Orders_Tab = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Form_Handle_By_Process_Id(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, "Trade Book");

                    if (!Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Run(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id))
                    {
                        return(null);
                    }
                }

                IntPtr Open_Orders_DGV = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Child_By_Index(Open_Orders_Tab, 0);

                for (int Get_Orders_Cnt = 0; Get_Orders_Cnt < 3; Get_Orders_Cnt++)
                {
                    string[] File_Orders_Array = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_All_Element_Text_Lines(Open_Orders_DGV);

                    if (File_Orders_Array != null)
                    {
                        return(File_Orders_Array);
                    }
                }
            }
            catch (Exception A)
            {
            }

            Thread.Sleep(100);

            return(null);
        }
        public string[] Get_Rms_Orders(bool Require_Show_Tab = false)
        {
            if (Nest_Trader_Form.Windows_Network_Class_Instance.Nest_Trader_Outdated)
            {
                return(null);
            }
            try
            {
                IntPtr RMS_Orders_Tab = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Form_Handle_By_Process_Id(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, "RMS View Limits");
                Windows_Api_Class.RECT New_Window_Rect = new Windows_Api_Class.RECT();
                Windows_Api_Class.GetWindowRect(RMS_Orders_Tab, ref New_Window_Rect);

                while ((int)RMS_Orders_Tab < 1 || (!Nest_Trader_Form.Windows_Api_Class_Instance.Window_Visible_Flag(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, RMS_Orders_Tab) && Require_Show_Tab))
                {
                    Nest_Trader_Form.Windows_Keyboard_Class_Instance.Send_Keys_To_Window_By_Handle(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Id, "^+{v}");
                    Thread.Sleep(5 * 1000);

                    RMS_Orders_Tab = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Form_Handle_By_Process_Id(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id, "RMS View Limits");

                    if (!Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Run(Nest_Trader_Form.Nest_Trader_Form_Instance.Nest_Trader_Process_Id))
                    {
                        return(null);
                    }
                }

                IntPtr RMS_All_Clients_Btn = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Child_By_Index(RMS_Orders_Tab, 0);

                if (!Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Windows_Title_By_Handle(RMS_All_Clients_Btn).Contains("Show All Clients"))
                {
                    Nest_Trader_Form.Windows_Keyboard_Class_Instance.Send_Keys_To_Window_By_Handle(RMS_All_Clients_Btn, "{Down}", 3);
                }

                IntPtr RMS_Orders_DGV = Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_Child_By_Index(RMS_Orders_Tab, 41);

                return(Nest_Trader_Form.Windows_Handler_Clas_Instances.Get_All_Element_Text_Lines(RMS_Orders_DGV));
            }
            catch (Exception A)
            {
            }

            return(null);
        }