Esempio n. 1
0
 private void ViewDetail()
 {
     if (DetailView != null)
     {
         if (DetailView.Visible == false)
         {
             DetailView.Visible = true;
             DetailView.UpdateData(MakeExchange());
         }
         else
         {
             DetailView.Visible = false;
         }
     }
     else
     {
         DetailView = new CookDetailView(this, MakeExchange(), lbFavResult);
         DetailView.Show();
     }
 }
Esempio n. 2
0
 private void ViewDetail()
 {
     if (DetailView != null)
     {
         if (DetailView.Visible == false)
         {
             DetailView.Visible = true;
             DetailView.UpdateData(MakeExchange());
         }
         else DetailView.Visible = false;
     }
     else
     {
         DetailView = new CookDetailView(this, MakeExchange(), lbFavResult);
         DetailView.Show();
     }
 }