public void boxTest() { TargettedTextBox target = new TargettedTextBox(); // TODO: Initialize to an appropriate value TextBox expected = null; // TODO: Initialize to an appropriate value TextBox actual; target.box = expected; actual = target.box; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
private void SendTextBox(TargettedTextBox ttb) { client.SendTextBox(ttb); }
public void receiveChat(TargettedTextBox ttb) { }
public void receiveTextBox(TargettedTextBox ttb) { }
public void SendTextBox(TargettedTextBox textbox) { Trace.TraceInformation("Beginning TextBox send: " + textbox.identity); Action work = delegate { wire.SendTextbox(textbox); }; tryIfConnected(work); }
public void receiveChat(TargettedTextBox ttb) { ChatAvailable(this, new ChatAvailableEventArgs { chat = ttb }); }
void IReceiveEvents.receiveTextBox(TargettedTextBox ttb) { TextBoxAvailable(this, new TextBoxAvailableEventArgs { textBox = ttb }); }
private void ReceiveTextbox(TargettedTextBox t) { if (seen.Contains(t.identity)) return; seen.Add(t.identity); RegisterAction(t.author); }
public TextBox(TargettedTextBox textBox) : this() { Box = textBox; }
private void NewTextBox(object sender, RoutedEventArgs e) { if (client != null) { var internalTextBox = new TextBox(); internalTextBox.Text = "this is a new textbox from MeTLLib"; Canvas.SetLeft(internalTextBox, 100); Canvas.SetTop(internalTextBox, 100); var newTargettedTextBox = new TargettedTextBox(client.location.currentSlide, client.username, "presentationSpace", "public", internalTextBox); client.SendTextBox(newTargettedTextBox); } }
private void receiveChatMessage(TargettedTextBox box) { var textBox = box.box; textBox.BorderThickness = new Thickness(0); if (!messageAllowed(textBox)) return; AddMessage(textBox); }
public void TargettedTextBoxConstructorTest() { TargettedTextBox target = new TargettedTextBox(); Assert.Inconclusive("TODO: Implement code to verify target"); }