Esempio n. 1
0
 public MainForm()
 {
     InitializeComponent();
     m_addMessageDelegate = new AddListItem(this.addMessage);
     m_removeMessageDelegate = new RemoveListItem(this.removeMessage);
     m_initMessageListDelegate = new InitList(this.initializeMessageList);
     m_updateStatusDelegate = new UpdateStatus(this.updateStatus);
     m_dispErrorMessageDelegate = new DispErrorMessage(this.displayErrorMessage);
 }
Esempio n. 2
0
 public MainForm()
 {
     InitializeComponent();
     xPosBox.Value = Properties.Settings.Default.OverlayXPos;
     yPosBox.Value = Properties.Settings.Default.OverlayYPos;
     widthBox.Value = Properties.Settings.Default.OverlayWidth;
     heightBox.Value = Properties.Settings.Default.OverlayHeight;
     fontSizeBox.Value = (decimal)Properties.Settings.Default.OverlayFontSize;
     setOverlayLocation();
     m_overlayForm.setFontSize(Properties.Settings.Default.OverlayFontSize);
     m_overlayForm.Width = Properties.Settings.Default.OverlayWidth;
     m_overlayForm.Height = Properties.Settings.Default.OverlayHeight;
     m_addMessageDelegate = new AddListItem(this.addMessageToList);
     m_removeMessageDelegate = new RemoveListItem(this.removeMessageFromList);
     setOverlayVisible(false);
 }