Search Results

Search found 10 results on 1 pages for 'eflles'.

Page 1/1 | 1 

  • Scripting in Java

    - by eflles
    Me and some friends are writing a MORPG in Java, and we would like to use a scripting language to, eg. to create quests. We have non experience with scripting in Java. We have used Python, but we are very inexperienced with it. One of us also have used Javascript. What scripting language should we use? What scripting language should we not use?

    Read the article

  • How to create unit test for actualHeight in Silverlight 4?

    - by eflles
    How can I write a unit test to test the actualWidth property to a userControl in Silverligh 4? I hoped that this method would pass, but it fails. I am using the Silverlight ToolKit april 2010, and VS 2010. <TestMethod()> _ Public Sub TestAcrtualWidth() Me.MyUserControl.Width = 100 Me.MyUserControl.UpdateLayout() Assert.IsTrue(Me.MyUserControl.ActualWidth > 0) End Sub

    Read the article

  • How to make Event visible?

    - by eflles
    Inside a Silverlight library project I have a public event, which is not visible for other classes. How can I make the event visible? When I try the following code, I can not locate the event in the "ReceivingClass". .dll - file: Public Class MyClass Public Event MyEvent(ByVal sender As Object, ByVal e As EventArgs) Public Sub OnStart() RaiseEvent MyEvent(Me, new EventArgs) End Sub End Class Silverlight app: Imports MyClass Public Class ReceivingClass Public Sub New() Dim myClass As new MyClass AddHandler myClass.MyEvent, AddressOf Me.EventHandler End Sub Private Sub EventHandler(ByVal sender As Object, ByVal e As EventArgs) 'Handle Event End Sub End Class

    Read the article

  • How to determine if the user clicked OK or CANCEL when exiting Silverlight?

    - by eflles
    Based on http://mark.mymonster.nl/2009/02/28/integration-of-browsers-unloading-with-silverlight/ I know when the user closes a browser window containing Silverlight, by use of javascript. This basically creates a popup window, where the user can stay on the page(by clicking CANCEL), or exit the page (by clicking OK). I am interested in how I can determine if the user wants to exit the page, or continue to stay on the page.

    Read the article

  • Does the List in .NET work the same way as arraylist in Java?

    - by eflles
    When I learned Java, I was told that the arraylist works this way: It creates an array with room for 10 elements. When the 11th element is added, it is created a new list with room for 20 elements, and the 10 elements are copied into the new array. This will repeat as until there are no more elements to add, or to a maximum size. Is the List in .NET constructed the same way?

    Read the article

1