Пример #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     try
     {
         var lastConStr = ControlMod.GetRegistryValue(ControlMod.cntConStr, "").AsString();
         if (lastConStr.NotEmpty())
         {
             OracleHelper.constr = lastConStr;
         }
     }
     catch (Exception ex)
     {
         ex.PromptMsg();
     }
 }
Пример #2
0
 public MainForm()
 {
     InitializeComponent();
     _crmUrl = ControlMod.GetRegistryValue(ControlMod.cntConStr) as string;
 }