示例#1
0
        private void ShowProfileDialog(string service, string operation)
        {
            FormProfileEditor form = new FormProfileEditor(this.profile, service, operation);

            form.ShowDialog();
            FormAction("Saving profile", profile.Save);
        }
示例#2
0
        private void ShowProfileDialog()
        {
            FormProfileEditor form = new FormProfileEditor(this.profile);

            form.ShowDialog();

            FormProfiles formProfiles = new FormProfiles();

            formProfiles.Profile = this.profile;
            formProfiles.ShowDialog();
            FormAction("Saving profile", profile.Save);
        }