private void bar5_Closing(object sender, BarClosingEventArgs e) { if (bar5.SelectedDockContainerItem == starttab) { e.Cancel = true; } }
private void dotNetBarManagerMain_BarClosing(object sender, BarClosingEventArgs e) { //Bar bar = sender as Bar; //if (bar == null || bar != barTaskList) // return; //if (bar.VisibleItemCount > 1) //{ // bar.Items[bar.SelectedDockTab].Visible = false; // bar.RecalcLayout(); // e.Cancel = true; //} }
private void OnBarClosing(object sender, BarClosingEventArgs e) { InvokeDataChanged(); }
private void bar3_Closing(object sender, BarClosingEventArgs e) { e.Cancel = true; }