private void LogOutButton_Click(object sender, EventArgs e)
        {
            RestaurantKuLoginForm Login = new RestaurantKuLoginForm();

            Login.Show();
            this.Hide();
        }
Example #2
0
        private void SaveHeader()
        {
            EmployeeRepository            Repost = new EmployeeRepository();
            List <HeaderOrderInformation> HoInfo = Repost.HeaderInfo().ToList();

            using (RestaurantkuContext Context = new RestaurantkuContext())
            {
                Context.spMsHeadOrder_Action(Urut, RestaurantKuLoginForm.getid(), DialogPembeli.getid(), Convert.ToDateTime(DateTime.Now.ToString("yyyyMMdd")), "null", "null", "insert");
            }
        }