Теми рефератів
> Реферати > Курсові роботи > Звіти з практики > Курсові проекти > Питання та відповіді > Ессе > Доклади > Учбові матеріали > Контрольні роботи > Методички > Лекції > Твори > Підручники > Статті Контакти
Реферати, твори, дипломи, практика » Курсовые проекты » Автоматизація обліку роботи автотранспортного підприємства

Реферат Автоматизація обліку роботи автотранспортного підприємства





stify">}

{. MdiChildren [index] .WindowState=FormWindowState.Normal; .MdiChildren [index] .Visible=true;

}

}

}

} void FormWaySheets_RemoveToolStrip ()

{FWS=new FormWaySheets (); (int x=0; x lt; toolStrip1.Items.Count; x ++)

{(toolStrip1.Items [x] .Name == toolStrip + FWS.Name)

{. Items.RemoveAt (x);

}

}

} void FormDocument_AddToolStrip ()

{item=new ToolStripButton (); FormDocument=new FormDocument (); (toolStrip1.Items.Count!=0)

{haveButton=true; (ToolStripButton oldButton in this.toolStrip1.Items)

{(oldButton.Name == toolStrip + FormDocument.Name)

{= false ;;

}

} (haveButton)

{. Name= toolStrip + FormDocument.Name; .Text=FormDocument.Text; .Image=FormDocument.Icon.ToBitmap () ;. DisplayStyle=ToolStripItemDisplayStyle.ImageAndText; .CheckState=CheckState.Indeterminate; .Click +=new EventHandler (toolStripFormDocument_Click) ;. Items. Add (item);

}

}

{. Name= toolStrip + FormDocument.Name; .Text=FormDocument.Text; .Image=FormDocument.Icon.ToBitmap () ;. DisplayStyle=ToolStripItemDisplayStyle.ImageAndText; .CheckState=CheckState.Indeterminate; .Click +=new EventHandler (toolStripFormDocument_Click) ;. Items. Add (item);

}

} toolStripFormDocument_Click (object sender, EventArgs e)

{OpenForm=false; (Form Child in this.MdiChildren)

{(Child is FormDocument)

{= true;

}

} (OpenForm)

{index=0; (int x=0; x lt; this.MdiChildren.Length; x ++)

{(MdiChildren [x] .Name == FormDocument )

{= x;

}

} (this.ActiveMdiChild == this.MdiChildren [index])

{. MdiChildren [index] .WindowState=FormWindowState.Minimized;

}

{(MdiChildren [index] .Visible == true)

{. MdiChildren [index] .Activate ();

}

{. MdiChildren [index] .WindowState=FormWindowState.Normal; .MdiChildren [index] .Visible=true;

}

}

}

} void FormDocument_RemoveToolStrip ()

{FDoc=new FormDocument (); (int x=0; x lt; toolStrip1.Items.Count; x ++)

{(toolStrip1.Items [x] .Name == toolStrip + FDoc.Name)

{. Items.RemoveAt (x);

}

}

} void ВиходToolStripMenuItem_Click (object sender, EventArgs e)

{();

} void оПрограммеToolStripMenuItem_Click (object sender, EventArgs e)

{FormAbout=new FormAbout () ;. ShowDialog ();

} void реестрПутёвокВодітелейToolStripMenuItem_Click (object sender, EventArgs e)

{FormWaySheetDrivers=new FormWaySheetDrivers () ;. Show ();

} void работаКондукторовToolStripMenuItem_Click (object sender, EventArgs e)

{FormWorkConductor=new FormWorkConductor () ;. Show ();

} void лістдоходаКондукторовToolStripMenuItem_Click (object sender, EventArgs e)

{FormRevenueConductors=new FormRevenueConductors () ;. Show ();

} void своднийЖурналПоМаркамToolStripMenuItem_Click (object sender, EventArgs e)

{FormMagazineBus=new FormMagazineBus () ;. Show ();

}

}

}


Назад | сторінка 19 з 19





Схожі реферати:

  • Реферат на тему: Типи даних в Object Pascal
  • Реферат на тему: Програмування на мові Object Pascal
  • Реферат на тему: Реалізація алгоритму визначення n! засобими Object Pascal 2.0
  • Реферат на тему: Phonetic peculiarities of the popular science text
  • Реферат на тему: Grammar of the Text: its Basic Units and Main Features (based on the novel ...