Archives‎ > ‎AI_Tutorials‎ > ‎

Creating a chatbot 2

posted Oct 22, 2014, 6:51 AM by Leroy Dyer   [ updated Oct 26, 2014, 5:08 AM ]
Creating a GUI for the artificial intelligence is an important part of the design process. the look and feel of the app can also give you the feeling and look of a professional application.

Apples IOS UI Ideals

  • Deference. The UI helps people understand and interact with the content, but never competes with it.

  • Clarity. Text is legible at every size, icons are precise and lucid, adornments are subtle and appropriate, and a sharpened focus on functionality motivates the design.

  • Depth. Visual layers and realistic motion impart vitality and heighten people’s delight and understanding.



Creating the GUI

When creating the gui i have used a transparent gif file for my skin file.
the transparent for is achieved by new features in the form property s, although this can also leave problems with form movement also.

Additional code has been added to allow for mouse movement of the form.




   'form positioning
    '-----------------------------------------------------------------------------------------
    Private x, y As Integer
    Private newpoint As New Point
    'Form Movement
   

 ''' <summary>
    ''' This samples solves the problem for the form not being moveable.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    ''' <remarks></remarks>
    Private Sub Frm_AI_MouseDown(sender As Object, e As MouseEventArgs) Handles Me.MouseDown
        Try
            ' Form movement set integers
            x = Control.MousePosition.X - Me.Location.X
            y = Control.MousePosition.Y - Me.Location.Y
        Catch ex As Exception

        End Try
    End Sub
    
''' <summary>
    ''' This samples solves the problem for the borderless form not being moveable.
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    ''' <remarks></remarks>
    Private Sub Frm_AI_MouseMove(sender As Object, e As MouseEventArgs) Handles Me.MouseMove
        Try
            ' Form movement movement
            If e.Button = Windows.Forms.MouseButtons.Left Then
                newpoint = Control.MousePosition
                newpoint.X -= (x)
                newpoint.Y -= (y)
                Me.Location = newpoint
            End If
        Catch ex As Exception

        End Try
    End Sub
    '-----------------------------------------------------------------------------------------






Articles about AI

  • Home Automation HomeSeer includes a built-in web server, giving you access to all your devices from anywhere in the world using any web browser. The program works great if you have ...
    Posted Oct 21, 2014, 6:57 PM by Leroy Dyer
  • The conceptnet module ConceptNet 5 comes largely from the hard work of hundreds of thousands of people who gave their time and knowledge for free. So ConceptNet is free as well, released under ...
    Posted Oct 21, 2014, 6:35 PM by Leroy Dyer
  • Scripting for Conceptual Respresentation Knowledge representation Knowledge representation is crucial. One of the clearest results of artificial intelligence research so far is that solving even apparently simple problems requires lots of knowledge. Really understanding ...
    Posted Oct 21, 2014, 6:46 PM by Leroy Dyer
  • Athena Project A preview of the Athena project by Arron Snow <SNOWMAN> http://aaronwsnow.com An example of Custom AI, The Steps, The Mind-Set... Why are people so interested in AI ...
    Posted Oct 18, 2014, 6:13 AM by Leroy Dyer
  • IS A-I POSSIBLE Human intelligence involves both ``mundane'' and ``expert'' reasoning. By mundane reasoning I mean all those things which (nearly) all of us can routinely do (to various abilities) in order to ...
    Posted Oct 18, 2014, 5:08 AM by Leroy Dyer
Showing posts 1 - 5 of 5. View more »



ċ
Creating a Chatbot 2.zip
(413k)
Leroy Dyer,
Oct 22, 2014, 6:51 AM