コード例 #1
0
 protected virtual void OnSelectType(TypeSelectEventArgs e)
 {
     if (SelectTypeMsg != null)
     {
         SelectTypeMsg(this, e);
     }
 }
コード例 #2
0
        public void SimulateSelectType()
        {
            int type = 0;

            if (rbSingle.Checked)
            {
                type = 1;
            }
            else
            {
                type = 0;
            }

            TypeSelectEventArgs e = new TypeSelectEventArgs(type);

            OnSelectType(e);
        }