private void navigationButton_Click(object sender, EventArgs e) { if (nbtn == sender) { return; } nbtn.BtnStatus = false; nbtn = sender as NavigationButton; }
public NavigationBar2() { InitializeComponent(); nbtn = this.navigationButton1; this.navigationButton1.BtnStatus = true; }