private void animPictBx_Paint(object sender, PaintEventArgs e) { if (lastSet != null) { if (lastSet.SequenceSelected != null) { this.sequenceFramesListView.SelectedIndices.Clear(); this.sequenceFramesListView.SelectedIndices.Add(lastSet.CurrentFrame + 1 - lastSet.SequenceSelected.FrameDepart); lastSet.dessineCurrentFrame(e.Graphics); } } }
private void animPictBx_Paint(object sender, PaintEventArgs e) { if (this.set != null) { if (set.SequenceSelected != null) { try { set.dessineCurrentFrame(e.Graphics); } catch (Exception ex) { } } } }
private void animPictBx_Paint(object sender, PaintEventArgs e) { if (this.set != null) { if (set.SequenceSelected != null) { try { this.sequenceFrameListView.SelectedIndices.Clear(); this.sequenceFrameListView.SelectedIndices.Add(set.CurrentFrame + 1 - set.SequenceSelected.FrameDepart); set.dessineCurrentFrame(e.Graphics); } catch (Exception ex) { } } } }