private void reviewbtn_Click(object sender, RoutedEventArgs e)
        {
            var scriptWriter = new ScriptWriter();
            scriptWriter.GetLanguageType(out _isVb, out _isJava, out _isCSharp, out _isRuby);
            Visibility = Visibility.Hidden;
            var win = Window.GetWindow(this);
            var page = (HomePage)(win);
            if (page != null) page.Generatelbl.FontWeight = FontWeights.Normal;
            var homePage1 = (HomePage)(win);
            if (homePage1 != null) homePage1.Reviewpanelbl.FontWeight = FontWeights.Bold;

            if (_isVb)
            {
                var  reviewPaneVb = new ReviewPaneVb();
                reviewPaneVb.ClipboardOrConnectionorBrowseIsChecked(false, false, true);
                reviewPaneVb.CreateReviewPane(_namespaceName);
                var homePage = (HomePage)(win);
                if (homePage != null) homePage.ContentArea.Content = reviewPaneVb;
            }
            else
            {
                var reviewPaneCsharp = new ReviewPaneCSharp();
                reviewPaneCsharp.ClipboardOrConnectionorBrowseIsChecked(false, true, false);
                reviewPaneCsharp.CreateReviewPane(_namespaceName);
                var homePage = (HomePage)(win);
                if (homePage != null) homePage.ContentArea.Content = reviewPaneCsharp;
            }
        }
 public BrowseInputScript()
 {
     bool isRuby;
     bool isCSharp;
     bool isVb;
     bool isJava;
     InitializeComponent();
     var scriptWriter = new ScriptWriter();
     scriptWriter.GetLanguageType(out isVb, out isJava, out isCSharp, out isRuby);
 }
 public ColumnFamilyList()
 {
     bool isRuby;
     bool isCSharp;
     bool isVb;
     bool isJava;
     InitializeComponent();
     PocoList = ScriptReader.FetchExportList();
     if (PocoList.Count > 0)
         PopulateKeyspacenames();
     var scriptWriter = new ScriptWriter();
     scriptWriter.GetLanguageType(out isVb, out isJava, out isCSharp, out isRuby);
 }
        public ClipboardScript()
        {
            bool isJava;
            bool isCSharp;
            bool isRuby;
            InitializeComponent();
            TxtCliDefinition.Text =

            "CREATE COLUMN FAMILY account \n "+
               " WITH comparator = UTF8Type \n" +
                "AND key_validation_class=UTF8Type \n" +
                " AND column_metadata = [ \n " +
               " {column_name: title, validation_class: UTF8Type} \n "+
                "{column_name: created, validation_class: DateType} \n "+
                "{column_name: use_namespace, validation_class: BooleanType} \n "+
                "]; ";
            var scriptWriter = new ScriptWriter();
            scriptWriter.GetLanguageType(out _isVb, out isJava, out isCSharp, out isRuby);
        }