Пример #1
0
 public AddPage(int parentId)
 {
     InitializeComponent();
     pId            = parentId;
     db             = new DatabaseManager1("moc2");
     NameEntry      = this.FindByName <Entry>("nameEntry");
     NameEntry.Text = "";
 }
Пример #2
0
 public EditPage(int parameter)
 {
     InitializeComponent();
     db             = new DatabaseManager1("moc2");
     NameEntry      = this.FindByName <Entry>("nameEntry");
     id             = parameter;
     NameEntry.Text = db.FindNameById(id);
 }
Пример #3
0
 public ListViewPage()
 {
     InitializeComponent();
     BindingContext = this;
     lv             = this.FindByName <ListView>("Pagunia");
     Db             = new DatabaseManager1("moc2");
     ActiveParentId = Db.GetSavedIndex();
     SetKindas();
 }