Esempio n. 1
0
 private void 动画制作企业列表ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!IsFormOpened("CompanyManage"))
     {
         CompanyManage fm = new CompanyManage();
         fm.Show();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 双击制作公司显示制作公司履历
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void PlayInfodataGridView_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == PlayInfodataGridView.Columns[COMPANYCLN].Index)
     {
         if (IsFormOpened("CompanyManage"))
         {
             CompanyManage.CompManageeFm.LoadCompany(PlayInfodataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString());
             CompanyManage.CompManageeFm.Focus();
         }
         else
         {
             CompanyManage fm = new CompanyManage();
             fm.Show();
             fm.LoadCompany(PlayInfodataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString());
         }
     }
 }