[OT] Windows Phone 7

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
 
C

Carlos

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
 
C

Carlos

--------------- 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.
 
C

Carlos

-------------------- 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 )
 
A

Arne Vajhøj

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top