Example #1
0
 public JishEntry AddEntry(string left, string right)
 {
     JishEntry ent = new JishEntry(this, left, right);
     if (lastEntry == null)
     {
         ent.Location = new Point(0, 0);
     }
     else
     {
         ent.Location = new Point(0, lastEntry.Location.Y + ent.Size.Height + 2);
     }
     lastEntry = ent;
     panel1.Controls.Add(ent);
     return ent;
 }
Example #2
0
 public void RemoveEntry(JishEntry e)
 {
     panel1.Controls.Remove(e);
 }
Example #3
0
 public JishEdit()
 {
     InitializeComponent();
     lastEntry = null;
 }