public GetItRight() { InitializeComponent(); this.StudentHandler = new StudentHandler(); this.TreeViewStudents.NodeMouseDoubleClick += treeView1_NodeMouseDoubleClick; this.TreeViewStudents.NodeMouseHover += TreeViewStudentsOnNodeMouseHover; this.ShowData.MouseDoubleClick += ModifData; }
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 }