public virtual void BindData(ScreenObjectGeneratorOptions options)
 {
     ignoreLabels.DataBindings.Add("Checked", options, CodePath.Get(CodePath.New <ScreenObjectGeneratorOptions>().IgnoreLabels), false,
                                   DataSourceUpdateMode.OnPropertyChanged);
     namespaceText.DataBindings.Add("Text", options, CodePath.Get(CodePath.New <ScreenObjectGeneratorOptions>().Namespace), false,
                                    DataSourceUpdateMode.OnPropertyChanged);
 }
Exemple #2
0
        static TreeNodeClickedEvent()
        {
            CodePath.New <TreeNode>().Collapse();
            collapseEventName = CodePath.Last;

            CodePath.New <TreeNode>().Expand();
            expandEventName = CodePath.Last;
        }
        static ListViewEvent()
        {
            CodePath.New <ListView>().Select(0);
            select = CodePath.Last;

            CodePath.New <ListView>().TryUnSelectAll();
            tryUnSelectAll = CodePath.Last;
        }
        public virtual void BindData(Applications applicationsWithWindow)
        {
            applications.DataSource    = applicationsWithWindow;
            applications.DisplayMember = CodePath.Get(CodePath.New <Application>().Name);

            windows.DisplayMember    = CodePath.Get(CodePath.New <DummyWindow>().Title);
            windowTabs.DisplayMember = CodePath.Get(CodePath.New <Tab>().PrimaryIdentification);
        }
 public virtual void BindData(RecordingOptions recordingOptions)
 {
     core.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().Core), false,
                           DataSourceUpdateMode.OnPropertyChanged);
     screenRepository.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().ScreenRepository), false,
                                       DataSourceUpdateMode.OnPropertyChanged);
     bulkText.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().BulkText), false,
                               DataSourceUpdateMode.OnPropertyChanged);
 }
Exemple #6
0
 static TabEvent()
 {
     CodePath.New <Tab>().SelectTabPage(null);
     action = CodePath.Last;
 }
 protected override string ActionName(EventOption eventOption)
 {
     CodePath.New <RadioButton>().Select();
     return(CodePath.Last);
 }
 static ListControlEvent()
 {
     CodePath.New <ComboBox>().Select(null);
     actionName = CodePath.Last;
 }
 static UIItemClickEvent()
 {
     CodePath.New <UIItem>().Click();
     actionName = CodePath.Last;
 }
 static TreeNodeSelectEvent()
 {
     CodePath.New <TreeNode>().Select();
     selectEventName = CodePath.Last;
 }
 static TextBoxEvent()
 {
     textAction = CodePath.Get(CodePath.New <TextBox>().Text);
     CodePath.New <TextBox>().BulkText = null;
     bulkTextAction = CodePath.Last;
 }