// edit 13/1/13 for fun3 private void MatchTitle() { //if (this.tbTitle.Text == String.Empty) //{ // this.lblMatchTitle.Text = "Title is null"; // return false; //} //else //{ // this.lblMatchTitle.Text = String.Empty; // return true; //} if (Anime.IsMatchTitle(this.tbTitle.Text)) { //this.lblMatchTitle.Text = String.Empty; this.lblTitle.ForeColor = SystemColors.ControlText; btMatch |= 0x01; } else { //this.lblMatchTitle.Text = "Title is null"; this.lblTitle.ForeColor = Color.Red; btMatch &= 0xFE; } }