Exemple #1
0
        /// <summary>
        /// POL選択ウィンドウを表示する
        /// </summary>
        /// <param name="iDefaultProcessID"></param>
        /// <returns></returns>
        private int selectPolFromForm(int iDefaultProcessID = -1)
        {
            SelectPolForm frm = new SelectPolForm();

            frm.PolId   = iDefaultProcessID;
            frm.PolList = GetPolProcess();
            DialogResult dialogRes = frm.ShowDialog();

            if (frm.PolId > 0)
            {
                return(frm.PolId);
            }
            return(-1);
        }
Exemple #2
0
 /// <summary>
 /// POL選択ウィンドウを表示する
 /// </summary>
 /// <param name="iDefaultProcessID"></param>
 /// <returns></returns>
 private int selectPolFromForm(int iDefaultProcessID = -1)
 {
     SelectPolForm frm = new SelectPolForm();
     frm.PolId = iDefaultProcessID;
     frm.PolList = GetPolProcess();
     DialogResult dialogRes = frm.ShowDialog();
     if (frm.PolId > 0)
     {
         return frm.PolId;
     }
     return -1;
 }