Advanced Forum Search Results
-
I think you must use on central server with IIES and maybe small database. To contribute state of each player you may use webservice and save it in databas ( SQL). For webgame Silverlight will be goood with Farseer Physics for real world animation. I don't think that Silverlight give you peer to peer connection. You must remember about ...
-
I don't know how we cant do it by XAML. But in managed code you can add public function AddItem and use it in Page.cs
Page.xaml
<Canvas x:Name="parentCanvas"xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Loaded="Page_Loaded" ...
-
file.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;namespace Mousetest
{
public partial class Page : Canvas
{bool leftdown = ...
-
I found the same problem. If I wrote something from Silverlligth 1.1 by webservice to SQL Server 2005 base and send back by webservice to Silverlight application when font problem is ! For instance Polish special font aren't correct in Firefox but all right in IE. Is method to use in firefox special applet which can use IE inside FF to ...
-
it's not possible on server. Only method is use Webservice on server to write or create directores on server. You use call Webservice from Silverlight. Look at Silverlight like program run only on Client machine like java or javascript.
-
maybe you png file has wrong user access. Other when local another when by http.
Another idea is that the png format is really wrong. Create png file using Paint.Net
-
I use slwsdl /silverlightClient "http://mydomain/myaspwebservice/service.asmx"
it's generate service.cs file and the file I copy to Silverligth directory and add in VS to Silverlight project. that all
-
It's work on IE but don't work on Firefox. Maybe it's problem of Firefox and Microsoft WebService (IIES 6.0) ?
-
Because you found two problems. First is problem that if your text has spaces that the ActualWidth made a mistake and gives Width to first space. And you must do code for sum all chars widths in your string (use temp TextBlock). Second is better create user control ( look at Learn Quick Start ) and put created dll to ref of your ...
-
Create your UserControl
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace TextBoxResize
{
public class ...