
Ergebnis 1 bis 14 von 14
-
Fühle mich heimisch
- 16.10.2010, 16:50
- #1
hi,
ich habe Windows Mobile 5.0 und VS 2008.
Ich weis dass es in VC++ eine Möglichkeit gibt, eine Dialogbox zu erstellen, ist auch einfach.
Wie mache ich das unter VB für Windows Mobile.
-
entwickelt Apps
- 16.10.2010, 21:22
- #2
Falls Du einfach Text anzeigen willst, dann MessageBox.Show(...).
-
Fühle mich heimisch
- 17.10.2010, 11:51
- #3
nee nee
Ich brauche ca. 10 Knöpfe und Edit Controll.
-
entwickelt Apps
- 17.10.2010, 13:10
- #4
Dann Rechtsklick auf das VisualStudio Projetkt und 'Add - Windows Form...' wählen.
-
Fühle mich heimisch
- 17.10.2010, 15:33
- #5
thx, habs hinbekommen.
-
Fühle mich heimisch
- 23.10.2010, 13:18
- #6
in Windows Form 2 habe ich ein Textfeld, mit dem Namen notepad
in Windows Form 1 habe ich einen Kopf mit dem inhalt:
notepad.text = "test"
Leider kennt Windows Form 1 nicht notepad ?!
-
entwickelt Apps
- 23.10.2010, 15:40
- #7
in form2 eine property erstellen
Code:public string Notepad { get { return notepad.Text; } }
Code:using (Form2 form2 = new Form2) { form2.Show(); string notepad = form2.Notepad; }
-
Fühle mich heimisch
- 24.10.2010, 13:30
- #8
thx,
ok, wo bringe ich das dann meine Zeichenkette "test test" rein?
Ich verstehe nicht warum du ein;
verwendest?
Ich progge in VB für PcoketPC.
-
entwickelt Apps
- 24.10.2010, 15:18
- #9
ist c#
convert vb to csharp
Was meinst Du mit test test?
-
Fühle mich heimisch
- 24.10.2010, 17:53
- #10
ok, ich schneide einen string zusammen in Form1 z.b.:
"blabla" + "123" + "das muss ins Form2"
Das Ergebnis MUSS ins Textfeld von Form2. Sie heist notepad.text
-
entwickelt Apps
- 24.10.2010, 18:35
- #11
in form2 eine property erstellen
Code:public string Notepad { set { notepad.Text = value; } }
Code:using (Form2 form2 = new Form2) { form2.Notepad = "..."; form2.Show(); }
-
Fühle mich heimisch
- 31.10.2010, 15:06
- #12
sorry wegen der späten Antwort.
Er untersteicht mir string -> public string Notepad { set { notepad.Text = value; } }
Dann unterschreicht er mit form2 -> using (Form2 form2 = new Form2)
Gibt es keine Möglichkeit, eine Variable so anzulegen, dass ich sie über form1 und form2 angreifen kann?
-
entwickelt Apps
- 31.10.2010, 15:41
- #13
habe mal meinen Vorschlag mit
convert csharp to vb konvertiert:
in form2
Code:Public WriteOnly Property Notepad() As String Set notepad.Text = value End Set End Property
Code:Using form2 As New Form2() form2.Notepad = "..." form2.Show() End Using
-
Fühle mich heimisch
- 01.11.2010, 16:27
- #14
ok,thx
Anderer Weg
Public Class Form1
Dim gehtzurform2 as String
....jetzt kommt der Rest vom code...
Dim x = Form1.textboxergebnis.Text
notepad.Text = CStr(x)
Aber ich will die Variable gehtzurform2 gerne.
Wie mache ich das?
Ähnliche Themen
-
Einfach eigene Live-Wallpaper erstellen mit dem Live-Wallpaper Generator
Von juelu im Forum Android NewsAntworten: 7Letzter Beitrag: 29.09.2011, 19:06 -
eigene Cab erstellen
Von Clemens1 im Forum HTC HD2 InterfaceAntworten: 21Letzter Beitrag: 07.08.2010, 05:52 -
Eigene Wallpaper erstellen?
Von p4nik im Forum Motorola Milestone Root / ROMAntworten: 4Letzter Beitrag: 30.07.2010, 14:53 -
Eigene Programmicons erstellen?!
Von picxar im Forum HTC HD2 InterfaceAntworten: 0Letzter Beitrag: 17.02.2010, 18:44 -
Eigene Themen erstellen
Von alfi im Forum Qtek Forum (PPC)Antworten: 1Letzter Beitrag: 15.05.2006, 11:17
Pixel 10 Serie mit Problemen:...