Esempio n. 1
0
 public UrlListDisplay(MainFormPresenter presenter, List <string> URLList)
 {
     this.presenter = presenter;
     InitializeComponent();
     listBox1.Items.Clear();
     foreach (string url in URLList)
     {
         listBox1.Items.Add(url);
     }
 }
Esempio n. 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            // Changes expanded state of preview panel to that in which Clipboarder last exited
            splitContainer2.Panel2Collapsed = Properties.Settings.Default.imagePreviewCollapsed;
            if (Properties.Settings.Default.imagePreviewCollapsed)
            {
                collapseExpandButton.Image = Properties.Resources.Clipboarder_Collapse_Arrow;
            }
            else
            {
                collapseExpandButton.Image = Properties.Resources.Clipboarder_Expand_Arrow;
            }

            this.toolStripStatusLabel3.Text
                = "v" + Assembly.GetExecutingAssembly().GetName().Version.Major + "."
                  + Assembly.GetExecutingAssembly().GetName().Version.Minor;

            presenter = new MainFormPresenter(this);
        }
 public AskPasswordDecrypt(MainFormPresenter mainForm, string hashedPassword)
 {
     InitializeComponent();
     this.mainFormPresenter = mainForm;
     this.hashedPassword    = hashedPassword;
 }
Esempio n. 4
0
 public AskPasswordEncrypt(MainFormPresenter mainForm)
 {
     this.mainFormPresenter = mainForm;
     InitializeComponent();
 }