diff options
| author | EverythingWindows <[email protected]> | 2022-11-13 15:15:05 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-13 15:15:05 +0700 |
| commit | 54355f9686a5a07f27de5cd3444b87509df2fd2f (patch) | |
| tree | 91c65a8cd41f21c290835bf5118eafbc5299a3f8 /ShiftOS-TheRevival/MainForms/DebugWindow.vb | |
| parent | 6f1a5bfa56fc68853ae150a065950714f490a7f0 (diff) | |
| download | shiftos-therevival-old-54355f9686a5a07f27de5cd3444b87509df2fd2f.tar.gz shiftos-therevival-old-54355f9686a5a07f27de5cd3444b87509df2fd2f.tar.bz2 shiftos-therevival-old-54355f9686a5a07f27de5cd3444b87509df2fd2f.zip | |
Changed from Environment.NewLine to dedicated NewLine module thoroughly, Fixing a bug on always asks for update, Slowly migrating from full Terminal-dependant to Console-based
Diffstat (limited to 'ShiftOS-TheRevival/MainForms/DebugWindow.vb')
| -rw-r--r-- | ShiftOS-TheRevival/MainForms/DebugWindow.vb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/MainForms/DebugWindow.vb b/ShiftOS-TheRevival/MainForms/DebugWindow.vb new file mode 100644 index 0000000..e9f4f0b --- /dev/null +++ b/ShiftOS-TheRevival/MainForms/DebugWindow.vb @@ -0,0 +1,13 @@ +Public Class DebugWindow + + Public ShouldDebug As Boolean + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + Clipboard.SetText(TextBox1.Text) + End Sub + + Public Sub AddLine(subs As String, int As String, str As String, action As String) + If ShouldDebug = True Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & subs & " Sub with " & str & " string and " & int & " integer did " & action + End If + End Sub +End Class
\ No newline at end of file |
