// Make the UI fully resizeable and properly docked when we're on the statistics page private void kryptonNavigator1_TabClicked(object sender, ComponentFactory.Krypton.Navigator.KryptonPageEventArgs e) { bool visibility = e.Index == 5 ? false : true; DockStyle style = e.Index == 5 ? DockStyle.Fill : DockStyle.Left; groupBoxActions.Visible = visibility; kryptonNavigator1.Dock = style; tableStatistics.Dock = style; }
private void kryptonNavigator1_TabClicked(object sender, ComponentFactory.Krypton.Navigator.KryptonPageEventArgs e) { //if( e.Item == kryptonPageSettings ) //{ // Hide(); // EditorAPI.ShowProjectSettings(); // return; //} if (e.Item == kryptonPageBuild) { if (packagingNeedInit) { PackagingInit(); } return; } if (e.Item == kryptonPageExit) { EditorForm.Instance.Close(); return; } }