示例#1
0
        private void LogOutButton_Click(object sender, EventArgs e)
        {
            RestaurantKuLoginForm Login = new RestaurantKuLoginForm();

            Login.Show();
            this.Hide();
        }
示例#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");
            }
        }