예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormHoraire));
     Barette.Library.Client.Customer customer1 = new Barette.Library.Client.Customer();
     this.cbEmploye                = new System.Windows.Forms.ComboBox();
     this.imageList1               = new System.Windows.Forms.ImageList(this.components);
     this.label1                   = new System.Windows.Forms.Label();
     this.lblDate                  = new System.Windows.Forms.Label();
     this.tbFunction               = new System.Windows.Forms.ToolBar();
     this.tbbRefresh               = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator             = new System.Windows.Forms.ToolBarButton();
     this.tbbPrint                 = new System.Windows.Forms.ToolBarButton();
     this.cmPrintChoice            = new System.Windows.Forms.ContextMenu();
     this.menuItem1                = new System.Windows.Forms.MenuItem();
     this.menuItem4                = new System.Windows.Forms.MenuItem();
     this.menuItem2                = new System.Windows.Forms.MenuItem();
     this.menuItem3                = new System.Windows.Forms.MenuItem();
     this.menuItem5                = new System.Windows.Forms.MenuItem();
     this.tbbSeparator3            = new System.Windows.Forms.ToolBarButton();
     this.tbbJourFerier            = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2            = new System.Windows.Forms.ToolBarButton();
     this.tbbShowClient            = new System.Windows.Forms.ToolBarButton();
     this.tbbShowSeances           = new System.Windows.Forms.ToolBarButton();
     this.tbbseparator4            = new System.Windows.Forms.ToolBarButton();
     this.tbbDeleteAllNotes        = new System.Windows.Forms.ToolBarButton();
     this.vCalendar                = new Voroshkov.Calendar.VerticalCalendar();
     this.timerButton              = new System.Windows.Forms.Timer(this.components);
     this.ImageListSmall           = new System.Windows.Forms.ImageList(this.components);
     this.txtNotes                 = new System.Windows.Forms.TextBox();
     this.label2                   = new System.Windows.Forms.Label();
     this.printDocument1           = new System.Drawing.Printing.PrintDocument();
     this.tabControl1              = new System.Windows.Forms.TabControl();
     this.tpDay                    = new System.Windows.Forms.TabPage();
     this.listViewEx1              = new Barette.Library.Listview.ListViewEx();
     this.colHeadHours             = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadContratNumber     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadClientName        = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadSeanceNumber      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadPaimentDu         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadSeanceCode        = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadTelephone         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadManuelAutomatique = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.tpWeek                   = new System.Windows.Forms.TabPage();
     this.scheduleControl7         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl6         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl5         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl4         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl3         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl2         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.scheduleControl1         = new Barette.Library.UserControls.Schedule.ScheduleControl();
     this.printDocWeek             = new System.Drawing.Printing.PrintDocument();
     this.clientControl1           = new Barette.Library.UserControls.Client.ClientControl();
     this.printDocument2           = new System.Drawing.Printing.PrintDocument();
     this.menuItem6                = new System.Windows.Forms.MenuItem();
     this.tabControl1.SuspendLayout();
     this.tpDay.SuspendLayout();
     this.tpWeek.SuspendLayout();
     this.SuspendLayout();
     //
     // cbEmploye
     //
     this.cbEmploye.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbEmploye.FormattingEnabled = true;
     this.cbEmploye.ItemHeight        = 13;
     this.cbEmploye.Location          = new System.Drawing.Point(262, 63);
     this.cbEmploye.Name                  = "cbEmploye";
     this.cbEmploye.Size                  = new System.Drawing.Size(287, 21);
     this.cbEmploye.TabIndex              = 15;
     this.cbEmploye.SelectedIndexChanged += new System.EventHandler(this.cbEmploye_SelectedIndexChanged);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "user-group-icon.png");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "delete Notes.ico");
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(199, 65);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 16);
     this.label1.TabIndex = 17;
     this.label1.Text     = "Employés :";
     //
     // lblDate
     //
     this.lblDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDate.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDate.Location  = new System.Drawing.Point(219, 3);
     this.lblDate.Name      = "lblDate";
     this.lblDate.Size      = new System.Drawing.Size(383, 23);
     this.lblDate.TabIndex  = 14;
     this.lblDate.Text      = "-";
     this.lblDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbFunction
     //
     this.tbFunction.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tbFunction.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbRefresh,
         this.tbbSeparator,
         this.tbbPrint,
         this.tbbSeparator3,
         this.tbbJourFerier,
         this.tbbSeparator2,
         this.tbbShowClient,
         this.tbbShowSeances,
         this.tbbseparator4,
         this.tbbDeleteAllNotes
     });
     this.tbFunction.Divider        = false;
     this.tbFunction.Dock           = System.Windows.Forms.DockStyle.None;
     this.tbFunction.DropDownArrows = true;
     this.tbFunction.ImageList      = this.imageList1;
     this.tbFunction.Location       = new System.Drawing.Point(12, 12);
     this.tbFunction.Name           = "tbFunction";
     this.tbFunction.ShowToolTips   = true;
     this.tbFunction.Size           = new System.Drawing.Size(299, 50);
     this.tbFunction.TabIndex       = 16;
     this.tbFunction.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.tbFunction.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbFunction_ButtonClick);
     //
     // tbbRefresh
     //
     this.tbbRefresh.ImageIndex  = 2;
     this.tbbRefresh.Name        = "tbbRefresh";
     this.tbbRefresh.Tag         = "REFRESH";
     this.tbbRefresh.ToolTipText = "Rafraîchir";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Name  = "tbbSeparator";
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbPrint
     //
     this.tbbPrint.DropDownMenu = this.cmPrintChoice;
     this.tbbPrint.ImageIndex   = 0;
     this.tbbPrint.Name         = "tbbPrint";
     this.tbbPrint.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.tbbPrint.Tag          = "PRINT";
     this.tbbPrint.ToolTipText  = "Imprimer l\'horaire du jour";
     //
     // cmPrintChoice
     //
     this.cmPrintChoice.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem4,
         this.menuItem6,
         this.menuItem2,
         this.menuItem3,
         this.menuItem5
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "Impression normal";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 1;
     this.menuItem4.Text  = "-";
     //
     // menuItem2
     //
     this.menuItem2.Index  = 3;
     this.menuItem2.Text   = "Impression Avant-Midi";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index  = 4;
     this.menuItem3.Text   = "Impression Après-Midi";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index  = 5;
     this.menuItem5.Text   = "Impression Soirée";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // tbbSeparator3
     //
     this.tbbSeparator3.Name  = "tbbSeparator3";
     this.tbbSeparator3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbJourFerier
     //
     this.tbbJourFerier.ImageIndex  = 4;
     this.tbbJourFerier.Name        = "tbbJourFerier";
     this.tbbJourFerier.Tag         = "JOURFERIER";
     this.tbbJourFerier.ToolTipText = "Gestion des jours fériés";
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Name  = "tbbSeparator2";
     this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbShowClient
     //
     this.tbbShowClient.Enabled     = false;
     this.tbbShowClient.ImageIndex  = 3;
     this.tbbShowClient.Name        = "tbbShowClient";
     this.tbbShowClient.Tag         = "SHOWCLIENT";
     this.tbbShowClient.ToolTipText = "Affiche le client sélectionné";
     //
     // tbbShowSeances
     //
     this.tbbShowSeances.Enabled     = false;
     this.tbbShowSeances.ImageIndex  = 5;
     this.tbbShowSeances.Name        = "tbbShowSeances";
     this.tbbShowSeances.Tag         = "SHOWSEANCE";
     this.tbbShowSeances.ToolTipText = "Afficher l\'horaire du client en cours";
     //
     // tbbseparator4
     //
     this.tbbseparator4.Name  = "tbbseparator4";
     this.tbbseparator4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbDeleteAllNotes
     //
     this.tbbDeleteAllNotes.ImageIndex  = 6;
     this.tbbDeleteAllNotes.Name        = "tbbDeleteAllNotes";
     this.tbbDeleteAllNotes.Tag         = "DELETENOTES";
     this.tbbDeleteAllNotes.ToolTipText = "Supprime tous les notes de bas de pages";
     //
     // vCalendar
     //
     this.vCalendar.AnnualDates        = new Voroshkov.Calendar.DateWithComment[0];
     this.vCalendar.AnnualDatesColor   = System.Drawing.Color.Red;
     this.vCalendar.AutoSize           = true;
     this.vCalendar.BackColor          = System.Drawing.SystemColors.Window;
     this.vCalendar.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.vCalendar.CalendarDimensions = new System.Drawing.Size(1, 3);
     this.vCalendar.Date                    = new System.DateTime(2010, 9, 27, 0, 0, 0, 0);
     this.vCalendar.DimensionHeight         = 3;
     this.vCalendar.DimensionWidth          = 1;
     this.vCalendar.ExactDates              = new Voroshkov.Calendar.DateWithComment[0];
     this.vCalendar.ExactDatesColor         = System.Drawing.Color.DarkOrange;
     this.vCalendar.FirstDayOfWeek          = System.Windows.Forms.Day.Default;
     this.vCalendar.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vCalendar.Location                = new System.Drawing.Point(12, 60);
     this.vCalendar.MaxDate                 = new System.DateTime(9997, 11, 1, 0, 0, 0, 0);
     this.vCalendar.MaxSelectionCount       = 1;
     this.vCalendar.MinDate                 = new System.DateTime(1, 2, 1, 0, 0, 0, 0);
     this.vCalendar.MonthlyDates            = new Voroshkov.Calendar.DateWithComment[0];
     this.vCalendar.MonthlyDatesColor       = System.Drawing.Color.DeepPink;
     this.vCalendar.Name                    = "vCalendar";
     this.vCalendar.NavButtonsFlatStyle     = System.Windows.Forms.FlatStyle.System;
     this.vCalendar.ScrollChange            = 1;
     this.vCalendar.SelectionBackColor      = System.Drawing.Color.BlueViolet;
     this.vCalendar.SelectionEnd            = new System.DateTime(2005, 5, 19, 0, 0, 0, 0);
     this.vCalendar.SelectionForeColor      = System.Drawing.Color.White;
     this.vCalendar.SelectionRange          = new Voroshkov.Calendar.DateSelectionRange(new System.DateTime(2005, 5, 19, 0, 0, 0, 0), new System.DateTime(2005, 5, 19, 0, 0, 0, 0));
     this.vCalendar.SelectionShape          = Voroshkov.Calendar.CalendarSelectionShape.shapeCircular;
     this.vCalendar.SelectionStart          = new System.DateTime(2005, 5, 19, 0, 0, 0, 0);
     this.vCalendar.ShowAllWeekdayLabels    = true;
     this.vCalendar.ShowAnnualDates         = true;
     this.vCalendar.ShowExactDates          = true;
     this.vCalendar.ShowMonthlyDates        = true;
     this.vCalendar.ShowNavButtons          = true;
     this.vCalendar.ShowSelection           = true;
     this.vCalendar.ShowSpecialDates        = true;
     this.vCalendar.ShowSpecialDatesBold    = true;
     this.vCalendar.ShowSpecialDatesToolTip = true;
     this.vCalendar.ShowToday               = true;
     this.vCalendar.ShowTodayCircle         = true;
     this.vCalendar.ShowTrailingDays        = true;
     this.vCalendar.Size                    = new System.Drawing.Size(166, 520);
     this.vCalendar.TabIndex                = 0;
     this.vCalendar.TitleBackColor          = System.Drawing.SystemColors.Control;
     this.vCalendar.TitleFont               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vCalendar.TitleForeColor          = System.Drawing.SystemColors.ControlText;
     this.vCalendar.TodayCircleColor        = System.Drawing.Color.Red;
     this.vCalendar.TodayDate               = new System.DateTime(2005, 5, 29, 0, 0, 0, 0);
     this.vCalendar.TodayLocalizedString    = "Aujourd\'hui";
     this.vCalendar.TrailingForeColor       = System.Drawing.Color.DarkGray;
     this.vCalendar.WeekendColor            = System.Drawing.Color.Blue;
     this.vCalendar.SelectionChanged       += new System.EventHandler(this.vCalendar_SelectionChanged);
     this.vCalendar.DateChanged            += new System.EventHandler(this.vCalendar_DateChanged);
     //
     // timerButton
     //
     this.timerButton.Enabled  = true;
     this.timerButton.Interval = 250;
     this.timerButton.Tick    += new System.EventHandler(this.timerButton_Tick);
     //
     // ImageListSmall
     //
     this.ImageListSmall.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageListSmall.ImageStream")));
     this.ImageListSmall.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageListSmall.Images.SetKeyName(0, "Moto");
     this.ImageListSmall.Images.SetKeyName(1, "Auto");
     this.ImageListSmall.Images.SetKeyName(2, "Camion");
     //
     // txtNotes
     //
     this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNotes.Location   = new System.Drawing.Point(6, 247);
     this.txtNotes.MaxLength  = 250;
     this.txtNotes.Multiline  = true;
     this.txtNotes.Name       = "txtNotes";
     this.txtNotes.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txtNotes.Size       = new System.Drawing.Size(596, 136);
     this.txtNotes.TabIndex   = 20;
     this.txtNotes.KeyUp     += new System.Windows.Forms.KeyEventHandler(this.txtNotes_KeyUp);
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(6, 227);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(93, 13);
     this.label2.TabIndex = 21;
     this.label2.Text     = "Notes (imprimable)";
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Controls.Add(this.tpDay);
     this.tabControl1.Controls.Add(this.tpWeek);
     this.tabControl1.Location      = new System.Drawing.Point(200, 91);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(616, 415);
     this.tabControl1.TabIndex      = 22;
     //
     // tpDay
     //
     this.tpDay.Controls.Add(this.listViewEx1);
     this.tpDay.Controls.Add(this.txtNotes);
     this.tpDay.Controls.Add(this.lblDate);
     this.tpDay.Controls.Add(this.label2);
     this.tpDay.Location = new System.Drawing.Point(4, 22);
     this.tpDay.Name     = "tpDay";
     this.tpDay.Padding  = new System.Windows.Forms.Padding(3);
     this.tpDay.Size     = new System.Drawing.Size(608, 389);
     this.tpDay.TabIndex = 0;
     this.tpDay.Tag      = "DAY";
     this.tpDay.Text     = "Journalière";
     this.tpDay.UseVisualStyleBackColor = true;
     //
     // listViewEx1
     //
     this.listViewEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.listViewEx1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.colHeadHours,
         this.colHeadContratNumber,
         this.colHeadClientName,
         this.colHeadSeanceNumber,
         this.colHeadPaimentDu,
         this.colHeadSeanceCode,
         this.colHeadTelephone,
         this.colHeadManuelAutomatique
     });
     this.listViewEx1.FullRowSelect  = true;
     this.listViewEx1.Location       = new System.Drawing.Point(6, 30);
     this.listViewEx1.MultiSelect    = false;
     this.listViewEx1.Name           = "listViewEx1";
     this.listViewEx1.Size           = new System.Drawing.Size(596, 190);
     this.listViewEx1.SmallImageList = this.ImageListSmall;
     this.listViewEx1.TabIndex       = 0;
     this.listViewEx1.UseCompatibleStateImageBehavior = false;
     this.listViewEx1.View = System.Windows.Forms.View.Details;
     this.listViewEx1.SelectedIndexChanged += new System.EventHandler(this.listViewEx1_SelectedIndexChanged);
     this.listViewEx1.DoubleClick          += new System.EventHandler(this.listViewEx1_DoubleClick);
     //
     // colHeadHours
     //
     this.colHeadHours.Text  = "Heures";
     this.colHeadHours.Width = 73;
     //
     // colHeadContratNumber
     //
     this.colHeadContratNumber.Text  = "# Contrat";
     this.colHeadContratNumber.Width = 86;
     //
     // colHeadClientName
     //
     this.colHeadClientName.Text  = "Nom du Client";
     this.colHeadClientName.Width = 195;
     //
     // colHeadSeanceNumber
     //
     this.colHeadSeanceNumber.Text = "#Seance";
     //
     // colHeadPaimentDu
     //
     this.colHeadPaimentDu.Text      = "Paiment dû";
     this.colHeadPaimentDu.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.colHeadPaimentDu.Width     = 73;
     //
     // colHeadSeanceCode
     //
     this.colHeadSeanceCode.Text  = "Code seance";
     this.colHeadSeanceCode.Width = 77;
     //
     // colHeadTelephone
     //
     this.colHeadTelephone.Text  = "Téléphone";
     this.colHeadTelephone.Width = 97;
     //
     // colHeadManuelAutomatique
     //
     this.colHeadManuelAutomatique.Text  = "Type";
     this.colHeadManuelAutomatique.Width = 80;
     //
     // tpWeek
     //
     this.tpWeek.AutoScroll = true;
     this.tpWeek.Controls.Add(this.scheduleControl7);
     this.tpWeek.Controls.Add(this.scheduleControl6);
     this.tpWeek.Controls.Add(this.scheduleControl5);
     this.tpWeek.Controls.Add(this.scheduleControl4);
     this.tpWeek.Controls.Add(this.scheduleControl3);
     this.tpWeek.Controls.Add(this.scheduleControl2);
     this.tpWeek.Controls.Add(this.scheduleControl1);
     this.tpWeek.Location = new System.Drawing.Point(4, 22);
     this.tpWeek.Name     = "tpWeek";
     this.tpWeek.Padding  = new System.Windows.Forms.Padding(3);
     this.tpWeek.Size     = new System.Drawing.Size(608, 389);
     this.tpWeek.TabIndex = 1;
     this.tpWeek.Tag      = "WEEK";
     this.tpWeek.Text     = "Hebdomadaire";
     this.tpWeek.UseVisualStyleBackColor = true;
     //
     // scheduleControl7
     //
     this.scheduleControl7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl7.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 63);
     this.scheduleControl7.Location              = new System.Drawing.Point(1693, 0);
     this.scheduleControl7.Name                  = "scheduleControl7";
     this.scheduleControl7.Notes                 = "";
     this.scheduleControl7.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl7.TabIndex              = 6;
     this.scheduleControl7.NotesChanged         += new System.EventHandler(this.scheduleControl7_NotesChanged);
     this.scheduleControl7.ItemSelected         += new System.EventHandler(this.scheduleControl7_ItemSelected);
     this.scheduleControl7.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl6
     //
     this.scheduleControl6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl6.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 83);
     this.scheduleControl6.Location              = new System.Drawing.Point(1411, 0);
     this.scheduleControl6.Name                  = "scheduleControl6";
     this.scheduleControl6.Notes                 = "";
     this.scheduleControl6.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl6.TabIndex              = 5;
     this.scheduleControl6.NotesChanged         += new System.EventHandler(this.scheduleControl6_NotesChanged);
     this.scheduleControl6.ItemSelected         += new System.EventHandler(this.scheduleControl6_ItemSelected);
     this.scheduleControl6.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl5
     //
     this.scheduleControl5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl5.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 83);
     this.scheduleControl5.Location              = new System.Drawing.Point(1130, 0);
     this.scheduleControl5.Name                  = "scheduleControl5";
     this.scheduleControl5.Notes                 = "";
     this.scheduleControl5.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl5.TabIndex              = 4;
     this.scheduleControl5.NotesChanged         += new System.EventHandler(this.scheduleControl5_NotesChanged);
     this.scheduleControl5.ItemSelected         += new System.EventHandler(this.scheduleControl5_ItemSelected);
     this.scheduleControl5.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl4
     //
     this.scheduleControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl4.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 93);
     this.scheduleControl4.Location              = new System.Drawing.Point(849, 0);
     this.scheduleControl4.Name                  = "scheduleControl4";
     this.scheduleControl4.Notes                 = "";
     this.scheduleControl4.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl4.TabIndex              = 3;
     this.scheduleControl4.NotesChanged         += new System.EventHandler(this.scheduleControl4_NotesChanged);
     this.scheduleControl4.ItemSelected         += new System.EventHandler(this.scheduleControl4_ItemSelected);
     this.scheduleControl4.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl3
     //
     this.scheduleControl3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl3.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 103);
     this.scheduleControl3.Location              = new System.Drawing.Point(568, 0);
     this.scheduleControl3.Name                  = "scheduleControl3";
     this.scheduleControl3.Notes                 = "";
     this.scheduleControl3.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl3.TabIndex              = 2;
     this.scheduleControl3.NotesChanged         += new System.EventHandler(this.scheduleControl3_NotesChanged);
     this.scheduleControl3.ItemSelected         += new System.EventHandler(this.scheduleControl3_ItemSelected);
     this.scheduleControl3.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl2
     //
     this.scheduleControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl2.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 113);
     this.scheduleControl2.Location              = new System.Drawing.Point(286, 0);
     this.scheduleControl2.Name                  = "scheduleControl2";
     this.scheduleControl2.Notes                 = "";
     this.scheduleControl2.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl2.TabIndex              = 1;
     this.scheduleControl2.NotesChanged         += new System.EventHandler(this.scheduleControl2_NotesChanged);
     this.scheduleControl2.ItemSelected         += new System.EventHandler(this.scheduleControl2_ItemSelected);
     this.scheduleControl2.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // scheduleControl1
     //
     this.scheduleControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.scheduleControl1.Date                  = new System.DateTime(2005, 6, 21, 20, 46, 48, 123);
     this.scheduleControl1.Location              = new System.Drawing.Point(6, 0);
     this.scheduleControl1.Name                  = "scheduleControl1";
     this.scheduleControl1.Notes                 = "";
     this.scheduleControl1.Size                  = new System.Drawing.Size(279, 264);
     this.scheduleControl1.TabIndex              = 0;
     this.scheduleControl1.NotesChanged         += new System.EventHandler(this.scheduleControl1_NotesChanged);
     this.scheduleControl1.ItemSelected         += new System.EventHandler(this.scheduleControl1_ItemSelected);
     this.scheduleControl1.MouseItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scheduleControl_MouseItemDoubleClick);
     //
     // printDocWeek
     //
     this.printDocWeek.DocumentName = "Semaine entière";
     this.printDocWeek.PrintPage   += new System.Drawing.Printing.PrintPageEventHandler(this.printDocWeek_PrintPage);
     //
     // clientControl1
     //
     this.clientControl1.AutoUpdate = true;
     this.clientControl1.BackColor  = System.Drawing.SystemColors.Control;
     customer1.AttestationNumber1   = "0";
     customer1.AttestationNumber2   = "";
     customer1.BVA                   = false;
     customer1.BVADate               = new System.DateTime(2005, 5, 29, 20, 41, 11, 124);
     customer1.City                  = "";
     customer1.ClientNull            = false;
     customer1.CodePostal            = "   -";
     customer1.ContratNumber         = "0";
     customer1.DateAttestation1      = new System.DateTime(2010, 7, 2, 9, 25, 16, 698);
     customer1.DateAttestation2      = new System.DateTime(2010, 7, 2, 9, 25, 16, 698);
     customer1.DateDebutCours        = new System.DateTime(2010, 3, 11, 12, 27, 34, 946);
     customer1.DateExpiration        = new System.DateTime(2010, 3, 11, 12, 27, 34, 946);
     customer1.DateInscription       = new System.DateTime(2003, 8, 26, 0, 0, 0, 0);
     customer1.DateNaissance         = new System.DateTime(2010, 3, 11, 12, 27, 34, 946);
     customer1.DateTemporaire        = new System.DateTime(2005, 5, 29, 20, 41, 11, 124);
     customer1.DisponibilityAlway    = false;
     customer1.DisponibilityAM       = false;
     customer1.DisponibilityDimanche = false;
     customer1.DisponibilityPM       = false;
     customer1.DisponibilitySamedi   = false;
     customer1.DisponibilitySoirer   = false;
     customer1.Email                 = "";
     customer1.FirstName             = "";
     customer1.HaveTemporaire        = false;
     customer1.LastRecuNumber        = "";
     customer1.LocationAutomobile    = false;
     customer1.LocationMoto          = false;
     customer1.MontantCours          = "";
     customer1.MontantLocation       = "0 $";
     customer1.Name                  = "";
     customer1.No6R                  = "";
     customer1.Notes                 = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang3084{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" +
                                       "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs17\\par\r\n}\r\n";
     customer1.NumeroGroupe         = 0;
     customer1.NumeroPermis         = "";
     customer1.Phone                = "(418)418-418";
     customer1.PhoneBureau          = "(418)418-418";
     customer1.ProgramMoto          = Barette.Library.Client.ProgramMoto.Nothing;
     customer1.Solde                = "0 $";
     customer1.StreetApp            = "";
     customer1.StreetName           = "";
     customer1.StreetNumber         = "";
     customer1.TauxHorairePratique  = "";
     customer1.TauxHoraireTheorique = "";
     customer1.TypeClient           = Barette.Library.Client.ProfileType.Actif;
     customer1.TypeVehicule         = Barette.Library.Client.VehiculeType.Automatique;
     this.clientControl1.Client     = customer1;
     this.clientControl1.Location   = new System.Drawing.Point(587, 12);
     this.clientControl1.Name       = "clientControl1";
     this.clientControl1.School     = null;
     this.clientControl1.Size       = new System.Drawing.Size(242, 51);
     this.clientControl1.TabIndex   = 19;
     this.clientControl1.Visible    = false;
     //
     // printDocument2
     //
     this.printDocument2.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument2_PrintPage);
     //
     // menuItem6
     //
     this.menuItem6.Index  = 2;
     this.menuItem6.Text   = "Impression Journée entière";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // FormHoraire
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(962, 605);
     this.Controls.Add(this.clientControl1);
     this.Controls.Add(this.vCalendar);
     this.Controls.Add(this.tbFunction);
     this.Controls.Add(this.cbEmploye);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tabControl1);
     this.Name = "FormHoraire";
     this.Text = "FormHoraire";
     this.tabControl1.ResumeLayout(false);
     this.tpDay.ResumeLayout(false);
     this.tpDay.PerformLayout();
     this.tpWeek.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormSuivieCours));
     Barette.Library.Client.Customer customer1 = new Barette.Library.Client.Customer();
     this.tbMain                  = new System.Windows.Forms.ToolBar();
     this.tbbShowClient           = new System.Windows.Forms.ToolBarButton();
     this.tbbShowSeanceTheorique  = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator            = new System.Windows.Forms.ToolBarButton();
     this.tbbActivateModePratique = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2           = new System.Windows.Forms.ToolBarButton();
     this.tbbRefresh              = new System.Windows.Forms.ToolBarButton();
     this.imageList1              = new System.Windows.Forms.ImageList(this.components);
     this.timerResize             = new System.Windows.Forms.Timer(this.components);
     this.timerEnabled            = new System.Windows.Forms.Timer(this.components);
     this.clientControl1          = new Barette.Library.UserControls.Client.ClientControl();
     this.ListCours               = new Barette.Library.Listview.ListViewEx();
     this.colHeadContractNumber   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadClientName       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadTelephone        = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHeadTelephoneAutre   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead1                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead2                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead3                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead4                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead5                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead6                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead7                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead8                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead9                = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead10               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead11               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead12               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead13               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead14               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colHead15               = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.SuspendLayout();
     //
     // tbMain
     //
     this.tbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbShowClient,
         this.tbbShowSeanceTheorique,
         this.tbbSeparator,
         this.tbbActivateModePratique,
         this.tbbSeparator2,
         this.tbbRefresh
     });
     this.tbMain.Divider        = false;
     this.tbMain.Dock           = System.Windows.Forms.DockStyle.None;
     this.tbMain.DropDownArrows = true;
     this.tbMain.ImageList      = this.imageList1;
     this.tbMain.Location       = new System.Drawing.Point(12, 12);
     this.tbMain.Margin         = new System.Windows.Forms.Padding(3, 3, 3, 0);
     this.tbMain.Name           = "tbMain";
     this.tbMain.ShowToolTips   = true;
     this.tbMain.Size           = new System.Drawing.Size(500, 42);
     this.tbMain.TabIndex       = 57;
     this.tbMain.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.tbMain.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbMain_ButtonClick);
     //
     // tbbShowClient
     //
     this.tbbShowClient.ImageKey    = "user-group-icon.png";
     this.tbbShowClient.Name        = "tbbShowClient";
     this.tbbShowClient.Tag         = "SHOWCLIENT";
     this.tbbShowClient.ToolTipText = "Affiche le client";
     //
     // tbbShowSeanceTheorique
     //
     this.tbbShowSeanceTheorique.ImageKey    = "book-icon";
     this.tbbShowSeanceTheorique.Name        = "tbbShowSeanceTheorique";
     this.tbbShowSeanceTheorique.Tag         = "SHOWSEANCE";
     this.tbbShowSeanceTheorique.ToolTipText = "Afficher les cours théorique du client sélectionnée";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Name  = "tbbSeparator";
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbActivateModePratique
     //
     this.tbbActivateModePratique.ImageKey = "Drive.ico";
     this.tbbActivateModePratique.Name     = "tbbActivateModePratique";
     this.tbbActivateModePratique.Style    = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.tbbActivateModePratique.Tag      = "COURSPRATIQUE";
     this.tbbActivateModePratique.Text     = "Cours pratique";
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Name  = "tbbSeparator2";
     this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbRefresh
     //
     this.tbbRefresh.ImageKey    = "Refresh";
     this.tbbRefresh.Name        = "tbbRefresh";
     this.tbbRefresh.Tag         = "REFRESH";
     this.tbbRefresh.ToolTipText = "Rafraîchir la liste";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "Refresh");
     this.imageList1.Images.SetKeyName(1, "book-icon");
     this.imageList1.Images.SetKeyName(2, "user-group-icon.png");
     this.imageList1.Images.SetKeyName(3, "Drive.ico");
     //
     // timerResize
     //
     this.timerResize.Enabled = true;
     this.timerResize.Tick   += new System.EventHandler(this.timerResize_Tick);
     //
     // timerEnabled
     //
     this.timerEnabled.Enabled  = true;
     this.timerEnabled.Interval = 200;
     this.timerEnabled.Tick    += new System.EventHandler(this.timerEnabled_Tick);
     //
     // clientControl1
     //
     this.clientControl1.AutoUpdate = false;
     this.clientControl1.BackColor  = System.Drawing.SystemColors.Control;
     customer1.AttestationNumber1   = "";
     customer1.AttestationNumber2   = "";
     customer1.BVA                   = false;
     customer1.BVADate               = new System.DateTime(2005, 2, 20, 18, 50, 33, 675);
     customer1.City                  = "";
     customer1.ClientNull            = false;
     customer1.CodePostal            = "   -";
     customer1.ContratNumber         = "0";
     customer1.DateAttestation1      = new System.DateTime(2010, 6, 29, 19, 44, 39, 949);
     customer1.DateAttestation2      = new System.DateTime(2010, 6, 29, 19, 44, 39, 949);
     customer1.DateDebutCours        = new System.DateTime(2010, 3, 10, 16, 11, 1, 688);
     customer1.DateExpiration        = new System.DateTime(2010, 3, 10, 16, 11, 1, 688);
     customer1.DateInscription       = new System.DateTime(2003, 8, 26, 0, 0, 0, 0);
     customer1.DateNaissance         = new System.DateTime(2010, 3, 10, 16, 11, 1, 688);
     customer1.DateTemporaire        = new System.DateTime(2005, 2, 20, 18, 50, 33, 675);
     customer1.DisponibilityAM       = false;
     customer1.DisponibilityDimanche = false;
     customer1.DisponibilityPM       = false;
     customer1.DisponibilitySamedi   = false;
     customer1.DisponibilitySoirer   = false;
     customer1.FirstName             = "";
     customer1.HaveTemporaire        = false;
     customer1.LastRecuNumber        = "";
     customer1.LocationAutomobile    = false;
     customer1.LocationMoto          = false;
     customer1.MontantCours          = "";
     customer1.MontantLocation       = "0 $";
     customer1.Name                  = "";
     customer1.No6R                  = "";
     customer1.Notes                 = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang3084{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" +
                                       "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs17\\par\r\n}\r\n";
     customer1.NumeroGroupe         = 0;
     customer1.NumeroPermis         = "";
     customer1.Phone                = "(   )   -";
     customer1.PhoneBureau          = "(   )   -";
     customer1.Solde                = "0 $";
     customer1.StreetApp            = "";
     customer1.StreetName           = "";
     customer1.StreetNumber         = "";
     customer1.TauxHorairePratique  = "";
     customer1.TauxHoraireTheorique = "";
     customer1.TypeClient           = Barette.Library.Client.ProfileType.Actif;
     customer1.TypeVehicule         = Barette.Library.Client.VehiculeType.Automatique;
     this.clientControl1.Client     = customer1;
     this.clientControl1.Location   = new System.Drawing.Point(529, 179);
     this.clientControl1.Name       = "clientControl1";
     this.clientControl1.School     = null;
     this.clientControl1.Size       = new System.Drawing.Size(177, 160);
     this.clientControl1.TabIndex   = 58;
     this.clientControl1.Visible    = false;
     //
     // ListCours
     //
     this.ListCours.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.ListCours.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.colHeadContractNumber,
         this.colHeadClientName,
         this.colHeadTelephone,
         this.colHeadTelephoneAutre,
         this.colHead1,
         this.colHead2,
         this.colHead3,
         this.colHead4,
         this.colHead5,
         this.colHead6,
         this.colHead7,
         this.colHead8,
         this.colHead9,
         this.colHead10,
         this.colHead11,
         this.colHead12,
         this.colHead13,
         this.colHead14,
         this.colHead15
     });
     this.ListCours.FullRowSelect = true;
     this.ListCours.Location      = new System.Drawing.Point(12, 49);
     this.ListCours.MultiSelect   = false;
     this.ListCours.Name          = "ListCours";
     this.ListCours.Size          = new System.Drawing.Size(1016, 636);
     this.ListCours.TabIndex      = 55;
     this.ListCours.UseCompatibleStateImageBehavior = false;
     this.ListCours.View = System.Windows.Forms.View.Details;
     this.ListCours.SelectedIndexChanged += new System.EventHandler(this.ListCoursEffectuer_SelectedIndexChanged);
     this.ListCours.DoubleClick          += new System.EventHandler(this.ListCours_DoubleClick);
     //
     // colHeadContractNumber
     //
     this.colHeadContractNumber.Text  = "No. Contrat";
     this.colHeadContractNumber.Width = 68;
     //
     // colHeadClientName
     //
     this.colHeadClientName.Text  = "Nom du client";
     this.colHeadClientName.Width = 114;
     //
     // colHeadTelephone
     //
     this.colHeadTelephone.Text  = "Téléphone";
     this.colHeadTelephone.Width = 90;
     //
     // colHeadTelephoneAutre
     //
     this.colHeadTelephoneAutre.Text  = "Autre Téléphone";
     this.colHeadTelephoneAutre.Width = 90;
     //
     // colHead1
     //
     this.colHead1.Text      = "1";
     this.colHead1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead1.Width     = 40;
     //
     // colHead2
     //
     this.colHead2.Text      = "2";
     this.colHead2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead2.Width     = 41;
     //
     // colHead3
     //
     this.colHead3.Text      = "3";
     this.colHead3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead3.Width     = 41;
     //
     // colHead4
     //
     this.colHead4.Text      = "4";
     this.colHead4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead4.Width     = 41;
     //
     // colHead5
     //
     this.colHead5.Text      = "5";
     this.colHead5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead5.Width     = 41;
     //
     // colHead6
     //
     this.colHead6.Text      = "6";
     this.colHead6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead6.Width     = 41;
     //
     // colHead7
     //
     this.colHead7.Text      = "7";
     this.colHead7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead7.Width     = 41;
     //
     // colHead8
     //
     this.colHead8.Text      = "8";
     this.colHead8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead8.Width     = 41;
     //
     // colHead9
     //
     this.colHead9.Text      = "9";
     this.colHead9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead9.Width     = 41;
     //
     // colHead10
     //
     this.colHead10.Text      = "10";
     this.colHead10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead10.Width     = 41;
     //
     // colHead11
     //
     this.colHead11.Text      = "11";
     this.colHead11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead11.Width     = 41;
     //
     // colHead12
     //
     this.colHead12.Text      = "12";
     this.colHead12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead12.Width     = 41;
     //
     // colHead13
     //
     this.colHead13.Text      = "13";
     this.colHead13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead13.Width     = 41;
     //
     // colHead14
     //
     this.colHead14.Text      = "14";
     this.colHead14.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead14.Width     = 41;
     //
     // colHead15
     //
     this.colHead15.Text      = "15";
     this.colHead15.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.colHead15.Width     = 41;
     //
     // FormSuivieCours
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize    = new System.Drawing.Size(1040, 697);
     this.Controls.Add(this.clientControl1);
     this.Controls.Add(this.ListCours);
     this.Controls.Add(this.tbMain);
     this.Name = "FormSuivieCours";
     this.Text = "Suivie des cours";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources      = new System.ComponentModel.ComponentResourceManager(typeof(FormClientFind));
     System.Windows.Forms.ListViewGroup             listViewGroup1 = new System.Windows.Forms.ListViewGroup("Véhicule : Manuel", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup2 = new System.Windows.Forms.ListViewGroup("Véhicule : Cyclomoteur", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup3 = new System.Windows.Forms.ListViewGroup("Véhicule : Automatique", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup4 = new System.Windows.Forms.ListViewGroup("Véhicule : Motocyclette", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup             listViewGroup5 = new System.Windows.Forms.ListViewGroup("Cours Terminé", System.Windows.Forms.HorizontalAlignment.Left);
     Barette.Library.Client.Customer customer1 = new Barette.Library.Client.Customer();
     this.cmdCancel         = new System.Windows.Forms.Button();
     this.cmdAccept         = new System.Windows.Forms.Button();
     this.txtFullName       = new System.Windows.Forms.TextBox();
     this.txtNumeroContrat  = new System.Windows.Forms.TextBox();
     this.ImageListSmall    = new System.Windows.Forms.ImageList(this.components);
     this.lvClient          = new Barette.Library.Listview.ListViewEx();
     this.colhClientName    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colhClientNumber  = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colhClientNoGroup = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.clientControl1    = new Barette.Library.UserControls.Client.ClientControl();
     this.txtClear          = new System.Windows.Forms.Button();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.label1            = new System.Windows.Forms.Label();
     this.pictureBox1       = new System.Windows.Forms.PictureBox();
     this.txtGroupNumber    = new System.Windows.Forms.ComboBox();
     this.lblResult         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // cmdCancel
     //
     this.cmdCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cmdCancel.Image        = global::Barette.IDE.Properties.Resources.Cancel_2_icon;
     this.cmdCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdCancel.Location     = new System.Drawing.Point(569, 587);
     this.cmdCancel.Name         = "cmdCancel";
     this.cmdCancel.Size         = new System.Drawing.Size(88, 43);
     this.cmdCancel.TabIndex     = 6;
     this.cmdCancel.Text         = "Annuler";
     this.cmdCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.cmdCancel.Click       += new System.EventHandler(this.cmdCancel_Click);
     //
     // cmdAccept
     //
     this.cmdAccept.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdAccept.Enabled    = false;
     this.cmdAccept.Image      = global::Barette.IDE.Properties.Resources.accept_icon;
     this.cmdAccept.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdAccept.Location   = new System.Drawing.Point(479, 587);
     this.cmdAccept.Name       = "cmdAccept";
     this.cmdAccept.Size       = new System.Drawing.Size(84, 43);
     this.cmdAccept.TabIndex   = 5;
     this.cmdAccept.Text       = "OK";
     this.cmdAccept.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.cmdAccept.Click     += new System.EventHandler(this.cmdAccept_Click);
     //
     // txtFullName
     //
     this.txtFullName.Location     = new System.Drawing.Point(76, 87);
     this.txtFullName.Name         = "txtFullName";
     this.txtFullName.Size         = new System.Drawing.Size(483, 20);
     this.txtFullName.TabIndex     = 1;
     this.txtFullName.TextChanged += new System.EventHandler(this.txtFullName_TextChanged);
     //
     // txtNumeroContrat
     //
     this.txtNumeroContrat.Location     = new System.Drawing.Point(12, 87);
     this.txtNumeroContrat.Name         = "txtNumeroContrat";
     this.txtNumeroContrat.Size         = new System.Drawing.Size(63, 20);
     this.txtNumeroContrat.TabIndex     = 0;
     this.txtNumeroContrat.TextChanged += new System.EventHandler(this.txtNumeroContrat_TextChanged);
     //
     // ImageListSmall
     //
     this.ImageListSmall.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageListSmall.ImageStream")));
     this.ImageListSmall.TransparentColor = System.Drawing.Color.Transparent;
     this.ImageListSmall.Images.SetKeyName(0, "Moto");
     this.ImageListSmall.Images.SetKeyName(1, "auto.ico");
     this.ImageListSmall.Images.SetKeyName(2, "Camion.ico");
     //
     // lvClient
     //
     this.lvClient.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.colhClientName,
         this.colhClientNumber,
         this.colhClientNoGroup
     });
     this.lvClient.FullRowSelect = true;
     listViewGroup1.Header       = "Véhicule : Manuel";
     listViewGroup1.Name         = "Manuel";
     listViewGroup2.Header       = "Véhicule : Cyclomoteur";
     listViewGroup2.Name         = "Camion";
     listViewGroup3.Header       = "Véhicule : Automatique";
     listViewGroup3.Name         = "Automatique";
     listViewGroup4.Header       = "Véhicule : Motocyclette";
     listViewGroup4.Name         = "Moto";
     listViewGroup5.Header       = "Cours Terminé";
     listViewGroup5.Name         = "CoursTermine";
     this.lvClient.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
         listViewGroup1,
         listViewGroup2,
         listViewGroup3,
         listViewGroup4,
         listViewGroup5
     });
     this.lvClient.HideSelection    = false;
     this.lvClient.Location         = new System.Drawing.Point(12, 113);
     this.lvClient.MultiSelect      = false;
     this.lvClient.Name             = "lvClient";
     this.lvClient.ShowItemToolTips = true;
     this.lvClient.Size             = new System.Drawing.Size(645, 293);
     this.lvClient.SmallImageList   = this.ImageListSmall;
     this.lvClient.TabIndex         = 4;
     this.lvClient.UseCompatibleStateImageBehavior = false;
     this.lvClient.View = System.Windows.Forms.View.Details;
     this.lvClient.SelectedIndexChanged += new System.EventHandler(this.lvClient_SelectedIndexChanged);
     this.lvClient.DoubleClick          += new System.EventHandler(this.lvClient_DoubleClick);
     //
     // colhClientName
     //
     this.colhClientName.DisplayIndex = 1;
     this.colhClientName.Text         = "Nom";
     this.colhClientName.Width        = 484;
     //
     // colhClientNumber
     //
     this.colhClientNumber.DisplayIndex = 0;
     this.colhClientNumber.Text         = "#Contrat";
     this.colhClientNumber.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.colhClientNumber.Width        = 61;
     //
     // colhClientNoGroup
     //
     this.colhClientNoGroup.Text  = "Nº Groupe";
     this.colhClientNoGroup.Width = 69;
     //
     // clientControl1
     //
     this.clientControl1.AutoUpdate = true;
     this.clientControl1.BackColor  = System.Drawing.SystemColors.Control;
     customer1.AttestationNumber1   = "0";
     customer1.AttestationNumber2   = "0";
     customer1.BVA                   = false;
     customer1.BVADate               = new System.DateTime(2010, 10, 2, 15, 17, 42, 41);
     customer1.City                  = "";
     customer1.ClientNull            = false;
     customer1.CodePostal            = "   -";
     customer1.ContratNumber         = "0";
     customer1.DateAttestation1      = new System.DateTime(2010, 5, 26, 14, 42, 36, 938);
     customer1.DateAttestation2      = new System.DateTime(2010, 5, 26, 14, 42, 36, 938);
     customer1.DateDebutCours        = new System.DateTime(2003, 8, 26, 0, 0, 0, 0);
     customer1.DateExpiration        = new System.DateTime(2003, 8, 26, 0, 0, 0, 0);
     customer1.DateInscription       = new System.DateTime(2003, 8, 26, 0, 0, 0, 0);
     customer1.DateNaissance         = new System.DateTime(2010, 10, 2, 15, 17, 42, 92);
     customer1.DateTemporaire        = new System.DateTime(2010, 10, 2, 15, 17, 42, 37);
     customer1.DisponibilityAlway    = false;
     customer1.DisponibilityAM       = false;
     customer1.DisponibilityDimanche = false;
     customer1.DisponibilityPM       = false;
     customer1.DisponibilitySamedi   = false;
     customer1.DisponibilitySoirer   = false;
     customer1.Email                 = "";
     customer1.FirstName             = "";
     customer1.HaveTemporaire        = false;
     customer1.LastRecuNumber        = "0";
     customer1.LocationAutomobile    = false;
     customer1.LocationMoto          = false;
     customer1.MontantCours          = "";
     customer1.MontantLocation       = "0 $";
     customer1.Name                  = "";
     customer1.No6R                  = "";
     customer1.Notes                 = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang3084{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" +
                                       "ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs17\\par\r\n}\r\n";
     customer1.NumeroGroupe         = 0;
     customer1.NumeroPermis         = "";
     customer1.Phone                = "(   )   -";
     customer1.PhoneBureau          = "(   )   -";
     customer1.Solde                = "0 $";
     customer1.StreetApp            = "";
     customer1.StreetName           = "";
     customer1.StreetNumber         = "0";
     customer1.TauxHorairePratique  = "0 $";
     customer1.TauxHoraireTheorique = "0 $";
     customer1.TypeClient           = Barette.Library.Client.ProfileType.Actif;
     customer1.TypeVehicule         = Barette.Library.Client.VehiculeType.Automatique;
     this.clientControl1.Client     = customer1;
     this.clientControl1.Enabled    = false;
     this.clientControl1.Location   = new System.Drawing.Point(12, 303);
     this.clientControl1.Name       = "clientControl1";
     this.clientControl1.School     = null;
     this.clientControl1.Size       = new System.Drawing.Size(645, 272);
     this.clientControl1.TabIndex   = 8;
     this.clientControl1.TabStop    = false;
     //
     // txtClear
     //
     this.txtClear.Location = new System.Drawing.Point(637, 88);
     this.txtClear.Name     = "txtClear";
     this.txtClear.Size     = new System.Drawing.Size(20, 20);
     this.txtClear.TabIndex = 3;
     this.txtClear.Text     = "X";
     this.toolTip1.SetToolTip(this.txtClear, "Supprimer le text de recherche");
     this.txtClear.UseVisualStyleBackColor = true;
     this.txtClear.Click += new System.EventHandler(this.txtClear_Click);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(64, 20);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(443, 32);
     this.label1.TabIndex  = 12;
     this.label1.Text      = "Inscrivez le texte à rechercher dans l’une des cases si dessous. \r\nSi vous n’insc" +
                             "rivez aucun texte, tous les clients apparaîtront dans la zone de recherche. ";
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image     = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location  = new System.Drawing.Point(26, 20);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(32, 32);
     this.pictureBox1.TabIndex  = 11;
     this.pictureBox1.TabStop   = false;
     //
     // txtGroupNumber
     //
     this.txtGroupNumber.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.txtGroupNumber.FlatStyle         = System.Windows.Forms.FlatStyle.System;
     this.txtGroupNumber.FormattingEnabled = true;
     this.txtGroupNumber.Location          = new System.Drawing.Point(560, 87);
     this.txtGroupNumber.Name                  = "txtGroupNumber";
     this.txtGroupNumber.Size                  = new System.Drawing.Size(68, 21);
     this.txtGroupNumber.TabIndex              = 13;
     this.txtGroupNumber.SelectedIndexChanged += new System.EventHandler(this.txtGroupNumber_TextChanged);
     //
     // lblResult
     //
     this.lblResult.AutoSize = true;
     this.lblResult.Location = new System.Drawing.Point(12, 67);
     this.lblResult.Name     = "lblResult";
     this.lblResult.Size     = new System.Drawing.Size(14, 13);
     this.lblResult.TabIndex = 14;
     this.lblResult.Text     = "#";
     //
     // FormClientFind
     //
     this.AcceptButton        = this.cmdAccept;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.cmdCancel;
     this.ClientSize          = new System.Drawing.Size(669, 641);
     this.ControlBox          = false;
     this.Controls.Add(this.lblResult);
     this.Controls.Add(this.txtGroupNumber);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.txtClear);
     this.Controls.Add(this.lvClient);
     this.Controls.Add(this.clientControl1);
     this.Controls.Add(this.txtNumeroContrat);
     this.Controls.Add(this.txtFullName);
     this.Controls.Add(this.cmdCancel);
     this.Controls.Add(this.cmdAccept);
     this.DoubleBuffered  = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "FormClientFind";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Recherche de clients";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }