IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Dotnet Discussion :

Gestion du contenu d'une fênetre suivant choix de l'utilisateur


Sujet :

Dotnet

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    AkH
    AkH est déconnecté
    Membre confirmé
    Homme Profil pro
    Perso
    Inscrit en
    Juillet 2005
    Messages
    58
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 41
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Perso

    Informations forums :
    Inscription : Juillet 2005
    Messages : 58
    Par défaut Gestion du contenu d'une fênetre suivant choix de l'utilisateur
    Bonjour,

    Je débute en Java/J# ainsi qu'en utilisation d'interface graphique (je code en C/C++ sans GUI)
    Mon problème est le suivant:

    Je souhaite créer une simple application de gestion de réservation de salles en J# couplé à une BDD MySQL.
    Les fonctionnalités du programmes sont les suivantes: Formulaire de réservation, Recherche de salle disponible et Ajout/Supprission de salles.

    Afin d'éclaircir au maximun l'interface utilisateur, je souhaite qu'elle possède cette apparence:


    Si l'utilisateur clique sur le premier bouton, un formulaire apparaît, sur le deuxième un formulaire de recherche et sur le troisième un formulaire d'ajout/suppression.

    J'ai construi la première page à l'aide de Visual Studio J# dont le code est fournit plus bas.
    Je souhaiterais supprimer le groupBox1 (deuxième cadre si dessus dans la fenetre) et afficher un autre groupBox(2) si l'utilisateur clique sur le 2eme bouton.

    J'ai penser à mettre tout ce qui concernait la création du groupBox1 dans une fonction et faire un "groupBox1.Dispose()" si on clique sur un autre bouton que le 1er et appeler cette fonction pour reconstruire le groupBox1.

    Le problème est que je n'arrive pas à savoir quel doivent être les élements qui doivent être présent dans cette fonction.
    Est-ce la bonne méthode, si oui pouvez vous m'aider à le faire, après il sera de même pour les deux autre boutons.

    Voici le code de la page:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    925
    926
    927
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
     
     
    package
     
    WindowsApplication1;
    import
     
    System.Collections.Generic.*;
    import
     
    System.Data.*;
    import
     
    System.Drawing.*;
    import
     
    System.ComponentModel.*;
    import
     
    System.Windows.Forms.*;
    /**
     
    * Description r?sum?e de Form1.
     
    */
     
    public
     
    classForm1extends System.Windows.Forms.Form
    {
     
     
    privatePanel panel1;
     
    privateButton button3;
     
    privateButton button2;
     
    privateButton button1;
     
    privatePanel panel2;
     
    privateButton button4;
     
    privateGroupBox groupBox1;
     
    privateLabel label3;
     
    privateLabel label2;
     
    privateLabel label1;
     
    privateRichTextBox richTextBox1;
     
    privateLabel label7;
     
    privateLabel label6;
     
    privateLabel label5;
     
    privateLabel label4;
     
    privateTextBox textBox2;
     
    privateTextBox textBox1;
     
    privateComboBox comboBox1;
     
    privateComboBox comboBox3;
     
    privateComboBox comboBox2;
     
    privateTextBox textBox3;
     
    privateLabel label9;
     
    privateLabel label8;
     
    privateNumericUpDown numericUpDown1;
     
    privateDateTimePicker dateTimePicker1;
     
    privateLabel label10;
     
    privateCheckBox checkBox3;
     
    privateCheckBox checkBox2;
     
    privateCheckBox checkBox1;
     
    privateButton button6;
     
    privateButton button5;
     
    /**
    * Variable n?cessaire au concepteur.
     
    */
     
     
    privateSystem.ComponentModel.IContainer components;
     
    public Form1()
    {
     
     
    //
     
    // Requis pour la prise en charge du Concepteur Windows Form
     
    //
    InitializeComponent();
     
     
    //
     
    // TODOÿ: ajoutez le code constructeur apr?s l'appel InitializeComponent
     
    //
    }
     
    #region
     
    Code g?n?r? par le Concepteur Windows Form
     
    /**
    * Nettoyage des ressources utilis?es.
     
    */
     
     
    protectedvoid Dispose(boolean disposing)
    {
     
     
    if (disposing)
    {
     
     
    if (components != null)
    {
     
    components.Dispose();
     
    }
     
    }
     
     
    super.Dispose(disposing);
    }
     
     
    /**
    * M?thode requise pour la prise en charge du concepteur - ne modifiez pas
     
    * le contenu de cette m?thode avec l'?diteur de code.
     
    */
     
     
    privatevoid InitializeComponent()
    {
     
     
    this.panel1 = newSystem.Windows.Forms.Panel();
     
    this.button4 = newSystem.Windows.Forms.Button();
     
    this.button3 = newSystem.Windows.Forms.Button();
     
    this.button2 = newSystem.Windows.Forms.Button();
     
    this.button1 = newSystem.Windows.Forms.Button();
     
    this.panel2 = newSystem.Windows.Forms.Panel();
     
    this.groupBox1 = newSystem.Windows.Forms.GroupBox();
     
    this.button6 = newSystem.Windows.Forms.Button();
     
    this.button5 = newSystem.Windows.Forms.Button();
     
    this.numericUpDown1 = newSystem.Windows.Forms.NumericUpDown();
     
    this.dateTimePicker1 = newSystem.Windows.Forms.DateTimePicker();
     
    this.label10 = newSystem.Windows.Forms.Label();
     
    this.checkBox3 = newSystem.Windows.Forms.CheckBox();
     
    this.checkBox2 = newSystem.Windows.Forms.CheckBox();
     
    this.checkBox1 = newSystem.Windows.Forms.CheckBox();
     
    this.textBox3 = newSystem.Windows.Forms.TextBox();
     
    this.label9 = newSystem.Windows.Forms.Label();
     
    this.label8 = newSystem.Windows.Forms.Label();
     
    this.comboBox3 = newSystem.Windows.Forms.ComboBox();
     
    this.comboBox2 = newSystem.Windows.Forms.ComboBox();
     
    this.textBox2 = newSystem.Windows.Forms.TextBox();
     
    this.textBox1 = newSystem.Windows.Forms.TextBox();
     
    this.comboBox1 = newSystem.Windows.Forms.ComboBox();
     
    this.richTextBox1 = newSystem.Windows.Forms.RichTextBox();
     
    this.label7 = newSystem.Windows.Forms.Label();
     
    this.label6 = newSystem.Windows.Forms.Label();
     
    this.label5 = newSystem.Windows.Forms.Label();
     
    this.label4 = newSystem.Windows.Forms.Label();
     
    this.label3 = newSystem.Windows.Forms.Label();
     
    this.label2 = newSystem.Windows.Forms.Label();
     
    this.label1 = newSystem.Windows.Forms.Label();
     
    this.panel1.SuspendLayout();
     
    this.groupBox1.SuspendLayout();
    ((
     
    System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     
    this.SuspendLayout();
     
    // 
     
    // panel1
     
    // 
     
    this.panel1.get_Controls().Add(this.button4);
     
    this.panel1.get_Controls().Add(this.button3);
     
    this.panel1.get_Controls().Add(this.button2);
     
    this.panel1.get_Controls().Add(this.button1);
     
    this.panel1.get_Controls().Add(this.panel2);
     
    this.panel1.set_Location(newSystem.Drawing.Point(2, 1));
     
    this.panel1.set_Name("panel1");
     
    this.panel1.set_Size(newSystem.Drawing.Size(582, 43));
     
    this.panel1.set_TabIndex(0);
     
    // 
     
    // button4
     
    // 
     
    this.button4.set_Location(newSystem.Drawing.Point(377, 12));
     
    this.button4.set_Name("button4");
     
    this.button4.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button4.set_TabIndex(5);
     
    this.button4.set_Text("Quitter");
     
    this.button4.set_UseVisualStyleBackColor(true);
     
    this.button4.add_Click(newSystem.EventHandler(this.button4_Click));
     
    // 
     
    // button3
     
    // 
     
    this.button3.set_Location(newSystem.Drawing.Point(295, 12));
     
    this.button3.set_Name("button3");
     
    this.button3.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button3.set_TabIndex(4);
     
    this.button3.set_Text("Ajout/Suppression");
     
    this.button3.set_UseVisualStyleBackColor(true);
     
    this.button3.add_Click(newSystem.EventHandler(this.button3_Click));
     
    // 
     
    // button2
     
    // 
     
    this.button2.set_Location(newSystem.Drawing.Point(213, 12));
     
    this.button2.set_Name("button2");
     
    this.button2.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button2.set_TabIndex(3);
     
    this.button2.set_Text("Recherche");
     
    this.button2.set_UseVisualStyleBackColor(true);
     
    this.button2.add_Click(newSystem.EventHandler(this.button2_Click));
     
    // 
     
    // button1
     
    // 
     
    this.button1.set_Location(newSystem.Drawing.Point(131, 11));
     
    this.button1.set_Name("button1");
     
    this.button1.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button1.set_TabIndex(2);
     
    this.button1.set_Text("Reservation");
     
    this.button1.set_UseVisualStyleBackColor(true);
     
    this.button1.add_Click(newSystem.EventHandler(this.button1_Click));
     
    // 
     
    // panel2
     
    // 
     
    this.panel2.set_Location(newSystem.Drawing.Point(0, 49));
     
    this.panel2.set_Name("panel2");
     
    this.panel2.set_Size(newSystem.Drawing.Size(279, 213));
     
    this.panel2.set_TabIndex(1);
     
    // 
     
    // groupBox1
     
    // 
     
    this.groupBox1.get_Controls().Add(this.button6);
     
    this.groupBox1.get_Controls().Add(this.button5);
     
    this.groupBox1.get_Controls().Add(this.numericUpDown1);
     
    this.groupBox1.get_Controls().Add(this.dateTimePicker1);
     
    this.groupBox1.get_Controls().Add(this.label10);
     
    this.groupBox1.get_Controls().Add(this.checkBox3);
     
    this.groupBox1.get_Controls().Add(this.checkBox2);
     
    this.groupBox1.get_Controls().Add(this.checkBox1);
     
    this.groupBox1.get_Controls().Add(this.textBox3);
     
    this.groupBox1.get_Controls().Add(this.label9);
     
    this.groupBox1.get_Controls().Add(this.label8);
     
    this.groupBox1.get_Controls().Add(this.comboBox3);
     
    this.groupBox1.get_Controls().Add(this.comboBox2);
     
    this.groupBox1.get_Controls().Add(this.textBox2);
     
    this.groupBox1.get_Controls().Add(this.textBox1);
     
    this.groupBox1.get_Controls().Add(this.comboBox1);
     
    this.groupBox1.get_Controls().Add(this.richTextBox1);
     
    this.groupBox1.get_Controls().Add(this.label7);
     
    this.groupBox1.get_Controls().Add(this.label6);
     
    this.groupBox1.get_Controls().Add(this.label5);
     
    this.groupBox1.get_Controls().Add(this.label4);
     
    this.groupBox1.get_Controls().Add(this.label3);
     
    this.groupBox1.get_Controls().Add(this.label2);
     
    this.groupBox1.get_Controls().Add(this.label1);
     
    this.groupBox1.set_Location(newSystem.Drawing.Point(2, 50));
     
    this.groupBox1.set_Name("groupBox1");
     
    this.groupBox1.set_Size(newSystem.Drawing.Size(582, 511));
     
    this.groupBox1.set_TabIndex(1);
     
    this.groupBox1.set_TabStop(false);
     
    this.groupBox1.set_Text("Reservation d\'une salle");
     
    this.groupBox1.add_Enter(newSystem.EventHandler(this.groupBox1_Enter));
     
    // 
     
    // button6
     
    // 
     
    this.button6.set_Location(newSystem.Drawing.Point(295, 469));
     
    this.button6.set_Name("button6");
     
    this.button6.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button6.set_TabIndex(25);
     
    this.button6.set_Text("Annuler");
     
    this.button6.set_UseVisualStyleBackColor(true);
     
    this.button6.add_Click(newSystem.EventHandler(this.button6_Click));
     
    // 
     
    // button5
     
    // 
     
    this.button5.set_Location(newSystem.Drawing.Point(204, 469));
     
    this.button5.set_Name("button5");
     
    this.button5.set_Size(newSystem.Drawing.Size(75, 23));
     
    this.button5.set_TabIndex(24);
     
    this.button5.set_Text("Valider");
     
    this.button5.set_UseVisualStyleBackColor(true);
     
    this.button5.add_Click(newSystem.EventHandler(this.button5_Click));
     
    // 
     
    // numericUpDown1
     
    // 
     
    this.numericUpDown1.set_Location(newSystem.Drawing.Point(337, 377));
     
    this.numericUpDown1.set_Name("numericUpDown1");
     
    this.numericUpDown1.set_Size(newSystem.Drawing.Size(52, 20));
     
    this.numericUpDown1.set_TabIndex(23);
     
    // 
     
    // dateTimePicker1
     
    // 
     
    this.dateTimePicker1.set_Location(newSystem.Drawing.Point(113, 129));
     
    this.dateTimePicker1.set_Name("dateTimePicker1");
     
    this.dateTimePicker1.set_Size(newSystem.Drawing.Size(200, 20));
     
    this.dateTimePicker1.set_TabIndex(22);
     
    // 
     
    // label10
     
    // 
     
    this.label10.set_AutoSize(true);
     
    this.label10.set_Location(newSystem.Drawing.Point(104, 377));
     
    this.label10.set_Name("label10");
     
    this.label10.set_Size(newSystem.Drawing.Size(213, 13));
     
    this.label10.set_TabIndex(21);
     
    this.label10.set_Text("Nombres de postes ayant besoins d\'Internet");
     
    // 
     
    // checkBox3
     
    // 
     
    this.checkBox3.set_AutoSize(true);
     
    this.checkBox3.set_Location(newSystem.Drawing.Point(319, 345));
     
    this.checkBox3.set_Name("checkBox3");
     
    this.checkBox3.set_Size(newSystem.Drawing.Size(87, 17));
     
    this.checkBox3.set_TabIndex(20);
     
    this.checkBox3.set_Text("Papperboard");
     
    this.checkBox3.set_UseVisualStyleBackColor(true);
     
    // 
     
    // checkBox2
     
    // 
     
    this.checkBox2.set_AutoSize(true);
     
    this.checkBox2.set_Location(newSystem.Drawing.Point(213, 345));
     
    this.checkBox2.set_Name("checkBox2");
     
    this.checkBox2.set_Size(newSystem.Drawing.Size(100, 17));
     
    this.checkBox2.set_TabIndex(19);
     
    this.checkBox2.set_Text("Vid?oprojecteur");
     
    this.checkBox2.set_UseVisualStyleBackColor(true);
     
    // 
     
    // checkBox1
     
    // 
     
    this.checkBox1.set_AutoSize(true);
     
    this.checkBox1.set_Location(newSystem.Drawing.Point(107, 345));
     
    this.checkBox1.set_Name("checkBox1");
     
    this.checkBox1.set_Size(newSystem.Drawing.Size(99, 17));
     
    this.checkBox1.set_TabIndex(18);
     
    this.checkBox1.set_Text("R?troprojecteur");
     
    this.checkBox1.set_UseVisualStyleBackColor(true);
     
    // 
     
    // textBox3
     
    // 
     
    this.textBox3.set_Location(newSystem.Drawing.Point(182, 414));
     
    this.textBox3.set_Name("textBox3");
     
    this.textBox3.set_Size(newSystem.Drawing.Size(207, 20));
     
    this.textBox3.set_TabIndex(16);
     
    // 
     
    // label9
     
    // 
     
    this.label9.set_AutoSize(true);
     
    this.label9.set_Location(newSystem.Drawing.Point(40, 414));
     
    this.label9.set_Name("label9");
     
    this.label9.set_Size(newSystem.Drawing.Size(134, 13));
     
    this.label9.set_TabIndex(15);
     
    this.label9.set_Text("Adresse email de r?ponse :");
     
    // 
     
    // label8
     
    // 
     
    this.label8.set_AutoSize(true);
     
    this.label8.set_Location(newSystem.Drawing.Point(40, 345));
     
    this.label8.set_Name("label8");
     
    this.label8.set_Size(newSystem.Drawing.Size(50, 13));
     
    this.label8.set_TabIndex(14);
     
    this.label8.set_Text("Besoins :");
     
    // 
     
    // comboBox3
     
    // 
     
    this.comboBox3.set_FormattingEnabled(true);
     
    this.comboBox3.set_Location(newSystem.Drawing.Point(130, 207));
     
    this.comboBox3.set_Name("comboBox3");
     
    this.comboBox3.set_Size(newSystem.Drawing.Size(99, 21));
     
    this.comboBox3.set_TabIndex(13);
     
    // 
     
    // comboBox2
     
    // 
     
    this.comboBox2.set_FormattingEnabled(true);
     
    this.comboBox2.set_Location(newSystem.Drawing.Point(130, 169));
     
    this.comboBox2.set_Name("comboBox2");
     
    this.comboBox2.set_Size(newSystem.Drawing.Size(99, 21));
     
    this.comboBox2.set_TabIndex(12);
     
    // 
     
    // textBox2
     
    // 
     
    this.textBox2.set_Location(newSystem.Drawing.Point(148, 92));
     
    this.textBox2.set_Name("textBox2");
     
    this.textBox2.set_Size(newSystem.Drawing.Size(392, 20));
     
    this.textBox2.set_TabIndex(11);
     
    // 
     
    // textBox1
     
    // 
     
    this.textBox1.set_Location(newSystem.Drawing.Point(165, 55));
     
    this.textBox1.set_Name("textBox1");
     
    this.textBox1.set_Size(newSystem.Drawing.Size(256, 20));
     
    this.textBox1.set_TabIndex(10);
     
    // 
     
    // comboBox1
     
    // 
     
    this.comboBox1.set_FormattingEnabled(true);
     
    this.comboBox1.set_Location(newSystem.Drawing.Point(85, 24));
     
    this.comboBox1.set_Name("comboBox1");
     
    this.comboBox1.set_Size(newSystem.Drawing.Size(121, 21));
     
    this.comboBox1.set_TabIndex(9);
     
    // 
     
    // richTextBox1
     
    // 
     
    this.richTextBox1.set_Location(newSystem.Drawing.Point(130, 250));
     
    this.richTextBox1.set_Name("richTextBox1");
     
    this.richTextBox1.set_Size(newSystem.Drawing.Size(440, 81));
     
    this.richTextBox1.set_TabIndex(8);
     
    this.richTextBox1.set_Text("");
     
    // 
     
    // label7
     
    // 
     
    this.label7.set_AutoSize(true);
     
    this.label7.set_Location(newSystem.Drawing.Point(39, 248));
     
    this.label7.set_Name("label7");
     
    this.label7.set_Size(newSystem.Drawing.Size(79, 13));
     
    this.label7.set_TabIndex(7);
     
    this.label7.set_Text("Commentaires :");
     
    // 
     
    // label6
     
    // 
     
    this.label6.set_AutoSize(true);
     
    this.label6.set_Location(newSystem.Drawing.Point(38, 209));
     
    this.label6.set_Name("label6");
     
    this.label6.set_Size(newSystem.Drawing.Size(71, 13));
     
    this.label6.set_TabIndex(5);
     
    this.label6.set_Text("Heure de fin :");
     
    // 
     
    // label5
     
    // 
     
    this.label5.set_AutoSize(true);
     
    this.label5.set_Location(newSystem.Drawing.Point(37, 172));
     
    this.label5.set_Name("label5");
     
    this.label5.set_Size(newSystem.Drawing.Size(87, 13));
     
    this.label5.set_TabIndex(4);
     
    this.label5.set_Text("Heure de d?but :");
     
    // 
     
    // label4
     
    // 
     
    this.label4.set_AutoSize(true);
     
    this.label4.set_Location(newSystem.Drawing.Point(38, 129));
     
    this.label4.set_Name("label4");
     
    this.label4.set_Size(newSystem.Drawing.Size(36, 13));
     
    this.label4.set_TabIndex(3);
     
    this.label4.set_Text("Date :");
     
    // 
     
    // label3
     
    // 
     
    this.label3.set_AutoSize(true);
     
    this.label3.set_Location(newSystem.Drawing.Point(40, 95));
     
    this.label3.set_Name("label3");
     
    this.label3.set_Size(newSystem.Drawing.Size(102, 13));
     
    this.label3.set_TabIndex(2);
     
    this.label3.set_Text("Objet de la r?union :");
     
    this.label3.add_Click(newSystem.EventHandler(this.label3_Click));
     
    // 
     
    // label2
     
    // 
     
    this.label2.set_AutoSize(true);
     
    this.label2.set_Location(newSystem.Drawing.Point(38, 58));
     
    this.label2.set_Name("label2");
     
    this.label2.set_Size(newSystem.Drawing.Size(121, 13));
     
    this.label2.set_TabIndex(1);
     
    this.label2.set_Text("Pr?sident de la s?ance :");
     
    this.label2.add_Click(newSystem.EventHandler(this.label2_Click));
     
    // 
     
    // label1
     
    // 
     
    this.label1.set_AutoSize(true);
     
    this.label1.set_Location(newSystem.Drawing.Point(39, 27));
     
    this.label1.set_Name("label1");
     
    this.label1.set_Size(newSystem.Drawing.Size(36, 13));
     
    this.label1.set_TabIndex(0);
     
    this.label1.set_Text("Salle :");
     
    this.label1.add_Click(newSystem.EventHandler(this.label1_Click_1));
     
    // 
     
    // Form1
     
    // 
     
    this.set_AutoScaleDimensions(newSystem.Drawing.SizeF(6F, 13F));
     
    this.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     
    this.set_ClientSize(newSystem.Drawing.Size(584, 564));
     
    this.get_Controls().Add(this.panel1);
     
    this.get_Controls().Add(this.groupBox1);
     
    this.set_Name("Form1");
     
    this.set_Text("Gestion de reservations de salles");
     
    this.add_Load(newSystem.EventHandler(this.Form1_Load));
     
    this.panel1.ResumeLayout(false);
     
    this.groupBox1.ResumeLayout(false);
     
    this.groupBox1.PerformLayout();
    ((
     
    System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     
    this.ResumeLayout(false);
    }
     
    #endregion
     
     
    privatevoid button1_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid button2_Click(Object sender, System.EventArgs e)
    {
     
     
    this.groupBox1.Dispose();
    }
     
     
    privatevoid button3_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid button4_Click(Object sender, System.EventArgs e)
    {
     
     
    System.exit(0);
    }
     
     
    privatevoid button5_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid button6_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid Form1_Load(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid label1_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid label2_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid label3_Click(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid splitContainer1_Panel2_Paint(Object sender, PaintEventArgs e)
    {
     
    }
     
     
    privatevoid groupBox1_Enter(Object sender, System.EventArgs e)
    {
     
    }
     
     
    privatevoid label1_Click_1(Object sender, System.EventArgs e)
    {
     
    }
     
    }


    merci de votre aide

  2. #2
    Membre Expert
    Avatar de natha
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    2 346
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Janvier 2006
    Messages : 2 346
    Par défaut
    C'est une question DotNet et pas une question Java.
    J# n'est qu'une grammaire pour faire du DotNet.
    D'ailleurs je te conseillerais plutôt de coder en C# si tu fais du DotNet plutôt que J# qui est plus un "argument de vente" et/ou "prof of concept" qu'un réel atout technique.

Discussions similaires

  1. Réponses: 2
    Dernier message: 17/10/2014, 14h26
  2. Réponses: 0
    Dernier message: 12/11/2013, 14h13
  3. Filtrer View d'une librairie suivant Pays de l'utilisateur
    Par richardprod dans le forum SharePoint
    Réponses: 1
    Dernier message: 17/12/2012, 09h21
  4. Faire varier le contenu d'une JSP suivant le résultat d'une fonction
    Par gégé140488 dans le forum Servlets/JSP
    Réponses: 3
    Dernier message: 25/10/2011, 08h47
  5. [DEB] Controler le contenu d'une liste de choix
    Par Superbretzel dans le forum Modélisation
    Réponses: 2
    Dernier message: 10/02/2008, 18h13

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo