Esempio n. 1
0
        private void btnListAll_Click(object sender, EventArgs e)
        {
            if (!ValidarCampos())
            {
                return;
            }

            BeginProcess(sender);

            tsLabel.Text = "Starting processing...";
            this.Refresh();

            RepoBusiness gb = new RepoBusiness(txtPasta.Text, 0);

            gb.ListAll();

            MyReg.Write("PastaVerifica", txtPasta.Text);

            if (chkSendByEmail.Checked)
            {
                SendToEmail("All Repositories List");
            }

            EndProcess(sender);
        }
Esempio n. 2
0
        private void desbloquearToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //BeginProcess();

            var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString());

            rb.IgnoreCheck(false);

            //EndProcess();
        }
Esempio n. 3
0
        private void lbRepo_DoubleClick(object sender, EventArgs e)
        {
            if (lbLog.SelectedIndex == -1)
            {
                return;
            }

            var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString());

            rb.RunGitBash();
        }
Esempio n. 4
0
        private void btnListBlocked_Click(object sender, EventArgs e)
        {
            if (!ValidarCampos())
            {
                return;
            }

            BeginProcess(sender);

            tsLabel.Text = "Starting processing...";
            this.Refresh();

            RepoBusiness gb = new RepoBusiness(txtPasta.Text, 0);

            gb.ListBlocked();

            MyReg.Write("PastaVerifica", txtPasta.Text);

            EndProcess(sender);
        }
Esempio n. 5
0
        private void codeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString());

            rb.Code();
        }
Esempio n. 6
0
        private void abrirNoExplorerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString());

            rb.OpenExplorer();
        }