Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            firstItemSelected = false;
            cancelSearch      = false;

            gBoxLogs.Enabled = false;
            gBoxFavs.Enabled = false;

            infos = TmpInfo.Instance;

            new Settings().loadSettings();

            editLV = new EditListView();
            editLV.addGroups(new ListView[] { lViewLogs, lViewFavorites });

            xml = new UseXML();
            tc  = new UseTrueCrypt();

            content      = new Content(this);
            content.Dock = DockStyle.Fill;
            pCustomAction.Controls.Add(content);

            lastOrderB = btOrderGroups;
            lastOrderB.FlatAppearance.BorderSize = 2;

            Thread.Sleep(2000);
        }
Exemplo n.º 2
0
 public LoginJob(MainWindow main)
 {
     infos     = TmpInfo.Instance;
     tc        = new UseTrueCrypt();
     this.main = main;
 }