Exemplo n.º 1
0
 // Constructor to build a new XcoQueue in local space.
 public SQueue(XcoSpace space, string name)
 {
     this.space = space;
     this.queue = new XcoQueue <T>(1000);
     this.count = new XcoQueue <int>(1000);
     this.space.Add(this.queue, name);
     this.space.Add(this.count, name + "Notify");
 }
Exemplo n.º 2
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void nesterCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " zusammengestellt" + Environment.NewLine); }));
 }
Exemplo n.º 3
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void bemalteEierNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label2.Text = (System.Convert.ToInt32(label2.Text) + entry).ToString(); }));
 }
Exemplo n.º 4
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void bemalteEierCB(XcoQueue<Ei> source, Ei entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " bemalt" + Environment.NewLine); }));
 }
Exemplo n.º 5
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void ausgeliefertNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label5.Text = (System.Convert.ToInt32(label5.Text) + entry).ToString(); }));
 }
Exemplo n.º 6
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void ausgeliefertCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " ausgeliefert" + Environment.NewLine); }));
 }
Exemplo n.º 7
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void schokoHasenNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label3.Text = (System.Convert.ToInt32(label3.Text) + entry).ToString(); }));
 }
Exemplo n.º 8
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void schokoHasenCB(XcoQueue<SchokoHase> source, SchokoHase entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " produziert" + Environment.NewLine); }));
 }
Exemplo n.º 9
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void ausgeliefertCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " ausgeliefert" + Environment.NewLine); }));
 }
Exemplo n.º 10
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void nesterNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label4.Text = (System.Convert.ToInt32(label4.Text) + entry).ToString(); }));
 }
Exemplo n.º 11
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void nesterCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " zusammengestellt" + Environment.NewLine); }));
 }
Exemplo n.º 12
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void schokoHasenCB(XcoQueue<SchokoHase> source, SchokoHase entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " produziert" + Environment.NewLine); }));
 }
Exemplo n.º 13
0
Arquivo: Form1.cs Projeto: eier/sbc
 private void bemalteEierCB(XcoQueue<Ei> source, Ei entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " bemalt" + Environment.NewLine); }));
 }
Exemplo n.º 14
0
 // Constructor using container discovery.
 public SQueue(XcoSpace space, string name, Uri remote_space_uri)
 {
     this.space = space;
     this.queue = space.Get <XcoQueue <T> >(name, remote_space_uri);
     this.count = space.Get <XcoQueue <int> >(name + "Notify", remote_space_uri);
 }