Example #1
0
 /// <summary>
 /// Constructeur de la classe
 /// </summary>
 /// <param name="myParent">myParent, fenĂȘtre principale de l'application</param>
 public PanelCreerTicket(FrmMenu myParent)
 {
     this.lblTitre = new Label();
     this.txtNom = new TextBox();
     this.lblNom = new Label();
     this.lblContenu = new Label();
     this.lblDate = new Label();
     this.lblCat = new Label();
     this.rtxtContenu = new RichTextBox();
     this.btnValider = new Button();
     this.dTPDate = new DateTimePicker();
     this.lblPrio = new Label();
     this.listPrio = new ListBox();
     this.listCat = new ListBox();
     this.lblErr = new Label();
     this.myParent = myParent;
     this.myTicket = new Ticket();
     this.SuspendLayout();
     initComponents();
 }
 /// <summary>
 /// Constructeurs de la classe
 /// </summary>
 /// <param name="id">id, identifiant du ticket</param>
 public PanelDetailsTicket(int id)
 {
     this.lblTitre = new Label();
     this.txtNom = new TextBox();
     this.lblNom = new Label();
     this.lblContenu = new Label();
     this.lblDate = new Label();
     this.lblCat = new Label();
     this.lblPrio = new Label();
     this.rtxtContenu = new RichTextBox();
     this.txtDate = new TextBox();
     this.txtCat = new TextBox();
     this.txtPrio = new TextBox();
     this.lblEtat = new Label();
     this.txtEtat = new TextBox();
     this.btnFermer = new Button();
     this.monTicket = new Ticket();
     this.monTicket.GetTicket(id);
     this.SuspendLayout();
     initComponents();
 }
Example #3
0
 public frmGenerateTicket()
 {
     InitializeComponent();
     ticket = new Ticket();
     crystalReportViewer1.Visible = false;
 }