Example #1
0
        private void addSendFileTile(SendFileService service)
        {
            SendFileTile tile = new SendFileTile();

            tile.Service = service;

            this.sendFlowLayout.Controls.Add(tile);
            Home_Resize(null, null);
        }
Example #2
0
        private void sendFileButton_Click(object sender, EventArgs e)
        {
            DialogResult result = sendFileDialog.ShowDialog(this);

            if (result == DialogResult.OK)
            {
                String          filePath = sendFileDialog.FileName;
                SendFileService service  = new SendFileService(filePath);
                addSendFileTile(service);
            }
        }