#include <GUIConstantsEx.au3>
GUICreate('', 200, 200)
; Вариант 1
GUICtrlCreateGraphic(20, 20, 160, 160)
GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xFF0004)
GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 90, 0)
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 90, 160)
GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, 90)
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 160, 90)
; Вариант 2
GUICtrlSetDefBkColor(0x0008FF)
GUICtrlCreateLabel('', 20, 100, 160, 1)
GUICtrlCreateLabel('', 98, 20, 4, 160)
GUISetState()
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE