[OT] Windows Phone 7

  • Thread starter Thread starter Carlos
  • Start date Start date
C

Carlos

Hi group,

In order to run properly Visual Studio with
Windows Phone 7, you are obligated, --I believe--, to do

right click on Visual Studio shortcut, Run As Administrator
otherwise it can be very difficult to debug or run your programs
on the Emulator
 
Another comment:

I am learning to develop Win Phon 7 apps.

I can be wrong, but I think that
Controls does not use anymore Left, Top properties
but margin properties.

xaml:
<Label Margin="0,10,20,30" Background="Aqua" > 0,10,20,30 </Label>

cs:
new Margin(5,5,5,5);

etc,etc
 
--------------- Override OnPaint --------------

Override OnPaint( ) fails if you want to use it as usual for Form.

I can be wrong:

It cannot be used unless you add a controls container, like Canvas, etc.
and of course it can be used for child controls, etc.

Forms of System.Windows.Forms.Form are replaced by
System.Windows.Window

-------------------- Close( ) .............................

I insist, I can be wrong:
there is no a method like this.Close( ) on Win Phone apps.
nor Exit()., etc

................................ DllImport .........................
there is nothing of this, it is present the

System.Runtime.InteropServices namespace

but I dont know why.
 
-------------------- Close( ) .............................

I insist, I can be wrong:
there is no a method like this.Close( ) on Win Phone apps. nor Exit().,
etc

I have just read that there is a class for this, but it "navigates"

System.Windows.Navigation.NavigationService

GoBack()
Navigates to the most recent entry in the back navigation history, or throws
an exception if no entry exists in back navigation.
GoForward Method()
Navigate( uri )
 
In order to run properly Visual Studio with Windows Phone 7, you are
obligated, --I believe--, to do

right click on Visual Studio shortcut, Run As Administrator
otherwise it can be very difficult to debug or run your programs
on the Emulator

A quick googling indicates that many other have had to do that.

Arne
 
Back
Top