Exemple #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "")
     {
         Elist2 = Elist.Filter(textBox1.Text, Elist);
         update2(Elist2);
     }
     else
     {
         update(Elist);
     }
 }
Exemple #2
0
 private void update2(Classes.EventsList listi)
 {
     Cleare();
     //ROW
     String[] row;
     if (listi.list != null)
     {
         foreach (Classes.Events ev in listi.list)
         {
             row = ev.GetRowStrig();
             ListViewItem item = new ListViewItem(row);
             EventsListView.Items.Add(item);
         }
     }
 }
Exemple #3
0
 public Calendar(SportmwnsList s)
 {
     InitializeComponent();
     slist = s;
     EventsListView.View          = View.Details;
     EventsListView.FullRowSelect = true;
     Cleare();
     if (Elist != null)
     {
         update(Elist);
     }
     ComboboxValues();
     if (Elist == null)
     {
         Elist = new Classes.EventsList();
     }
     Elist = Elist.Open();
     update(Elist);
 }