public void TcZhuAsv() { int num; int num3; object obj; try { IL_01: ProjectData.ClearProjectError(); num = -2; IL_09: int num2 = 2; Document mdiActiveDocument = Application.DocumentManager.MdiActiveDocument; IL_16: num2 = 3; Database database = mdiActiveDocument.Database; IL_1F: num2 = 4; TypedValue[] array = new TypedValue[1]; IL_29: num2 = 5; Array array2 = array; TypedValue typedValue; typedValue..ctor(0, "LWPOLYLINE,TEXT"); array2.SetValue(typedValue, 0); IL_47: num2 = 6; SelectionFilter selectionFilter = new SelectionFilter(array); IL_52: num2 = 7; PromptSelectionResult selection = mdiActiveDocument.Editor.GetSelection(selectionFilter); IL_63: num2 = 8; if (selection.Status != 5100) { goto IL_CD; } IL_75: num2 = 9; TcAsv_Frm tcAsv_Frm = new TcAsv_Frm(); IL_7E: num2 = 10; Application.ShowModelessDialog(tcAsv_Frm); IL_87: num2 = 11; tcAsv_Frm.QZ_Collection = selection.Value; IL_97: num2 = 12; tcAsv_Frm.TextBox9.Text = Conversions.ToString(35); IL_AC: num2 = 13; tcAsv_Frm.RadioButton2.Checked = true; IL_BB: num2 = 14; tcAsv_Frm.FenXi_Z(); IL_C4: num2 = 15; tcAsv_Frm.Asv(); IL_CD: num2 = 17; if (Information.Err().Number <= 0) { } IL_DF: goto IL_185; IL_E4: goto IL_190; IL_E9: num3 = num2; if (num <= -2) { goto IL_101; } @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num); goto IL_15F; IL_101: int num4 = num3 + 1; num3 = 0; @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num4); IL_15F: goto IL_190; } catch when(endfilter(obj is Exception & num != 0 & num3 == 0)) { Exception ex = (Exception)obj2; goto IL_E9; } IL_185: if (num3 != 0) { ProjectData.ClearProjectError(); } return; IL_190: throw ProjectData.CreateProjectError(-2146828237); }
public void TcQiangAsv1() { int num; int num4; object obj; try { IL_01: ProjectData.ClearProjectError(); num = -2; IL_09: int num2 = 2; Document mdiActiveDocument = Application.DocumentManager.MdiActiveDocument; IL_16: num2 = 3; Database database = mdiActiveDocument.Database; IL_1F: num2 = 4; TypedValue[] array = new TypedValue[1]; IL_29: num2 = 5; Array array2 = array; TypedValue typedValue; typedValue..ctor(0, "LWPOLYLINE,TEXT"); array2.SetValue(typedValue, 0); IL_47: num2 = 6; SelectionFilter selectionFilter = new SelectionFilter(array); IL_51: num2 = 7; PromptSelectionResult selection = mdiActiveDocument.Editor.GetSelection(selectionFilter); IL_61: num2 = 8; if (selection.Status != 5100) { goto IL_D2; } IL_73: num2 = 9; TcAsv_Frm tcAsv_Frm = new TcAsv_Frm(); IL_7D: num2 = 10; Application.ShowModelessDialog(tcAsv_Frm); IL_87: num2 = 11; tcAsv_Frm.QZ_Collection = selection.Value; IL_98: num2 = 12; tcAsv_Frm.TextBox9.Text = Conversions.ToString(23); IL_AE: num2 = 13; tcAsv_Frm.RadioButton1.Checked = true; IL_BE: num2 = 14; tcAsv_Frm.FenXi_Q(); IL_C8: num2 = 15; tcAsv_Frm.Asv(); IL_D2: num2 = 17; if (Information.Err().Number <= 0) { goto IL_F9; } IL_E4: num2 = 18; Interaction.MsgBox(Information.Err().Description, MsgBoxStyle.OkOnly, null); IL_F9: goto IL_1A4; IL_FE: int num3 = num4 + 1; num4 = 0; @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num3); IL_15E: goto IL_199; IL_160: num4 = num2; if (num <= -2) { goto IL_FE; } @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num); IL_176 :; } catch when(endfilter(obj is Exception & num != 0 & num4 == 0)) { Exception ex = (Exception)obj2; goto IL_160; } IL_199: throw ProjectData.CreateProjectError(-2146828237); IL_1A4: if (num4 != 0) { ProjectData.ClearProjectError(); } }
public void TcAsv() { TcAsv_Frm tcAsv_Frm = new TcAsv_Frm(); Application.ShowModelessDialog(tcAsv_Frm); }