private void MainForm_Load(object sender, EventArgs e) { // Start the CCOW web services if (DemoUtils.CheckAdminRights()) { StartService(); } }
public MainForm() { InitializeComponent(); // Start the web service if (DemoUtils.CheckAdminRights()) { this._address = string.Format("{0}/Leadtools", Environment.MachineName); } // Init Dialogs InitDialogs(); // Init try icon and menu InitTrayIcon(); // Hide main form HideForm(); }