Ejemplo n.º 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     // TextBoxer.Text
     if (TupleDataClass.OMightyDict.TryGetValue(TupleDataClass.CurrentlySelected.ID, out var x))
     {
         x.Add(new ThreadItemViewModel
         {
             SendersName        = "ME",
             TwoLetters         = "ME",
             ProfilePicColorRGB = "green",
             Message            = TextBoxer.Text,
             SentByMe           = true
         });
         TupleDataClass.OMightyDict[TupleDataClass.CurrentlySelected.ID] = x;
     }
     else
     {
         MessageBox.Show("Oh no");
     }
     TupleDataClass.Refresher();
 }
Ejemplo n.º 2
0
 public void OpenMessage()
 {
     TupleDataClass.CurrentlySelectedChanger(this);
     TupleDataClass.Refresher();
 }