Example #1
0
        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();
        }
Example #2
0
 private void radioButtonFirm_CheckedChanged(object sender, EventArgs e)
 {
     landPlan    = sVisor.LandPlaneByFirm;
     sVisor.Firm = comboBoxFirm.Text;
 }
Example #3
0
 private void radioButtonFuel_CheckedChanged(object sender, EventArgs e)
 {
     landPlan = sVisor.LandPlaneByFuel;
 }
Example #4
0
 private void radioButtonOrder_CheckedChanged(object sender, EventArgs e)
 {
     landPlan = sVisor.LandPlaneByNumber;
 }