示例#1
0
        private async void UC_BulkInward_Load(object sender, System.EventArgs e)
        {
            CourierName.Items.Clear();
            CourierName.Items.AddRange(await ShipmentLibrary.GetCourierNamesAsync());
            inwardSingleShipmentBindingSource.DataSource = await ShipmentLibrary.GetInwardShipmentsAsync();

            dg.ClearSelection();
        }
示例#2
0
 private async void NewGodown_Click(object sender, System.EventArgs e)
 {
     using (FormNewCourierName f = new FormNewCourierName())
     {
         if (f.ShowDialog() == DialogResult.OK)
         {
             CourierName.Items.Clear();
             CourierName.Items.AddRange(await ShipmentLibrary.GetCourierNamesAsync());
         }
     }
 }