private void RefreshToolbar() { if (mMenuBar != null) { mMenuBar.Delete(); mMenuBar = null; } mMenuBar = CodeRush.Menus.Bars.Add("SizeBar"); AddScreensToDropDown(DefaultResolutions()); }