Example #1
0
        public void Index(string viewstr)

        {
            if (viewstr == "Action")
            {
                _viewact = new UserAct();
                Detail(_table);
                _viewact.ShowDialog();
            }
            else if (viewstr == "Register")
            {
                _viewlog = new UserLogin();
                _table   = Read();
                _viewlog.Show();
            }
        }