Beispiel #1
0
        private void txtAssemblyInfo_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            Type[] filterTypes = new Type[] { typeof(FormBase), typeof(UC_UserControlBase) };

            FRM_AssemblyExplorer assemblyExplorer = new FRM_AssemblyExplorer(filterTypes);

            if (assemblyExplorer.ShowDialog() == DialogResult.OK)
            {
                txtAssemblyInfo.Text = assemblyExplorer.SelectedForm.AssemblyInfo;
                //((Button) editingObject).AssemblyInfo = assemblyExplorer.SelectedForm.AssemblyInfo;
            }
        }
Beispiel #2
0
 private void btnAssemblyinfo_Click(object sender, EventArgs e)
 {
     using (FRM_AssemblyExplorer frm = new FRM_AssemblyExplorer(AssemblyBaseType))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             if (frm.SelectedPelsoft != null)
             {
                 txtAssembly.Text = frm.SelectedPelsoft.AssemblyInfo;
             }
         }
     }
 }