ObjectEditor.frmMain.IsFilterTypeChecked C# (CSharp) 메소드

IsFilterTypeChecked() 개인적인 메소드

private IsFilterTypeChecked ( string Name ) : bool
Name string
리턴 bool
        private bool IsFilterTypeChecked(string Name)
        {
            foreach (Control Ctrl in pnlFilterButtons.Controls)
            {
                CheckBox Chk = (CheckBox)Ctrl;
                if (Chk.Text == Name)
                    return Chk.Checked;
            }
            return false;
        }