Ejemplo n.º 1
0
        void SingleInstanceController_StartupNextInstance(object sender, StartupNextInstanceEventArgs e)
        {
            RemoteDesktopClient rdc = (RemoteDesktopClient)this.MainForm;

            string[] args = new string[e.CommandLine.Count];
            e.CommandLine.CopyTo(args, 0);

            rdc.DoArguments(args);
        }
Ejemplo n.º 2
0
 protected override void OnCreateMainForm()
 {
     MainForm = new RemoteDesktopClient();
 }