public Form_Remote_AddRemote(CRemoteControl Parent)
 {
     InitializeComponent();
     m_Parent = Parent as CRemoteControl;
     _objGitMgr=m_Parent.m_objGitMgr;
     _szWorkingdir = m_Parent.m_szWorkingDir;
     _bIsAddRemoteRepo = false;
 }
 public Form_Remote_DelRemoteBranch(CRemoteControl Parent)
 {
     InitializeComponent();
     m_Parent = Parent as CRemoteControl;
     _objGitMgr = m_Parent.m_objGitMgr;
     _szWorkingdir = m_Parent.m_szWorkingDir;
     _bIsUpLoaded = false;
     _szTargetRemoteRepo = string.Empty;
 }
 public Form_Remote_AddTracking(CRemoteControl Parent)
 {
     InitializeComponent();
     m_Parent = Parent as CRemoteControl;
     _objGitMgr = m_Parent.m_objGitMgr;
     _szWorkingdir = m_Parent.m_szWorkingDir;
     _bIsRemoveRemoteRepo = false;
     _szTargetRemoteRepo = string.Empty;
     _szTargetRemoteBranch = string.Empty;
 }
 public Form_Remote_EditRemote(CRemoteControl ParentDlg)
 {
     InitializeComponent();
     m_Parent = ParentDlg as CRemoteControl;
     _objGitMgr = m_Parent.m_objGitMgr;
     _szWorkingdir = m_Parent.m_szWorkingDir;
     _bIsEditRemoteRepo = false;
     _szTargetRemoteRepo = string.Empty;
     _szOldFetchURL= string.Empty;
     _szOldPushURL= string.Empty;
 }
        public Form_Remote_PullBranch(CRemoteControl Parent)
        {
            InitializeComponent();
            m_Parent = Parent as CRemoteControl;
            _objGitMgr = m_Parent.m_objGitMgr;
            _szWorkingdir = m_Parent.m_szWorkingDir;
            _bIsPulled = false;

            _szTargetRemoteRepo = string.Empty;
            _szRemoteBranch = string.Empty;
            _szLocalBranch = string.Empty;
            _szRemoteURL = string.Empty;

            _bIsStashed = false;
            _bIsSwitchBranch = false;
            _szOriginBranch = Parent.m_oRemoteInfo.m_CurentBranch;

            ResolveProcessAbort = new EventHandler(ManualResolveProcessExit);
            syncResolveContext = SynchronizationContext.Current;
        }