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

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





lign="justify"> {. Items.RemoveAt (x);

}

}

} void FormConductors_AddToolStrip ()

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

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

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

{= false ;;

}

} (haveButton)

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

}

}

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

}

} toolStripFormConductors_Click (object sender, EventArgs e)

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

{(Child is FormConductors)

{= true;

}

} (OpenForm)

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

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

{= 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 FormConductors_RemoveToolStrip ()

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

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

{. Items.RemoveAt (x);

}

}

} void FormRoutes_AddToolStrip ()

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

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

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

{= false ;;

}

} (haveButton)

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

}

}

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

}

} toolStripFormRoutes_Click (object sender, EventArgs e)

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

{(Child is FormRoutes)

{= true;

}

} (OpenForm)

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

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

{= 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 FormRoutes_RemoveToolStrip ()

{...


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





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

  • Реферат на тему: Phonetic peculiarities of the popular science text
  • Реферат на тему: Grammar of the Text: its Basic Units and Main Features (based on the novel ...
  • Реферат на тему: Технології аналізу даних (Text Mining, Data Mining)
  • Реферат на тему: The impact of unhealthy lifestyles on a child's behavior in school
  • Реферат на тему: The positive image as are important component of being competitive on the t ...