public ShipmentReportForm(MDIForm mdiForm, int typeReport, int id) { InitializeComponent(); this.MdiParent = mdiForm; this.typeReport = typeReport; this.id = id; }
public PersonForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripPerson; parentType = typeof(Person); toolAddPerson.Click += OnAddClick; toolEditPerson.Click += OnEditClick; toolDeletePerson.Click += OnDeleteClick; }
public RackForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripRack; parentType = typeof(Rack); toolAddRack.Click += OnAddClick; toolEditRack.Click += OnEditClick; toolDeleteRack.Click += OnDeleteClick; }
public CustomerForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripCustomer; parentType = typeof(Customer); toolAddCustomer.Click += OnAddClick; toolEditCustomer.Click += OnEditClick; toolDeleteCustomer.Click += OnDeleteClick; }
public VehicleForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripVehicle; parentType = typeof(Vehicle); toolAddVehicle.Click += OnAddClick; toolEditVehicle.Click += OnEditClick; toolDeleteVehicle.Click += OnDeleteClick; }
public OrderForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripStore; parentType = typeof(Order); toolAddOrder.Click += OnAddClick; toolEditOrder.Click += OnEditClick; toolDeleteOrder.Click += OnDeleteClick; }
public ShipmentForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripShipment; parentType = typeof(Shipment); toolAddShipment.Click += OnAddClick; toolEditShipment.Click += OnEditClick; toolDeleteShipment.Click += OnDeleteClick; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); LoginDialog dialog = new LoginDialog(); if (dialog.ShowDialog() == DialogResult.OK) { mdiForm = new MDIForm(); Application.Run(mdiForm); } //if (dialog.DialogResult == DialogResult.OK) Application.Run(new MDIForm()); }
public MDIChildBase(MDIForm mdiForm) { InitializeComponent(); this.MdiParent = mdiForm; }
public BoxForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = toolStripBox; parentType = typeof(Box); }
public ProductForm(MDIForm mdiForm) : base(mdiForm) { InitializeComponent(); toolStrip = null; parentType = typeof(Product); }