// Decompiled with JetBrains decompiler // Type: Autodesk.AutoCAD.ADMigrator.ExportDialog // Assembly: ADMigrator, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 1EA8663B-E949-4FAD-ABC5-280393847F56 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Virus.Win32.Sality.sil-906e49d7772808af1fb67511fd33b01c809079fddb77015425883ca9739cad33.exe using System; using System.ComponentModel; using System.Reflection; using System.Windows.Forms; namespace Autodesk.AutoCAD.ADMigrator { public class ExportDialog : Form { private bool m_includeNetworkedFiles = true; private MainForm parent; private IContainer components; private Button btnExport; private Button btnCancel; private Button btnHelp; private CheckBox cbIncNetFiles; private Label ExportBodyLabel; private BindingSource exportDialogBindingSource; public bool IncludeNetworkedFiles => this.m_includeNetworkedFiles; public ExportDialog(MainForm mf) { this.parent = mf; this.InitializeComponent(); } public Label BodyMessage => this.ExportBodyLabel; private void cbIncNetFiles_CheckedChanged(object sender, EventArgs e) => this.m_includeNetworkedFiles = this.cbIncNetFiles.Checked; private void btnHelp_Click(object sender, EventArgs e) { string location = Assembly.GetEntryAssembly().Location; string str = (MainForm.isACAD ? "acad" : "acadlt") + "_sig.chm"; string url = location.Substring(0, location.LastIndexOf("\\") + 1) + "help\\" + str; string parameter = "adExpCustSettings.htm"; if (MainForm.m_isVertMigration) this.parent.CallVerticalMigration("VerticalHelp", new object[3] { (object) this, (object) url, (object) parameter }); else Help.ShowHelp((Control) this, url, HelpNavigator.Topic, (object) parameter); } protected override void Dispose(bool disposing) { if (disposing && this.components != null) this.components.Dispose(); base.Dispose(disposing); } private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ExportDialog)); this.btnExport = new Button(); this.btnCancel = new Button(); this.btnHelp = new Button(); this.cbIncNetFiles = new CheckBox(); this.ExportBodyLabel = new Label(); this.exportDialogBindingSource = new BindingSource(this.components); ((ISupportInitialize) this.exportDialogBindingSource).BeginInit(); this.SuspendLayout(); componentResourceManager.ApplyResources((object) this.btnExport, "btnExport"); this.btnExport.DialogResult = DialogResult.OK; this.btnExport.Name = "btnExport"; this.btnExport.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources((object) this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources((object) this.btnHelp, "btnHelp"); this.btnHelp.Name = "btnHelp"; this.btnHelp.UseVisualStyleBackColor = true; this.btnHelp.Click += new EventHandler(this.btnHelp_Click); componentResourceManager.ApplyResources((object) this.cbIncNetFiles, "cbIncNetFiles"); this.cbIncNetFiles.Checked = true; this.cbIncNetFiles.CheckState = CheckState.Checked; this.cbIncNetFiles.Name = "cbIncNetFiles"; this.cbIncNetFiles.UseVisualStyleBackColor = true; this.cbIncNetFiles.CheckedChanged += new EventHandler(this.cbIncNetFiles_CheckedChanged); componentResourceManager.ApplyResources((object) this.ExportBodyLabel, "ExportBodyLabel"); this.ExportBodyLabel.Name = "ExportBodyLabel"; this.ExportBodyLabel.UseCompatibleTextRendering = true; this.exportDialogBindingSource.DataSource = (object) typeof (ExportDialog); componentResourceManager.ApplyResources((object) this, "$this"); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control) this.ExportBodyLabel); this.Controls.Add((Control) this.cbIncNetFiles); this.Controls.Add((Control) this.btnHelp); this.Controls.Add((Control) this.btnCancel); this.Controls.Add((Control) this.btnExport); this.FormBorderStyle = FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof (ExportDialog); this.SizeGripStyle = SizeGripStyle.Hide; ((ISupportInitialize) this.exportDialogBindingSource).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } } }