public FormMain() { InitializeComponent(); listView1.View = View.Details; listView1.Columns.Add("number", 50); listView1.Columns.Add("fuel", 50); listView1.Columns.Add("fuelspeed", 60); listView1.Columns.Add("firmname", 80); listView1.Columns.Add("timeforland", 90); listView1.Columns.Add("status", 90); foreach (Plane p in list) { p.OnMessage += PrintMesage; listView1.Items.Add(p.Item); } landPlan = sVisor.LandPlaneByFuel; UpdateFirmsComboBox(); InitPlaneCmBox(); }
private void radioButtonFirm_CheckedChanged(object sender, EventArgs e) { landPlan = sVisor.LandPlaneByFirm; sVisor.Firm = comboBoxFirm.Text; }
private void radioButtonFuel_CheckedChanged(object sender, EventArgs e) { landPlan = sVisor.LandPlaneByFuel; }
private void radioButtonOrder_CheckedChanged(object sender, EventArgs e) { landPlan = sVisor.LandPlaneByNumber; }