Example #1
0
        private RowDoubleClickedEventArgs OnRowDoubleClicked(MetaDataBook metaDataBook)
        {
            RowDoubleClickedEventArgs args = new RowDoubleClickedEventArgs(metaDataBook);

            OnRowDoubleClicked(args);

            return(args);
        }
Example #2
0
        public SellBookForm(MetaDataBook metaDataBook)
        {
            InitializeComponent();
            _metaDataBook = metaDataBook;

            cbbQuality.Items.Add("A");
            cbbQuality.Items.Add("B");
            cbbQuality.Items.Add("C");
            cbbQuality.Items.Add("F");
        }
Example #3
0
        public SellBookForm(Data.Customer customer, MetaDataBook metaDataBook)
        {
            InitializeComponent();
            _customer     = customer;
            _metaDataBook = metaDataBook;

            cbbQuality.Items.Add("A");
            cbbQuality.Items.Add("B");
            cbbQuality.Items.Add("C");
            cbbQuality.Items.Add("F");
        }
Example #4
0
        private void DgvUsedBook_DoubleClick(object sender, EventArgs e)
        {
            MetaDataBook metaData = dgvUsedBook.CurrentRow.DataBoundItem as MetaDataBook;

            if (metaData == null)
            {
                return;
            }

            OnRowDoubleClicked(metaData);
        }
Example #5
0
 public RowDoubleClickedEventArgs(MetaDataBook metaDataBook)
 {
     MetaDataBook = metaDataBook;
 }