예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnQuickDailyAnna_Click(object sender, EventArgs e)
 {
     using (DailyAnnadanam formOptions = new DailyAnnadanam(ConfigurationManager.AppSettings["PrinterName"].ToString(), Convert.ToBoolean(ConfigurationManager.AppSettings["ShowPrintPreview"])))
     {
         // passing this in ShowDialog will set the .Owner
         // property of the child form
         formOptions.ShowDialog(this);
         formOptions.Dispose();
         //Added the below to load any gothrams added in Daily Annadanam.
         loadGothramAutoComplete();
     }
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnQuickDailyAnna_Click(object sender, EventArgs e)
 {
     using (DailyAnnadanam formOptions = new DailyAnnadanam())
     {
         // passing this in ShowDialog will set the .Owner
         // property of the child form
         formOptions.ShowDialog(this);
         formOptions.Dispose();
         //Added the below to load any gothrams added in Daily Annadanam.
         loadGothramAutoComplete();
     }
 }