Exemplo n.º 1
0
 private void groupMapping_DialogLauncherClick(object sender, RibbonControlEventArgs e)
 {
     using (Forms.FormOptions fo = new Forms.FormOptions())
     {
         if (fo.ShowDialog() == DialogResult.OK)
         {
             ThisAddIn.UpdateSettings(fo.NewOptions);
         }
     }
 }
 public void buttonXmlOptions_Click(Office.IRibbonControl control)
 {
     using (Forms.FormOptions fo = new Forms.FormOptions())
     {
         if (fo.ShowDialog() == DialogResult.OK)
         {
             ThisAddIn.UpdateSettings(fo.NewOptions);
         }
     }
 }
 private void buttonXmlOptions_Click(object sender, RibbonControlEventArgs e)
 {
     using (Forms.FormOptions fo = new Forms.FormOptions())
     {
         if (fo.ShowDialog() == DialogResult.OK)
         {
             ThisAddIn.UpdateSettings(fo.NewOptions);
         }
     }
 }
 private void buttonXmlOptions_Click(object sender, RibbonControlEventArgs e)
 {
     using (Forms.FormOptions fo = new Forms.FormOptions())
     {
         if (fo.ShowDialog() == DialogResult.OK)
         {
             ThisAddIn.UpdateSettings(fo.NewOptions);
         }
     }
 }
Exemplo n.º 5
0
 public void buttonXmlOptions_Click(Office.IRibbonControl control)
 {
     using (Forms.FormOptions fo = new Forms.FormOptions())
     {
         if (fo.ShowDialog() == DialogResult.OK)
         {
             ThisAddIn.UpdateSettings(fo.NewOptions);
         }
     }
 }