Ejemplo n.º 1
0
 public static TitleService getInstance()
 {
     if (titleService == null)
     {
         titleService = new TitleService();
     }
     return(titleService);
 }
Ejemplo n.º 2
0
 public static TitleService getInstance()
 {
     if (titleService == null)
     {
         titleService = new TitleService();
     }
     return titleService;
 }
Ejemplo n.º 3
0
 public SetTitleForm()
 {
     InitializeComponent();
     titleService = TitleService.getInstance();
     try
     {
         textBox_title.Text = titleService.getTitle();
     }
     catch(Exception ex) {
         MessageBox.Show(ex.Message);
     }
 }