Example #1
0
        //When the Upload button is clicked
        private void Upload_Button_Click(object sender, RoutedEventArgs e)
        {
            RNAString = "";
            DialogWindow dw = new DialogWindow(this);

            dw.ShowDialog();
            dw.Close();
            //Send RNAString to Main
            if (!RNAString.Equals(null))
            {
                m = new Main(RNAString, this);
            }
        }
Example #2
0
        //When the Upload button is clicked
        private void Upload_Button_Click(object sender, RoutedEventArgs e)
        {
            DialogWindow dw = new DialogWindow(this);

            dw.ShowDialog();
            dw.Close();
            //Send RNAString to Main
            //The larger the string, the smaller the radius
            RADIUS = 20;
            if (rnaString != "")
            {
                m = new Main(rnaString, this, RADIUS);
            }
        }