Example #1
0
 private void copy(MyStorage other_st)
 {
     for (int i = 0; i < other_st.count; ++i)
     {
         this.add(other_st.getObj(i));
     }
 }
Example #2
0
 private void pb1_Paint(object sender, PaintEventArgs e)
 {
     Paper.Clear(Color.Ivory);
     for (int i = 0; i < st.count; i++)
     {
         st.getObj(i).draw(Paper);
     }
     pb1.Image = bm;
 }