Exemplo n.º 1
0
 public TransparentFrm(AttachedWindow attachedWindow)
 {
     InitializeComponent();
     DeleteTempImages();
     _attachedWindow     = attachedWindow;
     _favouriteLocation  = new FavouriteLocation(this, _attachedWindow);
     backGroundImageFile = RuntimeHelper.MapToCurrentLocation(backGroundImageFile);
 }
Exemplo n.º 2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            this.Visible = false;

            Thread.Sleep(TimeSpan.FromSeconds(int.Parse(textBox1.Text)));

            if (!checkBox1.Checked || !File.Exists(filename))
            {
                ServerDLL.ScreenCapture.CaptureScreenToFile(filename, ImageFormat.Jpeg);
            }
            var attachedWindow = new AttachedWindow((cmbProcess.SelectedItem as ComboboxItem).Value.ToString());

            attachedWindow.ShowAttachWindow();
            TransparentFrm frm = new TransparentFrm(attachedWindow);

            frm.Show();
        }
Exemplo n.º 3
0
 public FavouriteLocation(Form transparentForm, AttachedWindow attachedWindow)
 {
     _transparentForm = transparentForm;
     _attachedWindow  = attachedWindow;
 }
Exemplo n.º 4
0
 public Transpainter(Form form, AttachedWindow attachedWindow)
 {
     _form           = form;
     _attachedWindow = attachedWindow;
 }