private void btBitmaps_Click(object sender, EventArgs e) { try { FormEditBitmaps form = null; if (null == _boxProperties) { form = new FormEditBitmaps(BoxLength, BoxWidth, BoxHeight, _faceColors); } else { form = new FormEditBitmaps(_boxProperties); } form.Textures = _textures; if (DialogResult.OK == form.ShowDialog()) { _textures = form.Textures; } graphCtrl.Invalidate(); } catch (Exception ex) { _log.Error(ex.ToString()); } }
private void btBitmaps_Click(object sender, EventArgs e) { try { FormEditBitmaps form = new FormEditBitmaps(_caseOfBoxesProperties); form.Textures = _textures; if (DialogResult.OK == form.ShowDialog()) { _textures = form.Textures; } graphCtrlBoxCase.Invalidate(); } catch (Exception ex) { _log.Error(ex.ToString()); } }
private void btBitmaps_Click(object sender, EventArgs e) { try { FormEditBitmaps form = null; if (null == _boxProperties) form = new FormEditBitmaps(BoxLength, BoxWidth, BoxHeight, _faceColors); else form = new FormEditBitmaps(_boxProperties); form.Textures = _textures; if (DialogResult.OK == form.ShowDialog()) _textures = form.Textures; graphCtrl.Invalidate(); } catch (Exception ex) { _log.Error(ex.ToString()); } }
private void btBitmaps_Click(object sender, EventArgs e) { try { FormEditBitmaps form = new FormEditBitmaps(_caseOfBoxesProperties); form.Textures = _textures; if (DialogResult.OK == form.ShowDialog()) _textures = form.Textures; graphCtrlBoxCase.Invalidate(); } catch (Exception ex) { _log.Error(ex.ToString()); } }