Ejemplo n.º 1
0
        private void ManageReservations()
        {
            var row = GetFirstSelectedRow();

            if (row != null)
            {
                var camera = row.DataBoundItem as Camera;

                using (var form = new AssetReservationListForm <Camera>(camera))
                {
                    form.ShowDialog();
                    RefreshItems();
                }
            }
        }
Ejemplo n.º 2
0
        private void ManageReservations()
        {
            var row = GetFirstSelectedRow();

            if (row != null)
            {
                var printer = row.DataBoundItem as Printer;

                using (var form = new AssetReservationListForm <Printer>(printer))
                {
                    form.ShowDialog();
                    RefreshItems();
                }
            }
        }