Beispiel #1
0
 public ImportSigScan(TransFactor t)
 {
     this.tf         = new TransFactor();
     this.components = null;
     this.InitializeComponent();
     base.StartPosition = FormStartPosition.CenterScreen;
     this.tf            = t;
 }
 public GeneForm9999(TransFactor t)
 {
     this.components = null;
     this.dt = new DataTable("uni");
     this.InitializeComponent();
     base.StartPosition = FormStartPosition.CenterScreen;
     this.tf = t;
 }
 public ImportSigScan(TransFactor t)
 {
     this.tf = new TransFactor();
     this.components = null;
     this.InitializeComponent();
     base.StartPosition = FormStartPosition.CenterScreen;
     this.tf = t;
 }
Beispiel #4
0
 public GeneForm9999(TransFactor t)
 {
     this.components = null;
     this.dt         = new DataTable("uni");
     this.InitializeComponent();
     base.StartPosition = FormStartPosition.CenterScreen;
     this.tf            = t;
 }
 public ImageViewForm(TransFactor transfact)
 {
     this.imgList = new ImageList();
     this.imgF = new ImageOptionForm();
     this.tf = new TransFactor();
     this.wkFac = new DataTable();
     this.avFac = new DataTable();
     this.comFac = new DataTable();
     this.wkSeq = new DataTable();
     this.avSeq = new DataTable();
     this.seqMAXLen = 0;
     this.zoom = new Rectangle(-1, -1, 0, 0);
     this.sortCol = 0;
     try
     {
         this.InitializeComponent();
         base.StartPosition = FormStartPosition.CenterScreen;
         if (((transfact.Factor.Rows.Count > 0) && (transfact.Sequence.Rows.Count > 0)) && (transfact.FactorPosition.Rows.Count > 0))
         {
             this.myImg = new DrawImageClass(this.imgF);
             this.tf = transfact;
             this.init();
         }
         else
         {
             if (transfact.Factor.Rows.Count == 0)
             {
                 MessageBox.Show("Sites not loaded");
             }
             if (transfact.Sequence.Rows.Count == 0)
             {
                 MessageBox.Show("Sequences not loaded");
             }
             if (transfact.FactorPosition.Rows.Count == 0)
             {
                 MessageBox.Show("Please run Analyze -> Search in Genes first.");
             }
             base.Close();
         }
     }
     catch (Exception exception1)
     {
         MessageBox.Show("Load Image Form Error: " + exception1.Message, "Error");
     }
 }