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

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





}

} void FormRevenue_RemoveToolStrip ()

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

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

{. Items.RemoveAt (x);

}

}

} void FormWorkedTime_AddToolStrip ()

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

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

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

{= false ;;

}

} (haveButton)

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

}

}

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

}

} toolStripFormWorkedTime_Click (object sender, EventArgs e)

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

{(Child is FormWorkedTime)

{= true;

}

} (OpenForm)

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

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

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

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

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

{. Items.RemoveAt (x);

}

}

} void FormWaySheets_AddToolStrip ()

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

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

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

{= false ;;

}

} (haveButton)

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

}

}

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

}

} toolStripFormWaySheets_Click (object sender, EventArgs e)

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

{(Child is FormWaySheets)

{= true;

}

} (OpenForm)

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

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

{= x;

}

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

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

}

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

{. MdiChildren [index] .Activate ();

Назад | сторінка 18 з 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 ...