Example #1
0
 private void 添加动画信息ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!IsFormOpened("AddAnime"))
     {
         AddAnime fm = new AddAnime(AnimeCommand.Command.Add, null);
         fm.Show();
         //对应:添加动画后不刷新 2016/02/19
         //this.LoadAnime();
     }
 }
Example #2
0
 private void 修改动画信息ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (GetSelectedRow() != null)
     {
         if (!IsFormOpened("AddAnime"))
         {
             AddAnime cgem = new AddAnime(AnimeCommand.Command.Update, GetSelectedRow());
             cgem.Show();
         }
     }
     else
     {
         MsgBox.Show(MSG_MAIN_004);
     }
 }