private void DataListControl_Load(object sender, EventArgs e) { switch (dataSeed) { case InvoiceSeed invoicesSeed: { gcDataList.DataSource = InvoiceSeed.SeedList(); break; } case ClientSeed clientsSeed: { gcDataList.DataSource = ClientSeed.SeedList(); break; } case ShipperSeed shippersSeed: { gcDataList.DataSource = ShipperSeed.SeedList(); break; } case PartnerSeed partnersSeed: { gcDataList.DataSource = PartnerSeed.SeedList(); break; } default: break; } }
public override void ToString(StringBuilder builder) { builder.AppendFormatLine("Seed: 0x{0:X8} Count: {1}", Seed, Count); builder.Append("Client Seed: "); ClientSeed.ToHexString(builder); builder.AppendLine(); builder.Append("Server Seed: "); ServerSeed.ToHexString(builder); builder.AppendLine(); }
private void ClientListForm_Load(object sender, EventArgs e) { gCClientList.DataSource = ClientSeed.SeedList(); parent.ChangeVisibility_ActionListRibbonGroup(false); parent.ChangeEnableOption_bbMarkAsSentInvoice(false); parent.ChangeEnableOption_bbPayInvoice(false); parent.ChangeEnableOption_bbStornoInvoice(false); parent.ChangeEnableOption_bbCancelInvoice(false); parent.ChangeEnableOption_bbEditDataInvoice(false); parent.ChangeEnableOption_LoginAsUser(false); parent.ChangeEnableOption_bbOpenClientInvoice(false); parent.ChangeEnableOption_bbAnnounceInvoice(false); parent.ChangeEnableOption_bbCancelCommand(false); parent.ChangeEnableOption_bbSaveCommand(false); parent.ChangeEnableOption_bbCreateShipperCommand(false); parent.ChangeEnableOption_Filter(false); }