public Presenter(iView view) { this.view = view; CesarCrypt = new Derypt(); CesarEncrypt = new Encrypt(); view.Settings_btn += new EventHandler(Open_Settings); view.Download_btn += new EventHandler(Open_Downloader); view.Rename_btn += new EventHandler(Rename); view.UpdateListView += new EventHandler(UpdateList); view.DisksOutput += new EventHandler(OutputDisks); view.GoBack += new EventHandler(GoBack); view.Delete_btn += new EventHandler(Delete); view.Archiving_btn += new EventHandler(Archiving); view.Paste_btn += new EventHandler(Paste); view.Stat_btn += new EventHandler(Stat); view.DoubleClick_btn += new EventHandler(Open_Or_Go); view.DoubleClick_Right_ListView += new EventHandler(Click_ListView_Second); view.Search_btn += new EventHandler(Search); view.PatternSearch_box += new EventHandler(Search_By_Name); view.Hash_btn += new EventHandler(GetHash); view.Create_Folder += new EventHandler(Create_Folder); view.Create_File += new EventHandler(Create_File); view.Encrypt += new EventHandler(Encrypt); view.Decrypt += new EventHandler(Decrypt); }
public Encrypt() { myNum = 0; c = new Derypt(); }