Пример #1
0
        /*private void YourOrder_SelectedIndexChanged(object sender, EventArgs e)
         * {
         *  if (YourOrder.SelectedItems.Count > 0)
         *  {
         *      ListViewItem selectedRow = YourOrder.SelectedItems[0];
         *      selectedRow.Remove();
         *  }
         * }*/

        private void button1_Click(object sender, EventArgs e) //back
        {
            Hide();
            var URS = new UserRestarauntSearch(UserId);

            URS.ShowDialog();
        }
Пример #2
0
        private void CancelOrderButton_Click(object sender, EventArgs e)
        {
            Hide();
            var URS = new UserRestarauntSearch(UserId);

            URS.ShowDialog();
        }