public void one() { try { _CONNECTION c = new _CONNECTION(); REINFORCE_command program = new REINFORCE_command(ref c); try { program.run(); c.ed.WriteMessage("\n[DONE]"); } catch (DMTException de) { c.ed.WriteMessage("\n" + de.Message); } catch (Exception ex) { c.ed.WriteMessage("\n[ERROR] Unknown Exception"); c.ed.WriteMessage("\n[ERROR] " + ex.Message); c.ed.WriteMessage("\n[ERROR] " + ex.TargetSite); } finally { c.close(); } } catch { _SWF.MessageBox.Show("\n[ERROR] Connection to BricsCad/AutoCad failed."); } }
public void info() { try { _CONNECTION c = new _CONNECTION(); try { string version = String.Format("{0}", System.IO.File.GetLastWriteTime(System.Reflection.Assembly.GetExecutingAssembly().Location).ToShortDateString()); c.ed.WriteMessage("\nDMT armeerimis programmi versioon: " + version + "\n"); c.ed.WriteMessage("\n[DONE]"); } catch (Exception ex) { c.ed.WriteMessage("\n[ERROR] Unknown Exception"); c.ed.WriteMessage("\n[ERROR] " + ex.Message); c.ed.WriteMessage("\n[ERROR] " + ex.TargetSite); } finally { c.close(); } } catch { _SWF.MessageBox.Show("\n[ERROR] Connection to BricsCad/AutoCad failed."); } }
public CSV_command(ref _CONNECTION c) { _c = c; }
public DIMLAYER_command(ref _CONNECTION c) { _c = c; }
public FINDREPLACE_command(ref _CONNECTION c) { _c = c; }
public VIIDE_command(ref _CONNECTION c) { _c = c; }
public DIMCOLOR_command(ref _CONNECTION c) { _c = c; }
public CENTER_command(ref _CONNECTION c) { _c = c; }
public TABLE_command(ref _CONNECTION c) { _c = c; }
public _SETUP(ref _CONNECTION c) { _c = c; }
public REINFORCE_command(ref _CONNECTION c) { _c = c; }