示例#1
0
 public frmIncognito(applicationsList list)
 {
     InitializeComponent();
     this.Icon = Properties.Resources.Chrome_Incognito;
     blockerList = list;
     applicationsListBindingSource.DataSource = blockerList;
     /*listApp.DataSource = applicationsListBindingSource;
     listApp.DisplayMember = "Status";*/
 }
示例#2
0
 public frmIncognito()
 {
     InitializeComponent();
     blockerList = new applicationsList();
     /*listApp.DataSource = blockerList;
     listApp.DisplayMember = "Status";
     listApp.ValueMember = "AppName";
     listApp.Refresh();
     listApp.Update();*/
 }
示例#3
0
 static void Main()
 {
     applicationsList blockerList = new applicationsList();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     /*blockerList.Add(new fileBlocker("Explorer", "1b4dd67f29cb1962"));
     blockerList.Add(new fileBlocker("Media player classic", "d7a07b8500c35d28"));
     blockerList.Add(new fileBlocker("Notepad", "9b9cdc69c1c24e2b"));*/
     Application.Run(new frmIncognito(blockerList));
 }