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