So you want to make programs for Deneb
to start you need to have visual studio or vb.net
ok so follow these steps to make a program
1. Create a new user control named MyAppControl.vb
that's were you are designing your program
2. Create a new form named RunnerForm.vb, it must contain a panel called panel3 that the MyAppControl is running in, it must be no border and not show in taskbar, you can design it hovever you want
3. import ClassLibA.dll from the deneb debug folder, add a reference to classliba in the UIReportAddon1.vb
4. create a new class called UIReportAddon1.vb, you must put this code in it:
'Copyright © Deftware 2013-2014 Open source dll's
Imports ClassLibA
Imports System.Drawing
Public Class UIReportAddon1
Implements ClassLibA.IGraphicalAddon
#Region "GetFunctions"
Public Shared DenebLanguage As String = My.Computer.FileSystem.ReadAllText("C:\Users\Public\Deneb\language.dfw")
#End Region
#Region "Info"
Public Shared _myname As String = "Admin Test" 'The name that shows when you see it in my apps
Public Shared _version As String = "4.2.1" 'Application version
Private _tag As String = "rooting tools" 'The information given when you are in the app manager under the description collum
Private _key As String = "84gd8fDSG484dhdf8h4d554564864867646589Gsdmngiojsogisvhihnsev" 'Key for the os to see that this is a app
Private _builddate As String = "2013-12-17 23:27" 'Build date of the latest version
Private _Publisher As String = "Deftware" 'The publisher
Private _copyright As String = "Copyright © Deftware 2013-2014" 'Copyright information
Private _AppId As String = "754974" 'The app id
Private _dataSource As DataSet 'For sending data
Private _image As Image = My.Resources.cm_mediaplayer 'The icon of the app
Private _Language As String = "English" 'Supported Languages is Swedish and English
Private _admin As Boolean = False
#End Region
#Region "Return"
Public WriteOnly Property DataSource As System.Data.DataSet Implements IGraphicalAddon.DataSource
Set(ByVal value As System.Data.DataSet)
_dataSource = value
End Set
End Property
Public ReadOnly Property AppAdimn As Boolean Implements IGraphicalAddon.AppAdmin
Get
Return _admin
End Get
End Property
Public ReadOnly Property AppLanguage As String Implements IGraphicalAddon.AppLanguage
Get
Return _Language
End Get
End Property
Public ReadOnly Property AppCopyright As String Implements IGraphicalAddon.AppCopyright
Get
Return _copyright
End Get
End Property
Public ReadOnly Property Name As String Implements IGraphicalAddon.Name
Get
Return _myname
End Get
End Property
Public ReadOnly Property AppID As String Implements IGraphicalAddon.AppID
Get
Return _AppId
End Get
End Property
Public ReadOnly Property AppBuildDate As String Implements IGraphicalAddon.AppBuildDate
Get
Return _builddate
End Get
End Property
Public ReadOnly Property AppPublisher As String Implements IGraphicalAddon.AppPublisher
Get
Return _Publisher
End Get
End Property
Public ReadOnly Property AppVer As String Implements IGraphicalAddon.AppVer
Get
Return _version
End Get
End Property
Public ReadOnly Property AppKey As String Implements IGraphicalAddon.AppKey
Get
Return _key
End Get
End Property
Public ReadOnly Property AppTag As String Implements IGraphicalAddon.AppTag
Get
Return _tag
End Get
End Property
Public ReadOnly Property AppImage As Image Implements IGraphicalAddon.AppImage
Get
Return _image
End Get
End Property
#End Region
#Region "Functions"
Public Sub OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Implements IGraphicalAddon.OnClick
Dim _control As New MyAppControl
Dim _form As New RunnerForm
_form.Panel3.Controls.Add(_control)
_form.Show()
End Sub
Public Sub OnAutoStart() Implements IGraphicalAddon.OnAutoStart
Dim _control As New MyAppControl
Dim _form As New RunnerForm
_form.Panel3.Controls.Add(_control)
_form.Show()
End Sub
#End Region
End Class
5. build your program
6. install it with the dtw-get install command in the terminal in deneb
7. when you have test it you upload it and most importent of all, if you want any help or support send the code to [email protected]
and i will reply you within a weak.
OBS: you must have at least version 2.0 of deneb to run programs
version 2.0 haven't relesed yet, but it will at the 7/1/2013
so stay tuned :)
ok so follow these steps to make a program
1. Create a new user control named MyAppControl.vb
that's were you are designing your program
2. Create a new form named RunnerForm.vb, it must contain a panel called panel3 that the MyAppControl is running in, it must be no border and not show in taskbar, you can design it hovever you want
3. import ClassLibA.dll from the deneb debug folder, add a reference to classliba in the UIReportAddon1.vb
4. create a new class called UIReportAddon1.vb, you must put this code in it:
'Copyright © Deftware 2013-2014 Open source dll's
Imports ClassLibA
Imports System.Drawing
Public Class UIReportAddon1
Implements ClassLibA.IGraphicalAddon
#Region "GetFunctions"
Public Shared DenebLanguage As String = My.Computer.FileSystem.ReadAllText("C:\Users\Public\Deneb\language.dfw")
#End Region
#Region "Info"
Public Shared _myname As String = "Admin Test" 'The name that shows when you see it in my apps
Public Shared _version As String = "4.2.1" 'Application version
Private _tag As String = "rooting tools" 'The information given when you are in the app manager under the description collum
Private _key As String = "84gd8fDSG484dhdf8h4d554564864867646589Gsdmngiojsogisvhihnsev" 'Key for the os to see that this is a app
Private _builddate As String = "2013-12-17 23:27" 'Build date of the latest version
Private _Publisher As String = "Deftware" 'The publisher
Private _copyright As String = "Copyright © Deftware 2013-2014" 'Copyright information
Private _AppId As String = "754974" 'The app id
Private _dataSource As DataSet 'For sending data
Private _image As Image = My.Resources.cm_mediaplayer 'The icon of the app
Private _Language As String = "English" 'Supported Languages is Swedish and English
Private _admin As Boolean = False
#End Region
#Region "Return"
Public WriteOnly Property DataSource As System.Data.DataSet Implements IGraphicalAddon.DataSource
Set(ByVal value As System.Data.DataSet)
_dataSource = value
End Set
End Property
Public ReadOnly Property AppAdimn As Boolean Implements IGraphicalAddon.AppAdmin
Get
Return _admin
End Get
End Property
Public ReadOnly Property AppLanguage As String Implements IGraphicalAddon.AppLanguage
Get
Return _Language
End Get
End Property
Public ReadOnly Property AppCopyright As String Implements IGraphicalAddon.AppCopyright
Get
Return _copyright
End Get
End Property
Public ReadOnly Property Name As String Implements IGraphicalAddon.Name
Get
Return _myname
End Get
End Property
Public ReadOnly Property AppID As String Implements IGraphicalAddon.AppID
Get
Return _AppId
End Get
End Property
Public ReadOnly Property AppBuildDate As String Implements IGraphicalAddon.AppBuildDate
Get
Return _builddate
End Get
End Property
Public ReadOnly Property AppPublisher As String Implements IGraphicalAddon.AppPublisher
Get
Return _Publisher
End Get
End Property
Public ReadOnly Property AppVer As String Implements IGraphicalAddon.AppVer
Get
Return _version
End Get
End Property
Public ReadOnly Property AppKey As String Implements IGraphicalAddon.AppKey
Get
Return _key
End Get
End Property
Public ReadOnly Property AppTag As String Implements IGraphicalAddon.AppTag
Get
Return _tag
End Get
End Property
Public ReadOnly Property AppImage As Image Implements IGraphicalAddon.AppImage
Get
Return _image
End Get
End Property
#End Region
#Region "Functions"
Public Sub OnClick(ByVal sender As Object, ByVal e As System.EventArgs) Implements IGraphicalAddon.OnClick
Dim _control As New MyAppControl
Dim _form As New RunnerForm
_form.Panel3.Controls.Add(_control)
_form.Show()
End Sub
Public Sub OnAutoStart() Implements IGraphicalAddon.OnAutoStart
Dim _control As New MyAppControl
Dim _form As New RunnerForm
_form.Panel3.Controls.Add(_control)
_form.Show()
End Sub
#End Region
End Class
5. build your program
6. install it with the dtw-get install command in the terminal in deneb
7. when you have test it you upload it and most importent of all, if you want any help or support send the code to [email protected]
and i will reply you within a weak.
OBS: you must have at least version 2.0 of deneb to run programs
version 2.0 haven't relesed yet, but it will at the 7/1/2013
so stay tuned :)