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); }
public void RemoveEntry(JishEntry e) { panel1.Controls.Remove(e); }
public JishEdit() { InitializeComponent(); lastEntry = null; }