protected virtual void OnSelectedIndexChanged(SelectedIndexChangedEventArgs e)
 {
     if (SelectedIndexChanged != null)
         SelectedIndexChanged(this, e);
 }
示例#2
0
 private void NeoTabWindow1_SelectedIndexChanged(object sender, SelectedIndexChangedEventArgs e)
 {
     if (neoTabWindow1.SelectedIndex == 0)
     {
         reportBtn.Show();
         incomeBtn.Hide();
         spendBtn.Hide();
         detailBtn.Hide();
     }
     else if (neoTabWindow1.SelectedIndex == 1)
     {
         reportBtn.Hide();
         incomeBtn.Show();
         spendBtn.Hide();
         detailBtn.Hide();
     }
     else if (neoTabWindow1.SelectedIndex == 2)
     {
         reportBtn.Hide();
         incomeBtn.Hide();
         spendBtn.Show();
         detailBtn.Hide();
     }
     else if (neoTabWindow1.SelectedIndex == 3)
     {
         reportBtn.Hide();
         incomeBtn.Hide();
         spendBtn.Hide();
         detailBtn.Show();
     }
 }