Example #1
0
 public object WelcomeKeeFoxUser()
 {
     WelcomeForm wf = new WelcomeForm();
     DialogResult dr = wf.ShowDialog(_host.MainWindow);
     if (dr == DialogResult.Yes)
         CreateNewDatabase();
     if (dr == DialogResult.Yes || dr == DialogResult.No)
         return 0;
     return 1;
 }
        public object WelcomeKeeFoxUser(PendingRPCClient client)
        {
            WelcomeForm wf = new WelcomeForm();
            DialogResult dr = wf.ShowDialog(_host.MainWindow);

            if (dr == DialogResult.Yes || dr == DialogResult.No)
                RPCService.AddKnownRPCClient(client);
            if (dr == DialogResult.Yes)
                CreateNewDatabase();
            if (dr == DialogResult.Yes || dr == DialogResult.No)
                return 0;
            return 1;
        }