Example #1
0
		private void MainForm_Load( object sender, EventArgs e )
		{
			NotifyIconHelper helper = new NotifyIconHelper( this, false );
			helper.AddMenuItem( "Settings", menuItemSettings_Click );

			_settings = new Settings();
			timer1.Interval = _settings.AutoRefreshInterval * 1000;

			ShowFileName();

			this.Location = new Point( 800, 0 );
			this.Focus();

			timer1.Start();
		}
		public SettingsForm( Settings settings )
		{
			_settings = settings;

			InitializeComponent();
		}