private DXCustomMenuCreator(EditorContainer _editor, ref DXPopupMenu _menu)
 {
     editor      = _editor;
     menu        = _menu;
     controlForm = editor.FindForm();
     dxsmiSaved  = new DXSubMenuItem("Сохраненные состояния")
     {
         Image = Resources.layout_save
     };
     bbiDeleteStates = new DXMenuItem("Удалить выбранные")
     {
         Image = Resources.Remove
     };
     dxsmiRemove = new DXSubMenuItem("Удалить состояния")
     {
         Image = Resources.layout_delete
     };
 }
 private DXCustomMenuCreator(EditorContainer _editor, ref DXPopupMenu _menu)
 {
     editor = _editor;
     menu = _menu;
     controlForm = editor.FindForm();
     dxsmiSaved = new DXSubMenuItem("Сохраненные состояния")
     {
         Image = Resources.layout_save
     };
     bbiDeleteStates = new DXMenuItem("Удалить выбранные")
     {
         Image = Resources.Remove
     };
     dxsmiRemove = new DXSubMenuItem("Удалить состояния")
     {
         Image = Resources.layout_delete
     };
 }