public EventGraphicSelector(
            EventGraphic editingGraphic,
            FrmEvent eventEditor,
            EventMoveRouteDesigner moveRouteDesigner = null,
            bool newMoveRouteAction = false
            )
        {
            InitializeComponent();
            mEditingGraphic = editingGraphic;
            mEventEditor    = eventEditor;
            mLoading        = true;
            UpdateGraphicList();
            if (cmbGraphic.Items.IndexOf(mEditingGraphic.Filename) > -1)
            {
                cmbGraphic.SelectedIndex = cmbGraphic.Items.IndexOf(mEditingGraphic.Filename);
            }

            mRouteDesigner  = moveRouteDesigner;
            mNewRouteAction = newMoveRouteAction;
            mLoading        = false;
            InitLocalization();
            cmbGraphicType.SelectedIndex = (int)mEditingGraphic.Type;
            mTmpGraphic.CopyFrom(mEditingGraphic);
            UpdatePreview();
        }
 private void btnOk_Click(object sender, EventArgs e)
 {
     mEditingGraphic.CopyFrom(mTmpGraphic);
     mEventEditor.CloseGraphicSelector(this);
 }