setTitle() public method

public setTitle ( string title ) : void
title string
return void
Example #1
0
        //--------------------------------------------------------------------------------------------------------------------
        public static bool getInput(ref string value, String descrip, String title)
        {
            fInput f = new fInput();

            f.setTitle(title);
            f.setDescrip(descrip);
            f.setText(value);
            f.ShowDialog();
            if (f.getOk())
            {
                value = f.getText();
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
 //--------------------------------------------------------------------------------------------------------------------
 public static bool getInput(ref string value, String descrip, String title) {
     fInput f = new fInput();
     f.setTitle(title);
     f.setDescrip(descrip);
     f.setText(value);
     f.ShowDialog();
     if (f.getOk())
     {
         value = f.getText();
         return true;
     }
     else 
     {
         return false;
     }
 }