Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /************************************************************************
- --[ License ] -----------------------------------------------------------
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 3
- of the License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- You may also access the licence here: http://www.gnu.org/licenses/gpl.html
- ------------------------------------------------------------------------
- Copyright © 2009-11 Gomez & Associates
- /************************************************************************/
- using System;
- using System.Windows.Forms;
- namespace sqlServer
- {
- public class Agent
- {
- public Agent() { }
- public DataProvider start()
- {
- return new DataProvider();
- }
- public DataProvider start(string path)
- {
- return new DataProvider(path);
- }
- public DataProvider start(string path, bool json)
- {
- return new DataProvider(path, json);
- }
- public void stop()
- {
- MessageBox.Show(Properties.Settings.Default.ExitMessage);
- Environment.Exit(0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement