예제 #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (TypeInput == 1)
     {
         ThreadView.GetInstance().UpdateContentTextbox(((Button)sender).Tag.ToString());
     }
     else if (TypeInput == 2)
     {
         MessageView.GetInstance().UpdateContentTextbox(((Button)sender).Tag.ToString());
     }
     else if (TypeInput == 3)
     {
         ListThreadView.GetInstance().UpdateContentTextbox(((Button)sender).Tag.ToString());
     }
 }
예제 #2
0
 public void NavigateManager(string url)
 {
     if (url.Contains("{Image}"))
     {
     }
     else if (url.Contains("{Url}"))
     {
         string urlResponse = url.Replace("{Url}", string.Empty);
         MessageView.GetInstance().OpenBrowser(urlResponse);
     }
     else if (url.Contains("{Url-Quote-"))
     {
         MessageView.GetInstance().DisplayPopupPostMessage();
     }
 }