-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
463 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
' Gambas class file | ||
|
||
|
||
Public Sub Form_Open() | ||
|
||
If Settings["Window/X"] = Null Then | ||
Me.Center | ||
Else | ||
Try Me.X = (Settings["Window/X", Me.X] - 45) | ||
Try Me.Y = (Settings["Window/Y", Me.Y] + 200) | ||
Endif | ||
Try TextBox1.Text = Settings["Cerbero/USERNAME"] | ||
Try TextBox2.Text = Settings["Cerbero/API"] | ||
End | ||
|
||
Public Sub Button3_Click() | ||
|
||
Me.Close | ||
|
||
End | ||
|
||
Public Sub Button2_Click() | ||
|
||
Settings["Cerbero/USERNAME"] = TextBox1.Text | ||
Settings["Cerbero/API"] = TextBox2.Text | ||
TextBox3.Text = VALIDATE.SendReportToServer(User.Home & "/.i-nex/VALID", "Validate", "http://i-nex.pl/", TextBox1.Text, TextBox2.Text) | ||
End | ||
|
||
Public Sub Button1_Click() | ||
|
||
Desktop.Open(TextBox3.Text) | ||
|
||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Gambas Form File 3.0 | ||
|
||
{ Form Form | ||
MoveScaled(0,0,86,17) | ||
Resizable = False | ||
{ TextBox1 TextBox | ||
MoveScaled(16,1,69,4) | ||
} | ||
{ TextBox2 TextBox | ||
MoveScaled(16,5,69,4) | ||
} | ||
{ Label1 Label | ||
MoveScaled(1,1,15,4) | ||
Font = Font["Bold,8"] | ||
Text = ("Username:") | ||
} | ||
{ Label2 Label | ||
MoveScaled(1,5,15,4) | ||
Font = Font["Bold,8"] | ||
Text = ("Private API Key:") | ||
} | ||
{ TextBox3 TextBox | ||
MoveScaled(16,9,65,4) | ||
} | ||
{ Button1 Button | ||
MoveScaled(81,9,4,4) | ||
Picture = Picture["AppIcons/applications-internet.png"] | ||
} | ||
{ Button2 Button | ||
MoveScaled(69,13,16,4) | ||
Text = ("Send") | ||
Picture = Picture["AppIcons/dialog-ok.png"] | ||
} | ||
{ Label3 Label | ||
MoveScaled(1,9,15,4) | ||
Font = Font["Bold,8"] | ||
Text = ("Link:") | ||
} | ||
{ Button3 Button | ||
MoveScaled(58,13,11,4) | ||
Text = ("Close") | ||
Picture = Picture["AppIcons/application-exit2.png"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.