FolderWidget/frmMain.cs
/// <summary>
/// leaving a button will reset the text in the above panel
/// </summary>
leaving a button will reset the text in the above panel
leaving a button will reset the text in the above panel
private void Btn_MouseLeave(object sender, EventArgs e)
        {
            ((Button)sender).BackColor = Color.Transparent;
            if (!lblFileName.Text.Equals("Drag something"))
            {
                lblFileName.Text = string.Empty;
            }
        }
private void Btn_MouseLeave ( object sender , EventArgs e ) { ( ( Button ) sender ) . BackColor = Color . Transparent ; if ( ! lblFileName . Text . Equals ( " " ) ) { lblFileName . Text = string . Empty ; } }
leaving a button will reset the text in the above panel
leaving a button will reset the text in the above panel
sender
object
e
EventArgs