예제 #1
0
        protected virtual void OnButton393Clicked(object sender, System.EventArgs e)
        {
            if (KeyFileOutput.Sensitive)
            {
                // hit cancel button
                button393.Label         = "Change";
                KeyFileOutput.Sensitive = false;
            }
            else
            {
                // cancel cert file field
                button394.Label          = "Change";
                CertFileOutput.Sensitive = false;

                KeyFileOutput.Sensitive = true;
                button393.Label         = "Cancel";
                buttonOk.Sensitive      = true;
            }
            SSLMaker.fileBrowser dlgfb = new SSLMaker.fileBrowser();
            dlgfb.Show();
        }
예제 #2
0
        protected virtual void OnButton393Clicked(object sender, System.EventArgs e)
        {
            if(KeyFileOutput.Sensitive)
            {
                // hit cancel button
                button393.Label="Change";
                KeyFileOutput.Sensitive=false;
            }
            else
            {
                // cancel cert file field
                button394.Label="Change";
                CertFileOutput.Sensitive=false;

                KeyFileOutput.Sensitive=true;
                button393.Label="Cancel";
                buttonOk.Sensitive=true;
            }
            SSLMaker.fileBrowser dlgfb = new SSLMaker.fileBrowser();
            dlgfb.Show();
        }