Sorry for my bad English.. I'm programming in Ironpython a WPF Apllication. I want to storage the number, which is in self.nummer.Text, in the variable a[1]. how can i do this? this don't work(list):
def __init__(self):
wpf.LoadComponent(self, 'WpfApplication1.xaml')
self.mitarbeiter.Content=1
array = [0,0,0,0,0,0,0,0,0,0,0,0]
def eingabe(self, sender, e):
for x in range(1,13):
a = self.nummer.Text
self.tt.Content = a
and this also don't work (arrays):
import wpf
from Window1 import *
from System import Array
from System.Windows import Application, Window
class MyWindow(Window):
def __init__(self):
wpf.LoadComponent(self, 'WpfApplication1.xaml')
self.mitarbeiter.Content=1
array = Array[int]((0,0,0,0,0,0,0,0,0,0,0,0))
def eingabe(self, sender, e):
for x in range(1,13):
array[x] = self.nummer.Text
self.tt.Content = array[x]
can anybody help me?