Example #1
0
        private void setupProgileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Data._mode = "Setup";
            SetupProfileForm Spf = new SetupProfileForm();

            Spf.Show();
        }
Example #2
0
        private void editProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Data._mode = "Edit";
            SetupProfileForm Spf = new SetupProfileForm();

            Spf.ProfileNameBox.Text    = Data.SettingName;
            Spf.ProfilePanelLabel.Text = " Edit Profile";

            Spf.Show();
            cascadelist();
            ProfileNameBox.ResetText();
            UserNameBox.Text   = "";
            ServerNameBox.Text = "";
        }
Example #3
0
        private void editProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(Data.SettingName))
            {
                MessageBox.Show("Please first select a profile to Edit");
                return;
            }
            else
            {
                Data._mode = "Edit";
            }
            SetupProfileForm Spf = new SetupProfileForm();

            Spf.ProfileNameBox.Text = Data.SettingName;

            Spf.ProfilePanelLabel.Text = " Edit Profile";

            Spf.Show();
            cascadelist();
            ProfileNameBox.ResetText();
            UserNameBox.Text   = "";
            ServerNameBox.Text = "";
        }