private void btnGo_Click(object sender, EventArgs e)
        {
            object command = cbCmdList.SelectedItem;

            if (command == null) //If the combo box was empty
            {
                MessageBox.Show("Please select an SVN command from the pull down menu.");
                return;
            }
            switch (command.ToString())
            {
            case "svn checkout":     //Open the svn checkout box
                frmCheckout checkOutFrm = new frmCheckout();
                checkOutFrm.ShowDialog();
                break;

            default:     //User probably typed something invalid
                MessageBox.Show("Please select a valid SVN command from the pull down menu.");
                break;
            }
        }
Exemple #2
0
        private void btnGo_Click(object sender, EventArgs e)
        {
            object command = cbCmdList.SelectedItem;

            if (command == null)//Boş ise
            {
                MessageBox.Show("svn komutu seç");
                return;
            }
            switch (command.ToString())
            {
            case "svn checkout":
                frmCheckout checkOutFrm = new frmCheckout();
                checkOutFrm.ShowDialog();


                break;

            case "svn commit":
                frmCommit commitFrm = new frmCommit();
                commitFrm.ShowDialog();
                break;

            case "svn proplist":
                frmPropList propListFrm = new frmPropList();
                propListFrm.ShowDialog();
                break;

            case "svn propset":
                frmPropSet setPropSet = new frmPropSet();
                setPropSet.ShowDialog();
                break;

            default:
                MessageBox.Show("svn komutu sec");
                break;
            }
        }