Pārlūkot izejas kodu

Update 'MCW-NAS-Search.ps1'

Ethan 1 gadu atpakaļ
vecāks
revīzija
f7f4195409
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4
    4
      MCW-NAS-Search.ps1

+ 4
- 4
MCW-NAS-Search.ps1 Parādīt failu

@@ -3,20 +3,20 @@ Add-Type -AssemblyName System.Windows.Forms
3 3
 # Create form
4 4
 $form = New-Object System.Windows.Forms.Form
5 5
 $form.Text = 'File Search'
6
-$form.Size = New-Object System.Drawing.Size(300,200)
6
+$form.Size = New-Object System.Drawing.Size(500,300)  # Adjust form size here
7 7
 $form.StartPosition = 'CenterScreen'
8 8
 
9 9
 # Create label
10 10
 $label = New-Object System.Windows.Forms.Label
11 11
 $label.Location = New-Object System.Drawing.Point(10,20)
12
-$label.Size = New-Object System.Drawing.Size(280,20)
12
+$label.Size = New-Object System.Drawing.Size(480,20)  # Adjust label size here
13 13
 $label.Text = 'Enter your search query:'
14 14
 $form.Controls.Add($label)
15 15
 
16 16
 # Create textbox
17 17
 $textBox = New-Object System.Windows.Forms.TextBox
18 18
 $textBox.Location = New-Object System.Drawing.Point(10,40)
19
-$textBox.Size = New-Object System.Drawing.Size(260,20)
19
+$textBox.Size = New-Object System.Drawing.Size(460,20)  # Adjust textbox size here
20 20
 $form.Controls.Add($textBox)
21 21
 
22 22
 # Create button
@@ -49,7 +49,7 @@ $form.Controls.Add($button)
49 49
 # Create output box
50 50
 $outputBox = New-Object System.Windows.Forms.TextBox
51 51
 $outputBox.Location = New-Object System.Drawing.Point(10,100)
52
-$outputBox.Size = New-Object System.Drawing.Size(260,80)
52
+$outputBox.Size = New-Object System.Drawing.Size(460,160)  # Adjust output box size here
53 53
 $outputBox.Multiline = $true
54 54
 $outputBox.ScrollBars = 'Vertical'
55 55
 $form.Controls.Add($outputBox)

Powered by TurnKey Linux.