How p1ng-p0ng/tscreen works
TScreen is a Windows desktop screen-capture utility. The user selects an on-screen region, then chooses an action in a dialog; Form1 handles the selection and action, while Form4 can display text stored in shared application state. The source excerpt shows the OCR integration commented out and assigns placeholder text instead, so OCR should not be understood as a confirmed working stage. Some capture-action details are omitted from the excerpt; the graph limits those relationships to what is evidenced.
Main entry points: Form1.cs Capture and selection · Program.cs Shared flags and text · Form3.cs Action choices · Form4.cs Text result dialog
Components 8
Application startup
- Application entry
Program.cs
Screen capture
- Capture and selection
Form1.cs - Selection overlay
Form2.cs
Capture actions
- Action choices
Form3.cs - Shared flags and text
Program.cs
Text display
- Text result dialog
Form4.cs
Other components
- User
- Windows display
Connections 9
- Application entry → Capture and selection: starts
Program.cs - User → Capture and selection: selects region
Form1.cs - Capture and selection → Windows display: captures display
Form1.cs - Capture and selection → Selection overlay: shows overlay
Form1.cs - Capture and selection → Action choices: opens choices
Form1.cs - Action choices → Shared flags and text: sets flags
Form3.cs - Capture and selection → Shared flags and text: sets text
Form1.cs - Capture and selection → Text result dialog: opens dialog
Form1.cs - Shared flags and text → Text result dialog: provides text
Form4.cs