private void ShowInfo(string info, bool stayOnPage = true)
{
PopupInfo1.SetFunctionality(stayOnPage);
}
usage:
ShowInfo("Policy not found!");
or
ShowInfo("Policy not found!", false);
Etiketler: overload method
Copyright 2009 - kendime notlar (notes to myself)