예제 #1
0
 public void Start(BaseKeyItem bki)
 {
     this.bki             = bki;
     numericUpDown1.Value = bki.itemStackSize;
     numericUpDown2.Value = bki.itemMaxAmount;
     Show();
 }
 private void button5_Click(object sender, EventArgs e)
 {
     if (!textBox1.Text.Equals(""))
     {
         BaseKeyItem bki = new BaseKeyItem(true);
         bki.itemName = textBox1.Text;
         MapBuilder.gcDB.gameItems.Add(bki);
         reloadLB1();
     }
 }