Example #1
0
 public GetItRight()
 {
     InitializeComponent();
     this.StudentHandler = new StudentHandler();
     this.TreeViewStudents.NodeMouseDoubleClick += treeView1_NodeMouseDoubleClick;
     this.TreeViewStudents.NodeMouseHover       += TreeViewStudentsOnNodeMouseHover;
     this.ShowData.MouseDoubleClick             += ModifData;
 }
Example #2
0
 public GetItRight_SaveList(StudentHandler _studentHandler)
 {
     this.StudentHandler = _studentHandler;
     InitializeComponent();
     this.FileName.KeyPress += (sender, args) =>
     {
         if ((Keys)args.KeyChar == Keys.Enter)
         {
             Save_Click(this, EventArgs.Empty);
         }
     }; //Fast Input
 }