コード例 #1
0
 /// <summary>
 /// Invokes or closes the <c><see cref="CodePageList"/></c>.
 /// </summary>
 /// <param name="sender"><c><see cref="bu_List"/></c></param>
 /// <param name="e"></param>
 void bu_List_click(object sender, EventArgs e)
 {
     if (_cpList == null)
     {
         _cpList = new CodePageList(this);
     }
     else
     {
         _cpList.Close();
     }
 }
コード例 #2
0
 /// <summary>
 /// Nulls <c><see cref="_cpList"/></c> when the
 /// <c><see cref="CodePageList"/></c> closes.
 /// </summary>
 internal void CloseCodepageList()
 {
     _cpList = null;
 }