示例#1
0
 public AddPage()
 {
     InitializeComponent();
     db            = new DatabaseManager1("moc");
     NameEntry     = this.FindByName <Entry>("nameEntry");
     PriorityEntry = this.FindByName <Entry>("priorityEntry");
 }
示例#2
0
 public ListViewPage()
 {
     InitializeComponent();
     BindingContext = this;
     lv             = this.FindByName <ListView>("Pagunia");
     Db             = new DatabaseManager1("moc");
     SetProjects();
 }
示例#3
0
 public EditPage(string parameter)
 {
     InitializeComponent();
     db                 = new DatabaseManager1("moc");
     NameEntry          = this.FindByName <Entry>("nameEntry");
     PriorityEntry      = this.FindByName <Entry>("priorityEntry");
     oldName            = parameter;
     NameEntry.Text     = parameter;
     PriorityEntry.Text = db.GetProjectoPriorityByName(parameter).ToString();
 }