//Simpan private void simpleButton1_Click(object sender, EventArgs e) { try { DocDefault.UpdateDefaultLayout(dd.DocId, dd.DefaultBrowseLayoutId, dd.DefaultPrintLayoutId, checkEdit1.Checked, radioGroup1.SelectedIndex == 0); DefaultUsePrintPreview = radioGroup1.SelectedIndex == 0; DefaultCetakKetikaSimpan = checkEdit1.Checked; Close(); } catch (Exception ex) { XtraMessageBox.Show(ex.Message, "Error Update Default Pencetakan", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
//Simpan private void simpleButton1_Click(object sender, EventArgs e) { UsePreview = radioGroup1.SelectedIndex == 0; DocDefault.UpdateDefaultLayout(ReportName, comboBoxEdit1.Text, string.Empty, UsePreview); }